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

Johannes Thumshirn <[email protected]>
Newsgroups org.kernel.vger.io-uring,org.kernel.vger.linux-block,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel,org.kvack.linux-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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.