diff options
author | 2022-04-15 06:52:34 +0200 | |
---|---|---|
committer | 2022-04-17 19:49:58 -0600 | |
commit | 968786b9ef56e75e0109158a4936ffffea962c1e (patch) | |
tree | 4cc0428343df0790ff58583fe9d772fdbc278434 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | target: pass a block_device to target_configure_unmap_from_queue (diff) | |
download | linux-dev-968786b9ef56e75e0109158a4936ffffea962c1e.tar.xz linux-dev-968786b9ef56e75e0109158a4936ffffea962c1e.zip |
target: fix discard alignment on partitions
Use the proper bdev_discard_alignment helper that accounts for partition
offsets.
Fixes: c66ac9db8d4a ("[SCSI] target: Add LIO target core v4.0.0-rc6")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20220415045258.199825-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions