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.