Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
librbd: add 'write_zeroes' public C/C++ API methods
Unlike the existing 'discard' option which is more of a hint to attempt to release space, the new 'write_zeroes' APIs will ensure that the entire provided extent is fully zeroed. Signed-off-by: Jason Dillaman <dillaman@redhat.com> (cherry picked from commit ae6dd86) Conflicts: src/librbd/api/Io.h/cc: logic exists in ImageRequestWQ files src/librbd/librbd.cc: trivial resolution due missing api::Io src/test/librbd/test_librbd.cc: trivial resolution
- Loading branch information
Jason Dillaman
committed
Jul 22, 2020
1 parent
3a03673
commit 0e3add9
Showing
6 changed files
with
212 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters