mirror of
https://github.com/ceph/ceph
synced 2025-03-31 07:53:23 +00:00
tools/rados/rados.cc: use write_full for sync_write for ec pools
Fixes: #7650 Signed-off-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
parent
8221a8ecba
commit
5f7efec1a4
@ -845,7 +845,7 @@ protected:
|
||||
return io_ctx.read(oid, bl, len, 0);
|
||||
}
|
||||
int sync_write(const std::string& oid, bufferlist& bl, size_t len) {
|
||||
return io_ctx.write(oid, bl, len, 0);
|
||||
return io_ctx.write_full(oid, bl);
|
||||
}
|
||||
|
||||
int sync_remove(const std::string& oid) {
|
||||
|
Loading…
Reference in New Issue
Block a user