[Drbd-dev] [PATCH v1 2/8] block: make 'struct bvec_iter' not depend on CONFIG_BLOCK

Ming Lei ming.lei at canonical.com
Fri Apr 1 02:31:06 CEST 2016


On Thu, Mar 31, 2016 at 3:52 PM, Christoph Hellwig <hch at infradead.org> wrote:
> On Thu, Mar 31, 2016 at 09:02:59AM +0800, Ming Lei wrote:
>> That way may cause trouble to blk_type.h because it needs bvec_iter,
>> then looks not good to always include bvec_iter.h into blk_type.h.
>
> I'd expect bvec.h to be always included in blk_types.h, and replace

That should be fine, but blk_types.h will become more fat.

> the inclusion of blk_types.h in fs.h eventually.

I guess it can't be done because fs.h need 'struct bio'.

thanks,
Ming


More information about the drbd-dev mailing list