]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Merge pull request #48301 from PepperJo/cmp_write_C_vec
authorIlya Dryomov <idryomov@gmail.com>
Thu, 6 Oct 2022 12:07:36 +0000 (14:07 +0200)
committerGitHub <noreply@github.com>
Thu, 6 Oct 2022 12:07:36 +0000 (14:07 +0200)
librbd: add compare-and-write vector C API

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
1  2 
PendingReleaseNotes
src/include/rbd/librbd.h
src/test/librbd/test_librbd.cc

index 912a136a2e515963089af8fb299be4a143b0674f,c25c05029e95355f6ef8082beb57123acc1f2ab1..979c07db7b8657a01f53e7c1a86b9a0e52e22b04
  * 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).
+ * RBD: New `rbd_aio_compare_and_writev` API method to support scatter/gather
+   on both compare and write buffers.  This compliments existing `rbd_aio_readv`
+   and `rbd_aio_writev` methods.
  * The 'AT_NO_ATTR_SYNC' macro is deprecated, please use the standard 'AT_STATX_DONT_SYNC'
    macro. The 'AT_NO_ATTR_SYNC' macro will be removed in the future.
 +* Trimming of PGLog dups is now controlled by the size instead of the version.
 +  This fixes the PGLog inflation issue that was happening when the on-line
 +  (in OSD) trimming got jammed after a PG split operation. Also, a new off-line
 +  mechanism has been added: `ceph-objectstore-tool` got `trim-pg-log-dups` op
 +  that targets situations where OSD is unable to boot due to those inflated dups.
 +  If that is the case, in OSD logs the "You can be hit by THE DUPS BUG" warning
 +  will be visible.
 +  Relevant tracker: https://tracker.ceph.com/issues/53729
  
  >=17.2.1
  
Simple merge
Simple merge