From: Andreas Dilger Date: Wed, 14 Jan 2015 14:55:44 +0000 (-0500) Subject: LU-1214 ptlrpc: start minimum service threads X-Git-Tag: 2.6.94~36 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=43f96aa9cc3cec66d9b9e0a03e5fc23e094525e7;hp=43f96aa9cc3cec66d9b9e0a03e5fc23e094525e7 LU-1214 ptlrpc: start minimum service threads If the ptlrpc_min_threads parameter is changed via /proc after the service has started, then at least the requested number of service threads should be started. Otherwise this parameter would only be used at initial thread startup and ignored if changed via /proc. Fix conf-sanity.sh test_52[ab] to verify that at least the minimum number of threads has been started when threads_min parameter is changed, instead of just checking the parameter itself. Also fix test code style for 80-column line wrapping and tabs for indents. The head utility does not always support shortcut "-1" option. It should be specified as "-n1". Signed-off-by: Andreas Dilger Signed-off-by: Dmitry Eremin Change-Id: I6e4bb4131d7500a93952b64102f885c76558cab0 Reviewed-on: http://review.whamcloud.com/2876 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Oleg Drokin ---