Re: [PATCH] block: split out a new blk_plug.h helper
Christian Brauner <[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 | <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]>