From 762400d5df5f9beeaa11e252769e5da4a571060b Mon Sep 17 00:00:00 2001 From: yury Date: Thu, 7 Sep 2006 15:47:59 +0000 Subject: [PATCH] - a little bit more noise about read/write seq-mgr data to store. --- lustre/fid/fid_store.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/lustre/fid/fid_store.c b/lustre/fid/fid_store.c index 3edf95b..dd2e8cb 100644 --- a/lustre/fid/fid_store.c +++ b/lustre/fid/fid_store.c @@ -82,9 +82,10 @@ int seq_store_write(struct lu_server_seq *seq, sizeof(info->sti_record), &pos, th); if (rc == sizeof(info->sti_record)) { - CDEBUG(D_INFO, "store %s ranges: space - "DRANGE", super - " - DRANGE"\n", (seq->lss_type == LUSTRE_SEQ_SERVER ? - "server" : "controller"), + CDEBUG(D_INFO|D_WARNING, "store %s ranges: space - " + DRANGE", super - "DRANGE"\n", + (seq->lss_type == LUSTRE_SEQ_SERVER ? + "server" : "controller"), PRANGE(&seq->lss_space), PRANGE(&seq->lss_super)); rc = 0; @@ -121,16 +122,16 @@ int seq_store_read(struct lu_server_seq *seq, if (rc == sizeof(info->sti_record)) { range_le_to_cpu(&seq->lss_space, &info->sti_record.ssr_space); range_le_to_cpu(&seq->lss_super, &info->sti_record.ssr_super); - CDEBUG(D_INFO, "read %s ranges: space - "DRANGE", super - " - DRANGE"\n", (seq->lss_type == LUSTRE_SEQ_SERVER ? - "server" : "controller"), + + CDEBUG(D_INFO|D_WARNING, "read %s ranges: space - "DRANGE", super " + "- "DRANGE"\n", (seq->lss_type == LUSTRE_SEQ_SERVER ? + "server" : "controller"), PRANGE(&seq->lss_space), PRANGE(&seq->lss_super)); rc = 0; } else if (rc == 0) { rc = -ENODATA; } else if (rc >= 0) { - CERROR("read only %d bytes of %d\n", - rc, sizeof(info->sti_record)); + CERROR("read only %d bytes of %d\n", rc, sizeof(info->sti_record)); rc = -EIO; } -- 1.8.3.1