From: nikita Date: Tue, 5 Dec 2006 00:06:14 +0000 (+0000) Subject: lmv: add a bit of debugging output. X-Git-Tag: v1_8_0_110~486^2~44 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=d4e715c43346864ff93ec63f46f9aa7f2b8b6bfd;p=fs%2Flustre-release.git lmv: add a bit of debugging output. --- diff --git a/lustre/lmv/lmv_obd.c b/lustre/lmv/lmv_obd.c index 5e3bfd7..fc54c13 100644 --- 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); }