summaryrefslogtreecommitdiff
path: root/rust/helpers
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2025-08-27 07:12:54 -0700
committerJens Axboe <axboe@kernel.dk>2025-09-09 10:27:01 -0600
commit5ff3f74e145adc79b49668adb8de276446acf6be (patch)
tree3e27ecc0311ea44c2b69dcdb3a8730d6d2f19ea0 /rust/helpers
parent20a0e6276edba4318c13486df02c31e5f3c09431 (diff)
block: simplify direct io validity check
The block layer checks all the segments for validity later, so no need for an early check. Just reduce it to a simple position and total length check, and defer the more invasive segment checks to the block layer. Signed-off-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions