diff options
| author | Ilya Dryomov <[email protected]> | 2019-03-15 13:50:04 +0000 |
|---|---|---|
| committer | Ilya Dryomov <[email protected]> | 2019-03-18 19:30:01 +0000 |
| commit | 16d80c54ad42c573a897ae7bcf5a9816be54e6fe (patch) | |
| tree | c2ff54b1c6e1f6867fa25a6bc201dffe77c82a8e /drivers/fpga | |
| parent | Linux 5.1-rc1 (diff) | |
| download | kernel-16d80c54ad42c573a897ae7bcf5a9816be54e6fe.tar.gz kernel-16d80c54ad42c573a897ae7bcf5a9816be54e6fe.zip | |
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 <[email protected]>
Reviewed-by: Jason Dillaman <[email protected]>
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions
