diff options
author | 2012-04-01 23:48:38 +1000 | |
---|---|---|
committer | 2012-04-03 15:37:26 +1000 | |
commit | 24b961f811a3e790a9b93604d2594bfb6cce4fa4 (patch) | |
tree | 8cde643f6d3d142538d8e2499e65b368f5320bcc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | md/raid5: fix handling of bad blocks during recovery. (diff) | |
download | linux-dev-24b961f811a3e790a9b93604d2594bfb6cce4fa4.tar.xz linux-dev-24b961f811a3e790a9b93604d2594bfb6cce4fa4.zip |
md: Avoid OOPS when reshaping raid1 to raid0
raid1 arrays do not have the notion of chunk size. Calculate the
largest chunk sector size we can use to avoid a divide by zero OOPS
when aligning the size of the new array to the chunk size.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions