summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-07-01 19:51:19 +0300
committerJens Axboe <axboe@kernel.dk>2024-07-05 09:53:15 +0300
commit39722a2f2bcd82bdecc226711412d88b54fcb05b (patch)
treeb6c9e3b6d69a44599fe33a509e2ffe9189c0015b /scripts/generate_rust_analyzer.py
parent99800ced26b9d87a918aa9824881bdb90a3c1b03 (diff)
downloadlinux-39722a2f2bcd82bdecc226711412d88b54fcb05b.tar.xz
block: limit the Write Zeroes to manually writing zeroes fallback
Only fall back from hardware Write Zeroes failures when blkdev_issue_write_zeroes returns -EOPNOTSUPP; Note that blkdev_issue_write_zeroes turns any failure into -EOPNOTSUPP when the write zeroes queue limit has been cleared to 0, so this still catches all I/O errors where the driver detected missing support for the hardware acceleration. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Link: https://lore.kernel.org/r/20240701165219.1571322-10-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions