mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] block atomic writes tidy-ups/fix
@ 2024-08-05 11:33 John Garry
  2024-08-05 11:33 ` [PATCH 1/2] scsi: sd: Don't check if a write for REQ_ATOMIC John Garry
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: John Garry @ 2024-08-05 11:33 UTC (permalink / raw)
  To: axboe, James.Bottomley, martin.petersen
  Cc: linux-block, linux-kernel, linux-scsi, John Garry

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-08-17  1:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-05 11:33 [PATCH 0/2] block atomic writes tidy-ups/fix John Garry
2024-08-05 11:33 ` [PATCH 1/2] scsi: sd: Don't check if a write for REQ_ATOMIC John Garry
2024-08-06 12:12   ` Kanchan Joshi
2024-08-05 11:33 ` [PATCH 2/2] block: Don't check REQ_ATOMIC for reads John Garry
2024-08-06 12:10   ` Kanchan Joshi
2024-08-12 22:03 ` [PATCH 0/2] block atomic writes tidy-ups/fix Martin K. Petersen
2024-08-17  1:35 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®