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:
fbde1d9
)
quiet noisy error message when rehash is disabled
author
Johann Lombardi
<johann@sun.com>
Thu, 14 Jan 2010 13:00:47 +0000
(14:00 +0100)
committer
Johann Lombardi
<johann@sun.com>
Thu, 14 Jan 2010 13:00:47 +0000
(14:00 +0100)
Rehash is sometimes disabled temporarily, so quiet
message printed on the console when cur_bits != max_bits.
lustre/obdclass/class_hash.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/class_hash.c
b/lustre/obdclass/class_hash.c
index
9bf81f4
..
0867098
100644
(file)
--- a/
lustre/obdclass/class_hash.c
+++ b/
lustre/obdclass/class_hash.c
@@
-127,7
+127,8
@@
lustre_hash_init(char *name, unsigned int cur_bits, unsigned int max_bits,
lh->lh_ops = ops;
lh->lh_flags = flags;
if (cur_bits != max_bits && (lh->lh_flags & LH_REHASH) == 0)
- CWARN("Rehash is disabled, ignore max_bits %d\n", max_bits);
+ CDEBUG(D_INFO, "Rehash is disabled, ignore max_bits %d\n",
+ max_bits);
/* theta * 1000 */
__lustre_hash_set_theta(lh, 500, 2000);