diff options
author | Christoph Hellwig <[email protected]> | 2022-04-18 06:53:13 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-05-03 10:38:50 -0600 |
commit | 18292faa89d2bff3bdd33ab9c065f45fb6710e47 (patch) | |
tree | f5f2e35713afa905fe2877e34674a0f6b58ce31d /scripts/gdb/linux/utils.py | |
parent | 4e7f0ece41e1be8f876f320a0972a715daec0a50 (diff) |
rnbd-srv: use bdev_discard_alignment
Use bdev_discard_alignment to calculate the correct discard alignment
offset even for partitions instead of just looking at the queue limit.
Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: Jack Wang <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions