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

Christian Brauner <[email protected]> Mon, 06 Jul 2026 15:09:36 +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 <20260706-hochmoderne-vorher-chipsatz-8882212e1328@brauner>
> blkdev.h gets included in various places outside the block layer just
> for struct blk_plug and related plugging functions.
> 
> Split blk_plug into a separate helper to reduce the amount of code
> that needs to get rebuilt when blkdev.h changes and to slightly
> reduce compile times.
> 
> In io_uring this requires pulling in a few other headers explicitly that
> previously were implicitly included through blkdev.h.
> 
> Signed-off-by: Christoph Hellwig <[email protected]>

Reviewed-by: Christian Brauner (Amutable) <[email protected]>

-- 
Christian Brauner <[email protected]>

--
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>