On Mon, 13 Nov 2023 11:52:31 +0800, Ming Lei wrote: > blk_integrity_unregister() can come if queue usage counter isn't held > for one bio with integrity prepared, so this request may be completed with > calling profile->complete_fn, then kernel panic. > > Another constraint is that bio_integrity_prep() needs to be called > before bio merge. > > [...] Applied, thanks! [1/1] blk-mq: make sure active queue usage is held for bio_integrity_prep() commit: b0077e269f6c152e807fdac90b58caf012cdbaab Best regards, -- Jens Axboe