Re: [PATCH] blk-mq: Use non-atomic operations to manipulate the sw-ctx busy bits

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

 



On 08/31/16 18:18, Omar Sandoval wrote:
> NAK, we can't protect each bit with a separate lock, multiple software
> queues share the bitmap. There's a race if we do non-atomic bit
> operations on two software queues with bits in the same word.

Hi Omar,

You are right of course. This is something I should have realized 
myself. Jens, please ignore this patch.

Bart.


--
To unsubscribe from this list: send the line "unsubscribe linux-block" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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