diff options
author | Shaohua Li <[email protected]> | 2017-07-17 14:33:48 -0700 |
---|---|---|
committer | Shaohua Li <[email protected]> | 2017-07-21 12:47:20 -0700 |
commit | 16d56e2fcc1fc15b981369653c3b41d7ff0b443d (patch) | |
tree | ead4908160acc2c9192c78898f1f5ec8062d231d /tools/perf/util/trace-event-scripting.c | |
parent | be453e7761d0e72d8a1b2fcfde6d1a7e53881190 (diff) |
md/raid1: fix writebehind bio clone
After bio is submitted, we should not clone it as its bi_iter might be
invalid by driver. This is the case of behind_master_bio. In certain
situration, we could dispatch behind_master_bio immediately for the
first disk and then clone it for other disks.
https://bugzilla.kernel.org/show_bug.cgi?id=196383
Reported-and-tested-by: Markus <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Fix: 841c1316c7da(md: raid1: improve write behind)
Cc: [email protected] (4.12+)
Signed-off-by: Shaohua Li <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions