]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/md/md.h
md: pass mddev to make_request functions rather than request_queue
authorNeilBrown <neilb@suse.de>
Thu, 1 Apr 2010 04:02:13 +0000 (15:02 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 18 May 2010 05:27:55 +0000 (15:27 +1000)
commit21a52c6d05c15f862797736393915bfa8cd40ee9
tree44ffb633d209457979177a52132761a368fcb976
parentcca9cf90c504d98644ace52c474770970729f0eb
md: pass mddev to make_request functions rather than request_queue

We used to pass the personality make_request function direct
to the block layer so the first argument had to be a queue.
But now we have the intermediary md_make_request so it makes
at lot more sense to pass a struct mddev_s.
It makes it possible to have an mddev without its own queue too.

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