Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b0267d1
)
- minor debug messages fixes
author
alex
<alex>
Sat, 28 May 2005 11:16:28 +0000
(11:16 +0000)
committer
alex
<alex>
Sat, 28 May 2005 11:16:28 +0000
(11:16 +0000)
lustre/ldlm/ldlm_lib.c
patch
|
blob
|
history
lustre/mds/mds_lmv.c
patch
|
blob
|
history
diff --git
a/lustre/ldlm/ldlm_lib.c
b/lustre/ldlm/ldlm_lib.c
index
72f81ee
..
38d9feb
100644
(file)
--- a/
lustre/ldlm/ldlm_lib.c
+++ b/
lustre/ldlm/ldlm_lib.c
@@
-1123,11
+1123,10
@@
static int check_for_next_transno(struct obd_device *obd)
wake_up = 1;
} else if (queue_len + completed == max) {
LASSERT(req->rq_reqmsg->transno >= next_transno);
wake_up = 1;
} else if (queue_len + completed == max) {
LASSERT(req->rq_reqmsg->transno >= next_transno);
- if (req_transno > obd->obd_last_committed)
- CDEBUG(D_ERROR, "waking for skipped transno (skip: "
- LPD64", ql: %d, comp: %d, conn: %d, next: "
- LPD64")\n", next_transno, queue_len, completed,
- max, req_transno);
+ CDEBUG(req_transno > obd->obd_last_committed ? D_ERROR : D_HA,
+ "waking for skipped transno (skip: "LPD64
+ ", ql: %d, comp: %d, conn: %d, next: "LPD64")\n",
+ next_transno, queue_len, completed, max, req_transno);
obd->obd_next_recovery_transno = req_transno;
wake_up = 1;
} else if (queue_len == atomic_read(&obd->obd_req_replay_clients)) {
obd->obd_next_recovery_transno = req_transno;
wake_up = 1;
} else if (queue_len == atomic_read(&obd->obd_req_replay_clients)) {
diff --git
a/lustre/mds/mds_lmv.c
b/lustre/mds/mds_lmv.c
index
8e7ba8b
..
e6ea5d8
100644
(file)
--- a/
lustre/mds/mds_lmv.c
+++ b/
lustre/mds/mds_lmv.c
@@
-936,7
+936,7
@@
int mds_choose_mdsnum(struct obd_device *obd, const char *name, int len, int fla
__u64 count = lmv->desc.ld_tgt_count;
i = do_div(nid, count);
CWARN("client from %s creates top dir %*s on mds #%d\n",
__u64 count = lmv->desc.ld_tgt_count;
i = do_div(nid, count);
CWARN("client from %s creates top dir %*s on mds #%d\n",
- ptlrpc_peernid2str(peer,
peer_str), len, name, i
);
+ ptlrpc_peernid2str(peer,
peer_str), len, name, i+1
);
}
} else if (mds->mds_md_exp) {
lmv = &mds->mds_md_exp->exp_obd->u.lmv;
}
} else if (mds->mds_md_exp) {
lmv = &mds->mds_md_exp->exp_obd->u.lmv;