Re: [PATCH 16/30] db: rewrite bbmap to use xfs_buf_map

Christoph Hellwig
2013-10-31T15:06:26Z

On Wed, Oct 30, 2013 at 03:31:07PM +1100, Dave Chinner wrote:
> From: Dave Chinner <dchinner@redhat.com>
>
> Use the libxfs struct xfs_buf_map for recording the extent layout of
> discontiguous buffers and convert the read/write to decode them
> directory and use read_buf/write_buf to do the extent IO. This
> brings the physical xfs_db IO code to be very close to the model
> that libxfs uses.

Looks reasonable.

Reviewed-by: Christoph Hellwig <hch@lst.de>