Re: [PATCH 1/2] block: also check bio alignment for bio based drivers

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

 



On Tue, Jul 09, 2024 at 09:50:48PM +0800, Ming Lei wrote:
> > That doesn't mean we shouldn't look into actually holding q_usage_count
> > over the entire bio lifetime for bio based drivers, but that's a
> > separate project.
> 
> What if logical block size is changed between bio submission and
> completion?
> 
> For blk-mq device, we need to drain any IO when re-configuring device,
> however it can't be supported generically for bio based driver.

Many bio based drivers do the same, just reimplemented without
block helpers (e.g. md/dm).

But as I said the point is that I really want the sanity check to
always be there.  I'd also like to eventually make freeze work for
bio based drivers, but that is a separate issue.





[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