]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: skip partial discards by default
authorJason Dillaman <dillaman@redhat.com>
Wed, 13 Feb 2019 18:18:17 +0000 (13:18 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 25 Feb 2019 19:30:18 +0000 (14:30 -0500)
commitce5b359ecc5aba2ad9d62ac6e6e9d06725119a06
treefa0afca035248ad209f20e2f79624f1fd1e3d578
parent40dfac3638b9e48056393a0797aea3e161b72d75
librbd: skip partial discards by default

Avoid the IO expense of writing zeros mid-object when a discard
is attempting to free space.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/common/options.cc
src/test/librbd/deep_copy/test_mock_ObjectCopyRequest.cc
src/test/librbd/test_Migration.cc