From: Ilya Dryomov Date: Thu, 6 Oct 2022 12:07:36 +0000 (+0200) Subject: Merge pull request #48301 from PepperJo/cmp_write_C_vec X-Git-Tag: v18.1.0~1060 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=06bb82c10cd35e0933f6687e03cc8b348f4885af;p=ceph.git Merge pull request #48301 from PepperJo/cmp_write_C_vec librbd: add compare-and-write vector C API Reviewed-by: Ilya Dryomov --- 06bb82c10cd35e0933f6687e03cc8b348f4885af diff --cc PendingReleaseNotes index 912a136a2e51,c25c05029e95..979c07db7b86 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@@ -55,16 -55,11 +55,19 @@@ * 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