OPTION(filestore_merge_threshold, OPT_INT, 10)
OPTION(filestore_split_multiple, OPT_INT, 2)
OPTION(filestore_update_collections, OPT_BOOL, false)
+OPTION(filestore_blackhole, OPT_BOOL, false) // drop any new transactions on the floor
OPTION(journal_dio, OPT_BOOL, true)
OPTION(journal_block_align, OPT_BOOL, true)
OPTION(journal_max_write_bytes, OPT_INT, 10 << 20)
Context *onreadable, Context *ondisk,
Context *onreadable_sync)
{
+ if (g_conf->filestore_blackhole) {
+ dout(0) << "queue_transactions filestore_blackhole = TRUE, dropping transaction" << dendl;
+ return 0;
+ }
+
// set up the sequencer
OpSequencer *osr;
if (!posr)