mirror of
https://github.com/ceph/ceph
synced 2025-01-03 09:32:43 +00:00
osdc: fix truncation of multiple extents of the same object
This commit is contained in:
parent
d1c1744214
commit
baa4cd27d6
@ -202,7 +202,7 @@ class Filer {
|
||||
ops[0].op.op = CEPH_OSD_OP_TRIMTRUNC;
|
||||
ops[0].op.extent.truncate_size = p->offset;
|
||||
ops[0].op.extent.truncate_seq = truncate_seq;
|
||||
objecter->_modify(extents[0].oid, p->layout, ops, mtime, snapc, flags,
|
||||
objecter->_modify(p->oid, p->layout, ops, mtime, snapc, flags,
|
||||
gack ? gack->new_sub():0,
|
||||
gcom ? gcom->new_sub():0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user