From 603446218bbc2f2a55b254017008e537d4b76dcf Mon Sep 17 00:00:00 2001 From: tappro Date: Mon, 16 Oct 2006 06:38:06 +0000 Subject: [PATCH] - initialize values in mdt_thread_info - change log level for debug message --- lustre/mdt/mdt_handler.c | 4 ++++ lustre/mgs/mgs_llog.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lustre/mdt/mdt_handler.c b/lustre/mdt/mdt_handler.c index 0aee01d..2a609a0 100644 --- a/lustre/mdt/mdt_handler.c +++ b/lustre/mdt/mdt_handler.c @@ -1753,6 +1753,10 @@ static void mdt_thread_info_init(struct ptlrpc_request *req, memset(&info->mti_attr, 0, sizeof info->mti_attr); info->mti_has_trans = 0; info->mti_no_need_trans = 0; + + info->mti_object = NULL; + info->mti_dlm_req = NULL; + info->mti_body = NULL; } static void mdt_thread_info_fini(struct mdt_thread_info *info) diff --git a/lustre/mgs/mgs_llog.c b/lustre/mgs/mgs_llog.c index 4d39944..656e7e9 100644 --- a/lustre/mgs/mgs_llog.c +++ b/lustre/mgs/mgs_llog.c @@ -1504,7 +1504,7 @@ static int mgs_write_log_osc_to_lov(struct obd_device *obd, struct fs_db *fsdb, int i, rc; ENTRY; - CERROR("adding osc for %s to log %s\n", + CWARN("adding osc for %s to log %s\n", mti->mti_svname, logname); if (mgs_log_is_empty(obd, logname)) { -- 1.8.3.1