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)
commit4b8fdfecd84528e044a6ca32242de641b203995b
treed2549097d32b5d297218891d1f55910633a398e7
parentd4c27348751bffeb57d87fc631f76716e3036c6d
xfs: introduce xfs_bulkstat_ichunk_ra

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
This page took 0.024465 seconds and 5 git commands to generate.