Re: [PATCH v6 2/5] blk-mq: Introduce atomic variants of blk_mq_(all_tag|tagset_busy)_iter

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

 



On 4/13/21 12:50 AM, Daniel Wagner wrote:
> Maybe you could also annotate blk_mq_all_tag_iter() with a
> might_sleep(). This would help to find API abusers more easily.

Hmm ... my understanding is that blk_mq_all_tag_iter() does not sleep
since that function does not sleep itself and since the only caller of
blk_mq_all_tag_iter() callers passes a callback function that does not
sleep?

Thanks,

Bart.



[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