diff options
author | Josef Bacik <[email protected]> | 2018-06-05 11:41:23 -0400 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2018-06-05 09:50:46 -0600 |
commit | 07ce213f63fbc389c8fcaefab6267b3bc0a12796 (patch) | |
tree | a3670201907277e6305c3a93932c5f02182ff05b /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | ee57a05cf86f9789cbac5e9de8e720458338533b (diff) |
nbd: set discard_alignment to the granularity
Technically we should be able to get away with 0 as the
discard_alignment, but there's no way currently for the protocol to
indicate different alignments, and in real life most disks have
discard_alignment == discard_granularity. Just set our alignment to our
blocksize to make sure discards will actually work properly with 4k
drives.
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions