From: Ilya Dryomov Date: Fri, 12 Aug 2022 11:55:01 +0000 (+0200) Subject: PendingReleaseNotes: add rbd compare-and-write notes X-Git-Tag: v17.2.6~440^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b64033a657e0066159b43fc9a1750c3c2ea20e11;p=ceph.git PendingReleaseNotes: add rbd compare-and-write notes Signed-off-by: Ilya Dryomov (cherry picked from commit 4ddcb7ff92a51a6fa17887e54fd357bd5dea5f4e) Conflicts: PendingReleaseNotes [ moved to >=17.2.5 section ] --- diff --git a/PendingReleaseNotes b/PendingReleaseNotes index 53447bf4c215..f4d85bb6f07f 100644 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@ -1,3 +1,16 @@ +>=17.2.5 +-------- + +* RBD: The semantics of compare-and-write C++ API (`Image::compare_and_write` + and `Image::aio_compare_and_write` methods) now match those of C API. Both + compare and write steps operate only on `len` bytes even if the respective + buffers are larger. The previous behavior of comparing up to the size of + the compare buffer was prone to subtle breakage upon straddling a stripe + unit boundary. +* RBD: compare-and-write operation is no longer limited to 512-byte sectors. + Assuming proper alignment, it now allows operating on stripe units (4M by + default). + >=17.2.4 --------