aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2017-07-14 16:14:42 +0800
committerShaohua Li <[email protected]>2017-07-21 12:47:20 -0700
commit022e510fcbda79183fd2cdc01abb01b4be80d03f (patch)
treec1ce4e89348f207fb4e1c572bad3bfd2db4c28b6 /tools/perf/util/trace-event-scripting.c
parent4ec9f7a18b9fcef6e8f7c13279b48e3bb5d4d704 (diff)
md: remove 'idx' from 'struct resync_pages'
bio_add_page() won't fail for resync bio, and the page index for each bio is same, so remove it. More importantly the 'idx' of 'struct resync_pages' is initialized in mempool allocator function, the current way is wrong since mempool is only responsible for allocation, we can't use that for initialization. Suggested-by: NeilBrown <[email protected]> Reported-by: NeilBrown <[email protected]> Reported-and-tested-by: Patrick <[email protected]> Fixes: f0250618361d(md: raid10: don't use bio's vec table to manage resync pages) Fixes: 98d30c5812c3(md: raid1: don't use bio's vec table to manage resync pages) Cc: [email protected] (4.12+) Signed-off-by: Ming Lei <[email protected]> Signed-off-by: Shaohua Li <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions