[dm-devel] [PATCH 12/15] block: merge blk_types.h into bio.h

Bart Van Assche Bart.VanAssche at sandisk.com
Thu May 18 14:25:52 UTC 2017


On Thu, 2017-05-18 at 15:18 +0200, Christoph Hellwig wrote:
> We've cleaned up our headers sufficiently that we don't need this split
> anymore.

Hello Christoph,

Request-based drivers need the structure definitions from <linux/blkdev.h> and
the type definitions from <linux/blk_types.h> but do not need the definition of
struct bio. Have you considered to remove #include <linux/bio.h> from file
include/linux/blkdev.h? Do you think that would help to reduce the kernel build
time?

Thanks,

Bart.




More information about the dm-devel mailing list