]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
md: Convert mddev->new_chunk to sectors.
authorAndre Noll <maan@systemlinux.org>
Wed, 17 Jun 2009 22:45:27 +0000 (08:45 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 17 Jun 2009 22:45:27 +0000 (08:45 +1000)
commit664e7c413f1e90eceb0b2596dd73a0832faec058
tree72ea827a0f2a493766d3ea1fd14909c756aa4496
parent9d8f0363623b3da12c43007cf77f5e1a4e8a5964
md: Convert mddev->new_chunk to sectors.

A straight-forward conversion which gets rid of some
multiplications/divisions/shifts. The patch also introduces a couple
of new ones, most of which are due to conf->chunk_size still being
represented in bytes. This will be cleaned up in subsequent patches.

Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c
drivers/md/md.h
drivers/md/raid1.c
drivers/md/raid5.c