diff options
author | Josef Bacik <jbacik@fb.com> | 2018-05-23 13:35:59 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-05-23 15:27:26 -0600 |
commit | 6df133a1495f8c497d0f53005296ef5421752620 (patch) | |
tree | 60b79b815157ca3664ecbc8f3586126da7b8dfb5 /sound | |
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 <jbacik@fb.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions