forked from ceph/ceph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The compare-extent (cmpext) operation allows callers to compare existing object contents with an arbitrary buffer. cmpext requests can be compounded with read and write operations, allowing for atomic object content updates. return 0 on success, negative error code on failure, (-MAX_ERRNO - mismatch_off) on mismatch This commit is based on Mike Christie's initial C++ API, with the addition of AIO support and a C API. Response marshalling was also reworked, so that the miscompare offset is unmarshalled transparently to the caller. Signed-off-by: Zhengyong Wang <[email protected]> Signed-off-by: David Disseldorp <[email protected]>
- Loading branch information
wangzhengyong
committed
Apr 26, 2017
1 parent
351f78d
commit 0ccebc5
Showing
7 changed files
with
377 additions
and
4 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
Oops, something went wrong.