summaryrefslogtreecommitdiffstats
path: root/fs/afs/cmservice.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2014-11-07 08:33:52 +1100
committerDave Chinner <david@fromorbit.com>2014-11-07 08:33:52 +1100
commit002758992693ae63c04122603ea9261a0a58d728 (patch)
treea753dde5e9118cc908566a3aa37c9b3620a24a79 /fs/afs/cmservice.c
parentfebe3cbe38b0bc0a925906dc90e8d59048851f87 (diff)
downloadlinux-002758992693ae63c04122603ea9261a0a58d728.tar.gz
linux-002758992693ae63c04122603ea9261a0a58d728.tar.bz2
linux-002758992693ae63c04122603ea9261a0a58d728.zip
xfs: track bulkstat progress by agino
The bulkstat main loop progress is tracked by the "lastino" variable, which is a full 64 bit inode. However, the loop actually works on agno/agino pairs, and so there's a significant disconnect between the rest of the loop and the main cursor. Convert this to use the agino, and pass the agino into the chunk formatting function and convert it too. This gets rid of the inconsistency in the loop processing, and finally makes it simple for us to skip inodes at any point in the loop simply by incrementing the agino cursor. cc: <stable@vger.kernel.org> # 3.17 Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/afs/cmservice.c')
0 files changed, 0 insertions, 0 deletions