]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #59143 from Sean10/fix_rados_pybind_zero_param
authorYuri Weinstein <yweinste@redhat.com>
Fri, 17 Jan 2025 16:08:51 +0000 (08:08 -0800)
committerGitHub <noreply@github.com>
Fri, 17 Jan 2025 16:08:51 +0000 (08:08 -0800)
pybind/rados: fix the incorrect order of offset,length in WriteOp.zero

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
1  2 
PendingReleaseNotes
src/test/pybind/test_rados.py

index b4824a65584676353bcd61e14be49773cb0e6581,7831aaa66d08ab55ba0aa5aaacf2f77a8ba00d53..d25acfa9c6d7743fee489bdc535eae2679eb48b7
    fuse client for `fallocate` for the default case (i.e. mode == 0) since
    CephFS does not support disk space reservation. The only flags supported are
    `FALLOC_FL_KEEP_SIZE` and `FALLOC_FL_PUNCH_HOLE`.
+ * pybind/rados: Fixes WriteOp.zero() in the original reversed order of arguments
+   `offset` and `length`. When pybind calls WriteOp.zero(), the argument passed
+   does not match rados_write_op_zero, and offset and length are swapped, which
+   results in an unexpected response.
  
 +* The HeadBucket API now reports the `X-RGW-Bytes-Used` and `X-RGW-Object-Count`
 +  headers only when the `read-stats` querystring is explicitly included in the
 +  API request.
 +
 +>=19.2.1
 +
 +* CephFS: Command `fs subvolume create` now allows tagging subvolumes through option
 +  `--earmark` with a unique identifier needed for NFS or SMB services. The earmark
 +  string for a subvolume is empty by default. To remove an already present earmark,
 +  an empty string can be assigned to it. Additionally, commands
 +  `ceph fs subvolume earmark set`, `ceph fs subvolume earmark get` and
 +  `ceph fs subvolume earmark rm` have been added to set, get and remove earmark from a given subvolume.
 +
 +* RADOS: A performance botteneck in the balancer mgr module has been fixed.
 +  Related Tracker: https://tracker.ceph.com/issues/68657
 +
  >=19.0.0
  
  * cephx: key rotation is now possible using `ceph auth rotate`. Previously,
Simple merge