diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2019-03-15 14:50:04 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-03-18 20:30:01 +0100 |
commit | 16d80c54ad42c573a897ae7bcf5a9816be54e6fe (patch) | |
tree | c2ff54b1c6e1f6867fa25a6bc201dffe77c82a8e /include | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff) |
rbd: set io_min, io_opt and discard_granularity to alloc_size
Now that we have alloc_size that controls our discard behavior, it
doesn't make sense to have these set to object (set) size. alloc_size
defaults to 64k, but because discard_granularity is likely 4M, only
ranges that are equal to or bigger than 4M can be considered during
fstrim. A smaller io_min is also more likely to be met, resulting in
fewer deferred writes on bluestore OSDs.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions