Whamcloud - gitweb
LU-4933 osc: Automatically tune the max_dirty_mb 34/10034/3
authorLi Xi <lixi@ddn.com>
Mon, 21 Apr 2014 14:20:27 +0000 (22:20 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 20 May 2014 04:15:50 +0000 (04:15 +0000)
commit5303c139e3cef8ed09b85cf828afbbe24ea0d7db
tree2905fd15165e1325b58cdc48a7aa2f9e6693f2e4
parent85b037f5da6a022919783ef9a87ed6d2a4d102d2
LU-4933 osc: Automatically tune the max_dirty_mb

When RPC size or the max RPCs in flight is increased, the actual
limit might be max_dirty_mb value. This patch automatically set
that max_dirty_mb value at connection time and when the related
values are tuned manually by proc file system.

Signed-off-by: Li Xi <lixi@ddn.com>
Change-Id: I95e3e32294a96c4022bcefe392d375583f879b2e
Reviewed-on: http://review.whamcloud.com/10034
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/include/obd.h
lustre/ldlm/ldlm_lib.c
lustre/osc/lproc_osc.c
lustre/ptlrpc/import.c