| To: | Christoph Hellwig <hch@xxxxxx> |
|---|---|
| Subject: | Re: [PATCH 3/4] xfs: make xfs_inode_set_eofblocks_tag cheaper for the common case |
| From: | Brian Foster <bfoster@xxxxxxxxxx> |
| Date: | Fri, 26 Aug 2016 12:02:09 -0400 |
| Cc: | xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20160826142616.GA21535@xxxxxx> |
| References: | <1471816273-28940-1-git-send-email-hch@xxxxxx> <1471816273-28940-4-git-send-email-hch@xxxxxx> <20160825123808.GC25041@xxxxxxxxxxxxxxx> <20160826142616.GA21535@xxxxxx> |
| User-agent: | Mutt/1.6.2 (2016-07-01) |
On Fri, Aug 26, 2016 at 04:26:16PM +0200, Christoph Hellwig wrote: > On Thu, Aug 25, 2016 at 08:38:09AM -0400, Brian Foster wrote: > > I'm guessing the lockless check is intentional, but is that really > > necessary? E.g., it doesn't seem like using ->i_flags_lock > > unconditionally should affect performance in the way the AG lock or > > radix tree work does, particularly since we're already holding > > IOLOCK_EXCL in the current implementation. I could be wrong, but FWIW, > > we do already have xfs_iflags_test_and_set() sitting around as well... > > I don't think taking it should be too bad, but given the ops ordering > it also seems entirely pointless to even take it. > Then why are we taking it? I assumed it at least served as a memory barrier... Brian > _______________________________________________ > xfs mailing list > xfs@xxxxxxxxxxx > http://oss.sgi.com/mailman/listinfo/xfs |
| Previous by Date: | Re: [PATCH 4/4] xfs: rewrite and optimize the delalloc write path, Christoph Hellwig |
|---|---|
| Next by Date: | Re: [PATCH 4/4] xfs: rewrite and optimize the delalloc write path, Brian Foster |
| Previous by Thread: | Re: [PATCH 3/4] xfs: make xfs_inode_set_eofblocks_tag cheaper for the common case, Christoph Hellwig |
| Next by Thread: | Re: [PATCH 3/4] xfs: make xfs_inode_set_eofblocks_tag cheaper for the common case, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |