Re: [PATCH] block: split out a new blk_plug.h helper

Johannes Thumshirn <[email protected]> Mon, 6 Jul 2026 08:38:12 +0200
Newsgroups gmane.linux.kernel.aio.general,gmane.linux.block,gmane.linux.file-systems,gmane.linux.kernel,gmane.linux.kernel.io-uring,gmane.linux.kernel.mm
Message-ID <[email protected]>
On 7/6/26 6:11 AM, Christoph Hellwig wrote:
> diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
> index 9213a5716f95..20cb8ed7d987 100644
> --- a/include/linux/blkdev.h
> +++ b/include/linux/blkdev.h
> @@ -7,6 +7,7 @@
>   
>   #include <linux/types.h>
>   #include <linux/blk_types.h>
> +#include <linux/blk_plug.h>
>   #include <linux/device.h>
>   #include <linux/list.h>
>   #include <linux/llist.h>
>
I know it's a lot of cross subsystem churn, but wouldn't it be cleaner 
to not include blk_plug.h in blkdev.h, but patch the update the 
consumers? A quick grep shows 68 files that would need updating and some 
you already  have updated.

--
To unsubscribe, send a message with 'unsubscribe linux-aio' in
the body to [email protected].  For more info on Linux AIO,
see: http://www.kvack.org/aio/
Don't email: <a href=mailto:"[email protected]">[email protected]</a>