summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWang Chao <sean10reborn@gmail.com>2024-10-24 03:10:44 +0200
committerWang Chao <sean10reborn@gmail.com>2024-11-05 17:17:20 +0100
commite9ca8a01323d49c656c54d622a34280adc5b244b (patch)
tree2cee00434d9ba0e39bdbc7992fe91dd8edc1a359
parenttest/pybind/test_rados.py: add test for reversed arguments offset,length in W... (diff)
downloadceph-e9ca8a01323d49c656c54d622a34280adc5b244b.tar.xz
ceph-e9ca8a01323d49c656c54d622a34280adc5b244b.zip
pybind/rados: add note for reversed arguments to WriteOp.zero()
Signed-off-by: Wang Chao <sean10reborn@gmail.com>
-rw-r--r--PendingReleaseNotes4
1 files changed, 4 insertions, 0 deletions
diff --git a/PendingReleaseNotes b/PendingReleaseNotes
index 9736a83ddb5..7831aaa66d0 100644
--- a/PendingReleaseNotes
+++ b/PendingReleaseNotes
@@ -47,6 +47,10 @@
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