diff options
| author | Jinshan Xiong <[email protected]> | 2016-11-10 12:30:55 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-11-14 16:02:55 +0100 |
| commit | 1fb26939dcc84503a9d018a5857f0a5f90022e88 (patch) | |
| tree | 1372115c910de0ecb7720d60aafce1b21802bf79 /tools/perf/scripts/python | |
| parent | e8b237227b15113f9a4f4a93ec5850acb8d5a444 (diff) | |
staging: lustre: osc: Do not merge extents with partial pages
After range lock is introduced to Lustre, it's possible for
multiple threads to submit osc_extents with partial pages, and
finally I/O engine may try to merge these extents, which will
end up with assert in osc_build_rpc().
In this patch, osc_extent::oe_no_merge is introduced, and this flag
is set if osc_extent submitted via osc_io_submit() includes partial
pages. This flag is used by I/O engine to stop merging this kind
of extents.
Signed-off-by: Jinshan Xiong <[email protected]>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6666
Reviewed-on: http://review.whamcloud.com/15468
Reviewed-by: Andreas Dilger <[email protected]>
Reviewed-by: Patrick Farrell <[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')
0 files changed, 0 insertions, 0 deletions