md: Use new topology calls to indicate alignment and I/O sizes
authorMartin K. Petersen <martin.petersen@oracle.com>
Wed, 1 Jul 2009 01:13:45 +0000 (11:13 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 1 Jul 2009 01:13:45 +0000 (11:13 +1000)
commit8f6c2e4b325a8e9f8f47febb2fd0ed4fae7d45a9
tree6e383e2ec48b5c90fe07325a7f6ab38ea1a97dfa
parent5a4f13fad1ab5bd08dea78fc55321e429d83cddf
md: Use new topology calls to indicate alignment and I/O sizes

Switch MD over to the new disk_stack_limits() function which checks for
aligment and adjusts preferred I/O sizes when stacking.

Also indicate preferred I/O sizes where applicable.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/linear.c
drivers/md/multipath.c
drivers/md/raid0.c
drivers/md/raid1.c
drivers/md/raid10.c
drivers/md/raid5.c