summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_bmap.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2010-07-20 00:07:02 +0200
committerDave Chinner <david@fromorbit.com>2010-07-20 00:07:02 +0200
commit70e60ce71516c3a9e882edb70a09f696a05961db (patch)
tree324a400f2d21d071f6c462edbb6efa789125f6f1 /fs/xfs/xfs_bmap.c
parentmm: add context argument to shrinker callback (diff)
downloadlinux-70e60ce71516c3a9e882edb70a09f696a05961db.tar.xz
linux-70e60ce71516c3a9e882edb70a09f696a05961db.zip
xfs: convert inode shrinker to per-filesystem contexts
Now the shrinker passes us a context, wire up a shrinker context per filesystem. This allows us to remove the global mount list and the locking problems that introduced. It also means that a shrinker call does not need to traverse clean filesystems before finding a filesystem with reclaimable inodes. This significantly reduces scanning overhead when lots of filesystems are present. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_bmap.c')
0 files changed, 0 insertions, 0 deletions