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>
Mon, 30 Apr 2012 02:41:57 +0000 (22:41 -0400)
commit3bfe9e76c7f2ea74af97ef60d3b293f6068b0fdc
treec6bba31c6daf20066aea7ecdfbbae1f87f85ec50
parent7cc542fd4c26ccb117ceb13a47ac8ced3107b9b3
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