diff options
author | Ming Lei <[email protected]> | 2018-10-29 20:57:19 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2018-11-09 06:23:18 -0700 |
commit | 34ffec60b27aa81d04e274e71e4c6ef740f75fc7 (patch) | |
tree | 242e7545cc12a3db2cba1831e21280955808c5b8 /tools/perf/scripts/python/bin | |
parent | ba5d73851e71847ba7f7f4c27a1a6e1f5ab91c79 (diff) |
block: make sure writesame bio is aligned with logical block size
Obviously the created writesame bio has to be aligned with logical block
size, and use bio_allowed_max_sectors() to retrieve this number.
Cc: [email protected]
Cc: Mike Snitzer <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Xiao Ni <[email protected]>
Cc: Mariusz Dabrowski <[email protected]>
Fixes: b49a0871be31a745b2ef ("block: remove split code in blkdev_issue_{discard,write_same}")
Tested-by: Rui Salvaterra <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions