Whamcloud - gitweb
LU-1249 debug: Auto correct improper debug buffer size setting
authorBobi Jam <bobijam@whamcloud.com>
Mon, 9 Apr 2012 05:03:51 +0000 (13:03 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 1 Aug 2012 20:04:54 +0000 (16:04 -0400)
commitc48b95bf86c2596cd2972ada07d25df53173c8cb
tree6f9aa09aa00112a5d5f4bedb7b6315e70c6e4518
parent6ab1cb4d701e694ea78104377348920c1a2ccf64
LU-1249 debug: Auto correct improper debug buffer size setting

Use the minimum required value when the debug buffer size setting
value is too small, and use the maximum acceptable value when it is
too large.

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: I89def7762f2ec9da3a25d28f7ffa9aede390eb85
Reviewed-on: http://review.whamcloud.com/2489
Reviewed-by: Lai Siyao <laisiyao@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/libcfs/tracefile.c
lustre/tests/cfg/local.sh