From bc06e256c2a1f0882e40740abe9b7427bed4ac7a Mon Sep 17 00:00:00 2001 From: tianying Date: Tue, 25 Nov 2003 12:51:51 +0000 Subject: [PATCH] 1. move llog_origin_handle_cancel to llog_server.c 2. destroy useless plain logs during both llog_cleanup and llog_setup 3. change some CERRORs to CWARNs while just print out status information --- lustre/obdclass/llog_test.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lustre/obdclass/llog_test.c b/lustre/obdclass/llog_test.c index cdac552..4f58a40 100644 --- a/lustre/obdclass/llog_test.c +++ b/lustre/obdclass/llog_test.c @@ -326,8 +326,9 @@ static int cat_print_cb(struct llog_handle *llh, struct llog_rec_hdr *rec, RETURN(-EINVAL); } - CERROR("seeing record at index %d in log "LPX64"\n", - le32_to_cpu(rec->lrh_index), lir->lid_id.lgl_oid); + CERROR("seeing record at index %d - "LPX64":%x in log "LPX64"\n", + le32_to_cpu(rec->lrh_index), lir->lid_id.lgl_oid, + lir->lid_id.lgl_ogen, llh->lgh_id.lgl_oid); RETURN(0); } -- 1.8.3.1