@@ -145,6 +145,7 @@ struct config_option config_optionsp[] = {
OPTION(debug_context, OPT_INT, 0),
OPTION(debug_mds, OPT_INT, 1),
OPTION(debug_mds_balancer, OPT_INT, 1),
+ OPTION(debug_mds_locker, OPT_INT, 1),
OPTION(debug_mds_log, OPT_INT, 1),
OPTION(debug_mds_log_expire, OPT_INT, 1),
OPTION(debug_mds_migrator, OPT_INT, 1),
@@ -198,6 +198,7 @@ public:
int debug_context;
int debug_mds;
int debug_mds_balancer;
+ int debug_mds_locker;
int debug_mds_log;
int debug_mds_log_expire;
int debug_mds_migrator;
@@ -57,6 +57,8 @@
#define DOUT_SUBSYS mds
#undef dout_prefix
+#undef DOUT_COND
+#define DOUT_COND(cct, l) l<=cct->_conf->debug_mds || l <= cct->_conf->debug_mds_locker
#define dout_prefix _prefix(_dout, mds)
static ostream& _prefix(std::ostream *_dout, MDS *mds) {
return *_dout << "mds" << mds->get_nodeid() << ".locker ";