diff options
author | 2017-07-26 11:22:17 -0400 | |
---|---|---|
committer | 2017-07-30 08:06:10 -0700 | |
commit | db23850489d71ae5b894e582957b63e59ea3ab05 (patch) | |
tree | d5558dc66fbef4829038601768900083b16e253a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | staging: lustre: lov: refactor lov_object_fiemap() (diff) | |
download | wireguard-linux-db23850489d71ae5b894e582957b63e59ea3ab05.tar.xz wireguard-linux-db23850489d71ae5b894e582957b63e59ea3ab05.zip |
staging: lustre: osc: soft lock - osc_makes_rpc()
It is possible that an osc_extent contains more than 256 chunks, and
the IO engine won't add this extent in one RPC
(try_to_add_extent_for_io) so that osc_check_rpcs() run into a loop
upon this extent and never break.
This patch changes osc_max_write_chunks() to make sure the value
can cover all possible osc_extent, so that all osc_extent will be
added into one RPC.
This patch also add another field erd_max_extents in extent_rpc_data
to make sure not to add too many fragments in a single RPC.
Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8680
Reviewed-on: http://review.whamcloud.com/23326
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions