]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/rados: add note for reversed arguments to WriteOp.zero() 61894/head
authorWang Chao <sean10reborn@gmail.com>
Thu, 24 Oct 2024 01:10:44 +0000 (09:10 +0800)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Thu, 2 Apr 2026 15:28:26 +0000 (22:28 +0700)
Signed-off-by: Wang Chao <sean10reborn@gmail.com>
(cherry picked from commit e9ca8a01323d49c656c54d622a34280adc5b244b)

PendingReleaseNotes

index 444c0b478f8006e68a849c602e38fc73ddc89ede..c1289d2fd10fff6f39bb7ba3a90151107a3fbe1d 100644 (file)
   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.
 
 >=19.2.2