diff options
| author | Josef Bacik <[email protected]> | 2018-05-23 13:35:59 -0400 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-05-23 15:27:26 -0600 |
| commit | 6df133a1495f8c497d0f53005296ef5421752620 (patch) | |
| tree | 60b79b815157ca3664ecbc8f3586126da7b8dfb5 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 327ea4adcfa37194739f1ec7c70568944d292281 (diff) | |
nbd: set discard granularity properly
For some reason we had discard granularity set to 512 always even when
discards were disabled. Fix this by having the default be 0, and then
if we turn it on set the discard granularity to the blocksize.
Signed-off-by: Josef Bacik <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions