]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: fix race condition
authorxie xingguo <xie.xingguo@zte.com.cn>
Fri, 5 Feb 2016 09:34:51 +0000 (17:34 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Fri, 5 Feb 2016 09:34:51 +0000 (17:34 +0800)
commit1e8719f95556f7ac71d06f7e3281927fbfb0d86a
tree66199b1cb207b0d603172a8b2a3f888192833d0f
parentdca8111a98a4f8dc37eb44a004c5c36f76abc18f
os/bluestore: fix race condition

The get_omap_iterator shall check the existence of onode too, which may
race with the rename method.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/bluestore/BlueStore.cc