Whamcloud - gitweb
LU-4379 procfs: dont always check max_pages_per_rpc alignement 58/8558/3
authorSebastien Buisson <sebastien.buisson@bull.net>
Thu, 12 Dec 2013 17:37:51 +0000 (18:37 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 20 Dec 2013 02:21:12 +0000 (02:21 +0000)
commitc4220f43d3aa7c938808da60a925d67904cc3ece
tree24dc9828e81fe9c5caf1fdeb258c603444a78c0a
parentc16afc7c5c0ca969e3a5ac93773dffb7531522ab
LU-4379 procfs: dont always check max_pages_per_rpc alignement

If connection is not established yet, cli->cl_chunkbits is
uninitilized so we cannot use it to check max_pages_per_rpc
alignment.

Signed-off-by: Sebastien Buisson <sebastien.buisson@bull.net>
Change-Id: I4c782e2eeb5a2757d79194ee6ab6bff831a283fc
Reviewed-on: http://review.whamcloud.com/8558
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
lustre/ldlm/ldlm_lib.c