xfs: simplify inode reclaim tagging interfaces
authorDave Chinner <dchinner@redhat.com>
Wed, 18 May 2016 04:11:41 +0000 (14:11 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 18 May 2016 04:11:41 +0000 (14:11 +1000)
commit545c0889d26d47e1139c527002eb131343d13b63
tree1ee76da796b161893b1228bc4a6fc136f3bc9c12
parent194293631d009254348f43710a7673bbb84a4172
xfs: simplify inode reclaim tagging interfaces

Inode radix tree tagging for reclaim passes a lot of unnecessary
variables around. Over time the xfs-perag has grown a xfs_mount
backpointer, and an internal agno so we don't need to pass other
variables into the tagging functions to supply this information.

Rework the functions to pass the minimal variable set required
and simplify the internal logic and flow.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_icache.c