Whamcloud - gitweb
LU-5549 llite: make default_easize writeable in /proc 12/13112/7
authorNed Bass <bass6@llnl.gov>
Wed, 17 Dec 2014 00:03:10 +0000 (16:03 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 11 Feb 2015 17:58:48 +0000 (17:58 +0000)
commit9d9db87afc80ed3e98e1fc05b3ad97a89ebf577a
tree0c3ce90c69cc87da129bc1a6f5f1728c7ed7b347
parent34e7d46234e5c957e1e815c5267b13fe610a9d8d
LU-5549 llite: make default_easize writeable in /proc

Allow default_easize to be tuned via /proc. A system administrator
might want this if a rare access to widely striped files drives up the
value on a filesystem where narrowly striped files are the more common
case. In practice, however, this is wanted primarily to facilitate
a test case for LU-5549.

- Plumb the necessary interfaces through the LMV and MDC layers
  to expose write access to this value by higher layers.

- Add block comments to modified functions.

- Correct misspelling of "default" in /proc handler function names
  in lustre/llite/lproc_llite.c. The file names in /proc were already
  spelled correctly so there are no issues with backward
  compatibility.

- Convert remaining space-indented lines in lmv_set_info_async()
  to tabs.

Signed-off-by: Ned Bass <bass6@llnl.gov>
Change-Id: Iae2c8d0ca28cccf12af9372b1a10a0f9d170fddf
Reviewed-on: http://review.whamcloud.com/13112
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/lproc_llite.c
lustre/lmv/lmv_obd.c
lustre/mdc/mdc_request.c