Re: [PATCH V2] block: fail unaligned bio from submit_bio_noacct()

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

 



On Mon, Mar 25, 2024 at 11:03:25AM +0800, Ming Lei wrote:
> Also only q->limits.logical_block_size is fetched for small BS IO
> fast path, I think log(lbs) can be cached in request_queue for avoiding the
> extra fetch of q.limits. Especially, it could be easier to do so
> with your recent queue limit atomic update changes.

So.  One thing I've been thinking of for a while (and which Bart also
mentioned) is tht queue_limits currently is a bit of a mess between
the actual queue limits, and the gneidks configuration.   The logical
block size is firmly in the latter, and we should probably move it
to the gendisk eventually.  Depending on how converting the SCSI ULDs
to the atomic queue limits API goes that imght happen rather sooner
than later.




[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