summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-05-31 10:47:57 +0300
committerJens Axboe <axboe@kernel.dk>2024-06-14 19:19:44 +0300
commit31ade7d4fdcf382beb8cb229a1f5d77e0f239672 (patch)
treec56a3545605992ed1221ea87627c56726f5ce6c7 /tools/perf/scripts/python
parent5db755fbb1a0de4a4cfd5d5edfaa19853b9c56e6 (diff)
downloadlinux-31ade7d4fdcf382beb8cb229a1f5d77e0f239672.tar.xz
ubd: untagle discard vs write zeroes not support handling
Discard and Write Zeroes are different operation and implemented by different fallocate opcodes for ubd. If one fails the other one can work and vice versa. Split the code to disable the operations in ubd_handler to only disable the operation that actually failed. Fixes: 50109b5a03b4 ("um: Add support for DISCARD in the UBD Driver") Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com> Link: https://lore.kernel.org/r/20240531074837.1648501-3-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions