]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
filestore: tolerate EEXIST on mkcoll when not-btrfs
authorSage Weil <sage@newdream.net>
Tue, 18 Oct 2011 21:13:11 +0000 (14:13 -0700)
committerSage Weil <sage@newdream.net>
Tue, 18 Oct 2011 23:52:13 +0000 (16:52 -0700)
commit3e92aace21ecc766f14ac5a2c6377570988f1a3b
tree2c5a0efaaaedb1a4547144d47bea5af3b7e7dfda
parent13b0bbb3db24c36ab8fe3d1e179f14aab7d50a1c
filestore: tolerate EEXIST on mkcoll when not-btrfs

For non-btrfs file systems we should tolerate EEXIST because we may
replay the event more than once.

Signed-off-by: Sage Weil <sage@newdream.net>
src/os/FileStore.cc
src/os/JournalingObjectStore.cc
src/os/JournalingObjectStore.h