mirror of
https://github.com/ceph/ceph
synced 2025-02-22 02:27:29 +00:00
client: fix barrier interval
(start, end) not (start, length) Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
d7457f7341
commit
747002c6be
@ -8295,7 +8295,7 @@ int Client::ll_commit_blocks(Inode *in,
|
||||
|
||||
map<uint64_t, BarrierContext*>::iterator p = barriers.find(ino);
|
||||
if (p != barriers.end()) {
|
||||
barrier_interval civ(offset, length);
|
||||
barrier_interval civ(offset, offset + length);
|
||||
p->second->commit_barrier(civ);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user