md: move io accounting out of personalities into md_make_request
authorNeilBrown <neilb@suse.de>
Thu, 25 Mar 2010 05:20:56 +0000 (16:20 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 18 May 2010 05:27:52 +0000 (15:27 +1000)
commit490773268cf64f68da2470e07b52c7944da6312d
treed394aafa7203c316db6b63f128b8894e18993fca
parent2b7f22284d71975e37a82db154386348eec0e52c
md: move io accounting out of personalities into md_make_request

While I generally prefer letting personalities do as much as possible,
given that we have a central md_make_request anyway we may as well use
it to simplify code.
Also this centralises knowledge of ->gendisk which will help later.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/linear.c
drivers/md/md.c
drivers/md/multipath.c
drivers/md/raid0.c
drivers/md/raid1.c
drivers/md/raid10.c
drivers/md/raid5.c