Skip to content

Commit e9ca8a0

Browse files
committed
pybind/rados: add note for reversed arguments to WriteOp.zero()
Signed-off-by: Wang Chao <[email protected]>
1 parent 3a27c3e commit e9ca8a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

PendingReleaseNotes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@
4747
fuse client for `fallocate` for the default case (i.e. mode == 0) since
4848
CephFS does not support disk space reservation. The only flags supported are
4949
`FALLOC_FL_KEEP_SIZE` and `FALLOC_FL_PUNCH_HOLE`.
50+
* pybind/rados: Fixes WriteOp.zero() in the original reversed order of arguments
51+
`offset` and `length`. When pybind calls WriteOp.zero(), the argument passed
52+
does not match rados_write_op_zero, and offset and length are swapped, which
53+
results in an unexpected response.
5054

5155
>=19.0.0
5256

0 commit comments

Comments
 (0)