]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
filestore: implement filestore_blackhole hook
authorSage Weil <sage.weil@dreamhost.com>
Tue, 31 Jan 2012 01:39:23 +0000 (17:39 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Tue, 31 Jan 2012 15:23:39 +0000 (07:23 -0800)
commit9520ee7820715aa867b600548c3488c30582b86f
tree1fe6a4923369bd9a5025868f5d04d231a8520d5d
parent2116f012eddfe3278fcdfeb5a2ddc877491d210d
filestore: implement filestore_blackhole hook

If true, we'll drop any new transactions on the floor. Useful for
triggering failure conditions (e.g., prior to killing ceph-osd itself, to
ensure some operations don't reach the local disk).

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/common/config_opts.h
src/os/FileStore.cc