Whamcloud - gitweb
LU-1095 debug: quiet unnecessary console chatter
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 6 Sep 2012 19:55:41 +0000 (13:55 -0600)
committerOleg Drokin <green@whamcloud.com>
Mon, 17 Sep 2012 22:17:51 +0000 (18:17 -0400)
commit0b387df6023f651053ab525cbc3f7aba5a87e62c
tree25c191d9d393ad212d4e54ffe35d846f58600209
parent47accf4c7875c8f0fa89cd3ed2f38d8f7ed0586e
LU-1095 debug: quiet unnecessary console chatter

Quiet warning when configuring non-default CPT partitions, since this
will happen whenever the module parameter is changed.  Only complain
if the number of partitions is more than the number of cores, or if
it is more than 4x the recommended number.

Running racer.sh provokes a lot of messages from mdd_readdir(),
because it is doing "ls" in a directory that has been unlinked.
This is legal under POSIX and should not generate a console message.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I33afab093e9a03324a579244ce5177708735e7cc
Reviewed-on: http://review.whamcloud.com/3894
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Liang Zhen <liang@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/libcfs/linux/linux-cpu.c
lustre/mdd/mdd_object.c