]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/rados: add note for reversed arguments to WriteOp.zero() 59143/head
authorWang Chao <sean10reborn@gmail.com>
Thu, 24 Oct 2024 01:10:44 +0000 (09:10 +0800)
committerWang Chao <sean10reborn@gmail.com>
Tue, 5 Nov 2024 16:17:20 +0000 (00:17 +0800)
Signed-off-by: Wang Chao <sean10reborn@gmail.com>
PendingReleaseNotes

index 9736a83ddb5305a76c27ff20074939edc9a86f4d..7831aaa66d08ab55ba0aa5aaacf2f77a8ba00d53 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.0.0