On Wed, Jun 25, 2025 at 04:42:58PM -0700, Bart Van Assche wrote: > Introduce a flag that indicates whether or not bio_split_to_limits() is > called while processing a bio. Set this flag from inside > blk_mq_alloc_queue() because bio_split_to_limits() is called for all > request-based block drivers. This patch prepares for modifying when > __submit_bio() calls blk_crypto_bio_prep(). I don't see how this is a good idea. bio based drivers are a thin abstraction that the block should not know anything about.