]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/AsyncResize: avoid dup incrementing refresh seq 4325/head
authorZhiqiang Wang <zhiqiang.wang@intel.com>
Fri, 10 Apr 2015 05:44:07 +0000 (13:44 +0800)
committerZhiqiang Wang <zhiqiang.wang@intel.com>
Fri, 10 Apr 2015 05:44:07 +0000 (13:44 +0800)
commit15cc83b8e61bd5e43626cd3334b2551ce11e7dac
tree711a849a771ab0ebf5f389a9aaa2e984433728b6
parent89aae1929e614d82c40d53ffd013622ee94f7ac7
librbd/AsyncResize: avoid dup incrementing refresh seq

The refresh_seq is incremented in notify_change when calling
notify_async_complete after the locker owner completes the resize
request.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
src/librbd/AsyncResizeRequest.cc
src/librbd/AsyncResizeRequest.h