aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGuoqing Jiang <[email protected]>2017-03-20 17:46:04 +0800
committerShaohua Li <[email protected]>2017-03-23 22:42:14 -0700
commit27f26a0f3767b6688b9a88b9becb6f8e760421f3 (patch)
treea1174bd5ffb671db6892520fca50c970d9516cd6 /tools/perf/scripts/python
parent0b408baf7f4f3ea94239d021a1f19e60cd8694de (diff)
md/raid10: refactor some codes from raid10_write_request
Previously, we clone both bio and repl_bio in raid10_write_request, then add the cloned bio to plug->pending or conf->pending_bio_list based on plug or not, and most of the logics are same for the two conditions. So introduce raid10_write_one_disk for it, and use replacement parameter to distinguish the difference. No functional changes in the patch. Signed-off-by: Guoqing Jiang <[email protected]> Signed-off-by: Shaohua Li <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions