On Thu, Nov 05, 2020 at 03:50:08PM +0900, Damien Le Moal wrote: > Commit aa1c09cb65e2 ("null_blk: Fix locking in zoned mode") changed zone > locking to using the potentially sleeping wait_on_bit_io() function. A > zoned null_blk device must thus be marked as blocking to avoid calls to > queue_rq() from invalid contexts triggering might_sleep() warnings. That's going to have a fair amount of overhead. Can't you change the locking to avoid blocking?