[PATCH 08/12] superblock: introduce per-sb cache shrinker infrastructure
Christoph Hellwig
hch at infradead.org
Sat Jun 4 09:08:48 CDT 2011
On Sat, Jun 04, 2011 at 11:52:12AM +1000, Dave Chinner wrote:
> I wanted to put it early on in the unmount path so that the shrinker
> was guaranteed to be gone before evict_inodes() was called. That
> would mean that it is obviously safe to remove the iprune_sem
> serialisation in that function.
The iprune_sem removal is fine as soon as you have a per-sb shrinker
for the inodes which keeps an active reference on the superblock until
all the inodes are evicted.
More information about the xfs
mailing list