Whamcloud - gitweb
LU-6673 ptlrpc: Forbid too early NRS policy tunings 04/15104/9
authorHenri Doreau <henri.doreau@cea.fr>
Tue, 2 Jun 2015 15:48:32 +0000 (17:48 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 29 Aug 2015 01:03:20 +0000 (01:03 +0000)
commitd4db3f18e523256f6c562a8993332f7fb7d70486
tree031247ef1900ab9bdcb6c07e1212256969258f79
parentb046468f58a1f40e85cb59ed9abf75fd2fd5ea5a
LU-6673 ptlrpc: Forbid too early NRS policy tunings

Wait for a NRS policy to be fully started before allowing
to apply related tunings, so that all fields are properly
initialized.

Add corresponding test to sanityn.

Signed-off-by: Henri Doreau <henri.doreau@cea.fr>
Change-Id: I92df8f55aebd173a26979e9a506c45f985107d8a
Reviewed-on: http://review.whamcloud.com/15104
Tested-by: Jenkins
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ptlrpc/nrs.c
lustre/tests/sanityn.sh