Whamcloud - gitweb
LU-4933 osc: Automatically increase the max_dirty_mb 37/10937/2
authorLi Xi <lixi@ddn.com>
Wed, 2 Jul 2014 03:07:20 +0000 (11:07 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 2 Oct 2014 04:31:55 +0000 (04:31 +0000)
commite38f1189a41d0ec6d3acce5266c4c1544ae9267c
tree3a9a9e0cc55a697a993b49d8d395b03f0c0ea351
parent7bd72a795db25abe5facff21169fbe5154d4cc6d
LU-4933 osc: Automatically increase the max_dirty_mb

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

This patch also changes the unit of "cl_dirty" and "cl_dirty_max"
in client_obd from byte to page.

Lustre-change: http://review.whamcloud.com/10446/
Lustre-commit: bdc5bb52c55470cf8020933f80e327c397810603

Signed-off-by: Li Xi <lixi@ddn.com>
Signed-off-by: Hongchao Zhang <hongchao.zhang@intel.com>
Change-Id: I8480122b7370247b17de81d731c2f2b5f67892ce
Reviewed-on: http://review.whamcloud.com/10937
Tested-by: Jenkins
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
lustre/include/obd.h
lustre/ldlm/ldlm_lib.c
lustre/osc/lproc_osc.c
lustre/osc/osc_cache.c
lustre/osc/osc_request.c
lustre/ptlrpc/import.c