[PATCH 10/10] xfs: factor buffer reading from xfs_dir2_leaf_getdents

Mark Tinguely tinguely at sgi.com
Fri May 4 07:42:27 CDT 2012


On 04/24/12 01:33, Dave Chinner wrote:
> From: Dave Chinner<dchinner at redhat.com>
>
> The buffer reading code in xfs_dir2_leaf_getdents is complex and difficult to
> follow due to the readahead and all the context is carries. it is also badly
> indented and so difficult to read. Factor it out into a separate function to
> make it easier to understand and optimise in future patches.
>
> Signed-off-by: Dave Chinner<dchinner at redhat.com>
> ---

Looks good.


Reviewed-by: Mark Tinguely <tinguely at sgi.com>



More information about the xfs mailing list