Re: [PATCH 2/3] block: Introduce the BLK_FEAT_CALLS_BIO_SPLIT_TO_LIMITS flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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. 





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux