]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: ptlrpc: Forbid too early NRS policy tunings
authorHenri Doreau <henri.doreau@cea.fr>
Thu, 27 Oct 2016 22:11:58 +0000 (18:11 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Oct 2016 15:02:33 +0000 (11:02 -0400)
commita0cb20ffc8745784be75b946385cd52555f98d17
tree9688413b1eb65e2993b74370dff7bbe36c4b39c0
parent87ba3f222cf32e1a659c45cdc5bcf08a238eaf94
staging: lustre: 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.

Signed-off-by: Henri Doreau <henri.doreau@cea.fr>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6673
Reviewed-on: http://review.whamcloud.com/15104
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/nrs.c