Re: [PATCH] null_blk: Set mq device as blocking with zoned mode

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

 



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?



[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