xfs: introduce xfs_bulkstat_ichunk_ra
authorJie Liu <jeff.liu@oracle.com>
Thu, 24 Jul 2014 08:41:18 +0000 (18:41 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 24 Jul 2014 08:41:18 +0000 (18:41 +1000)
From: Jie Liu <jeff.liu@oracle.com>

Introduce xfs_bulkstat_ichunk_ra() to loop over all clusters in the
next inode chunk, then performs readahead if there are any allocated
inodes in that cluster.

Refactor xfs_bulkstat() with it.

Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_itable.c

Simple merge