summaryrefslogtreecommitdiffstats
path: root/block/disk-events.c
diff options
context:
space:
mode:
authorJohn Garry <john.g.garry@oracle.com>2024-08-05 11:33:15 +0000
committerMartin K. Petersen <martin.petersen@oracle.com>2024-08-12 18:03:38 -0400
commitea6787c695ab7595d851c3506f67c157f3b593c0 (patch)
tree417a7bdb6d95a2d3896ee4e08d7c5aa76e4c94d8 /block/disk-events.c
parent0c150b30d3d51a8c2e09fadd004a640fa12985c6 (diff)
downloadlinux-ea6787c695ab7595d851c3506f67c157f3b593c0.tar.gz
linux-ea6787c695ab7595d851c3506f67c157f3b593c0.tar.bz2
linux-ea6787c695ab7595d851c3506f67c157f3b593c0.zip
scsi: block: Don't check REQ_ATOMIC for reads
We check in submit_bio_noacct() if flag REQ_ATOMIC is set for both read and write operations, and then validate the atomic operation if set. Flag REQ_ATOMIC can only be set for writes, so don't bother checking for reads. Fixes: 9da3d1e912f3 ("block: Add core atomic write support") Signed-off-by: John Garry <john.g.garry@oracle.com> Link: https://lore.kernel.org/r/20240805113315.1048591-3-john.g.garry@oracle.com Reviewed-by: Kanchan Joshi <joshi.k@samsung.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'block/disk-events.c')
0 files changed, 0 insertions, 0 deletions