[PATCH 3/4] xfs: replace i_pin_wait with a bit waitqueue

Christoph Hellwig hch at infradead.org
Thu Oct 27 11:42:29 CDT 2011


On Wed, Oct 26, 2011 at 04:07:33PM -0500, Alex Elder wrote:
> > +	xfs_iunpin(ip);
> > +
> 
> This initially struck me as unsafe or something,
> assuming the inode was pinned.  But I was thinking
> of it more like an unlock request, which it is not.
> It's more like unplugging something so the inode
> will eventually get unpinned.  (Just thinking aloud
> here, nevermind me...)

After the next series I am about to post there will be just one caller of
xfs_iunpin left.  We can probably simply fold it at that point.




More information about the xfs mailing list