diff options
| author | Bobi Jam <[email protected]> | 2017-07-26 11:22:17 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-07-30 08:06:10 -0700 |
| commit | db23850489d71ae5b894e582957b63e59ea3ab05 (patch) | |
| tree | d5558dc66fbef4829038601768900083b16e253a /tools/perf/scripts/python/netdev-times.py | |
| parent | cc9af01e385978c71550636f0c211ed9ef66fb74 (diff) | |
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 <[email protected]>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8680
Reviewed-on: http://review.whamcloud.com/23326
Reviewed-by: Jinshan Xiong <[email protected]>
Reviewed-by: Niu Yawei <[email protected]>
Reviewed-by: Oleg Drokin <[email protected]>
Signed-off-by: James Simmons <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions