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:
1e708f6
)
lmv: add a bit of debugging output.
author
nikita
<nikita>
Tue, 5 Dec 2006 00:06:14 +0000
(
00:06
+0000)
committer
nikita
<nikita>
Tue, 5 Dec 2006 00:06:14 +0000
(
00:06
+0000)
lustre/lmv/lmv_obd.c
patch
|
blob
|
history
diff --git
a/lustre/lmv/lmv_obd.c
b/lustre/lmv/lmv_obd.c
index
5e3bfd7
..
fc54c13
100644
(file)
--- a/
lustre/lmv/lmv_obd.c
+++ b/
lustre/lmv/lmv_obd.c
@@
-1985,6
+1985,10
@@
static __u32 lmv_node_rank(struct obd_export *exp, const struct lu_fid *fid)
*/
imp = class_exp2cliimp(exp);
id = imp->imp_connection->c_self + fid_flatten(fid);
+
+ CDEBUG(D_INFO, "node rank: %llx "DFID" %llx %llx\n",
+ imp->imp_connection->c_self, PFID(fid), id, id ^ (id >> 32));
+
return id ^ (id >> 32);
}