aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-04-20 15:38:18 +1000
committerNeilBrown <neilb@suse.de>2011-04-20 15:38:18 +1000
commit3b71bd9337b404baab5c894e066be6b6bf51b1c3 (patch)
tree23d29cf358319194092c41ed4748908e1b301180 /tools/perf/scripts/python
parentmd/raid5: remove setting of ->queue_lock (diff)
downloadlinux-dev-3b71bd9337b404baab5c894e066be6b6bf51b1c3.tar.xz
linux-dev-3b71bd9337b404baab5c894e066be6b6bf51b1c3.zip
md: Fix dev_sectors on takeover from raid0 to raid4/5
A raid0 array doesn't set 'dev_sectors' as each device might contribute a different number of sectors. So when converting to a RAID4 or RAID5 we need to set dev_sectors as they need the number. We have already verified that in fact all devices do contribute the same number of sectors, so use that number. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions