question of ceph
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi,
You can enable debug options by putting them in your ceph.conf.
For example, this will turn on debugging for the filestore:
[global]
debug filestore = 10
You can also pass an argument on the command line, like this:
<program-name> --debug-filestore=10
regards,
Colin
Quoted 35 lines · On Wed, Mar 30, 2011 at 11:08 PM, <[email protected]> wrote:
hi , colinm !
I would like to be enable debug swith of /ceph/src/config.cc , however . i don't kown how to be enable as follows.
OPTION(debug, 0, OPT_INT, 20),OPTION(debug_lockdep, 0, OPT_INT, 20),OPTION(debug_mds, 0, OPT_INT, 20),OPTION(debug_mds_balancer, 0, OPT_INT, 20),OPTION(debug_mds_log, 0, OPT_INT, 20),OPTION(debug_mds_log_expire, 0, OPT_INT, 20),OPTION(debug_mds_migrator, 0, OPT_INT, 20),OPTION(debug_buffer, 0, OPT_INT, 20),OPTION(debug_timer, 0, OPT_INT, 20),OPTION(debug_filer, 0, OPT_INT, 20),OPTION(debug_objecter, 0, OPT_INT, 20),OPTION(debug_rados, 0, OPT_INT, 20),OPTION(debug_journaler, 0, OPT_INT, 20),OPTION(debug_objectcacher, 0, OPT_INT, 20),OPTION(debug_client, 0, OPT_INT, 20),OPTION(debug_osd, 0, OPT_INT, 20),OPTION(debug_ebofs, 0, OPT_INT, 20),OPTION(debug_filestore, 0, OPT_INT, 20),OPTION(debug_journal, 0, OPT_INT, 20),OPTION(debug_bdev, 0, OPT_INT, 20), // block deviceOPTION(debug_ns, 0, OPT_INT, 20),OPTION(debug_ms, 0, OPT_INT, 20),OPTION(debug_mon, 0, OPT_INT, 20),OPTION(debug_monc, 0, OPT_INT, 20),OPTION(debug_paxos, 0, OPT_INT, 20),OPTION(debug_tp, 0, OPT_INT, 20),OPTION(debug_auth, 0, OPT_INT, 20),OPTION(debug_finisher, 0, OPT_INT, 20),
Quoted 6 lines
Beside, I don't know thar args of
dout( )fuctions . args is 0, 1, 2,3,4,5, -5,7,-7 ,12,-12 ,10 ,20,14,25,30 ????????Thanks , best wish .beside
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html