[PATCH 0/2] block atomic writes tidy-ups/fix

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

 



These two minor patches are tidy-ups for atomic write support.

Both are related to ignoring that REQ_ATOMIC can only be set for writes.

The block change could be considered a fix, as we are needlessly
checking for REQ_ATOMIC in fastpath.

Both changes can be picked up independently.

Thanks!

John Garry (2):
  scsi: sd: Don't check if a write for REQ_ATOMIC
  block: Don't check REQ_ATOMIC for reads

 block/blk-core.c  | 1 +
 drivers/scsi/sd.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

-- 
2.31.1





[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