ensure q_usage_counter is held over bio splits

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

 



Hi Jens,

current blk_submit_bio can call into the bio splitting code without
q_usage_counter held, which can lead to inconsistent limits beeing
applied for drivers that change the limits at runtime.

The first patch in the series is a small comment and naming cleanup,
and the second one ensures we always hold q_usage_counter before
even entering blk_mq_submit_bio.

Diffstat:
 blk-core.c |   14 +++++++++-----
 blk-mq.c   |   59 ++++++++++++++++++++++++++++-------------------------------
 blk-mq.h   |    2 +-
 3 files changed, 38 insertions(+), 37 deletions(-)




[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