[PATCH 3/4] xfs: make xfs_inode_set_eofblocks_tag cheaper for the common case

Christoph Hellwig hch at lst.de
Tue Aug 30 09:40:06 CDT 2016


On Fri, Aug 26, 2016 at 12:02:09PM -0400, Brian Foster wrote:
> > 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...

I meant to take it for that early check, not in general.

I guess this is another hint we should try to look into using proper
atomic bitops here..



More information about the xfs mailing list