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:
Josh Durgin 2013-10-21 14:58:31 -07:00
commit ad455c8ebe

View File

@ -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)