Re: [PATCH 3/3] block: loop: use vfs ITER_BVEC to read/write backing file

From: Christoph Hellwig
Date: Tue Mar 24 2015 - 06:32:06 EST


On Sun, Mar 22, 2015 at 04:14:54PM +0800, Ming Lei wrote:
> Now loop code gets simplified a lot, and becomes more clean.
>
> Also one extra page copy is avoided for READ in case of none
> transfer.

I really don't like the mess with the wrappers to pretent that read/write
work the same, and the ibvec_rw_data structure doesn't exactly help
readability either.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/