mirror of
https://github.com/ceph/ceph
synced 2024-12-14 23:46:28 +00:00
Merge pull request #753 from ceph/wip-5668-b
librbd: wire up flush counter Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
This commit is contained in:
commit
ad455c8ebe
@ -2821,7 +2821,9 @@ reprotect_and_return_err:
|
||||
return r;
|
||||
|
||||
ictx->user_flushed();
|
||||
return _flush(ictx);
|
||||
int r = _flush(ictx);
|
||||
ictx->perfcounter->inc(l_librbd_flush);
|
||||
return r;
|
||||
}
|
||||
|
||||
int _flush(ImageCtx *ictx)
|
||||
|
Loading…
Reference in New Issue
Block a user