block: remove support for bio remapping from ->make_request
authorChristoph Hellwig <hch@infradead.org>
Mon, 12 Sep 2011 10:12:01 +0000 (12:12 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 12 Sep 2011 10:12:01 +0000 (12:12 +0200)
commit5a7bbad27a410350e64a2d7f5ec18fc73836c14f
tree3447cd62dbcbd77b4071e2eb7576f1d7632ef2d3
parentc20e8de27fef9f59869c81c288ad6cf28200e00c
block: remove support for bio remapping from ->make_request

There is very little benefit in allowing to let a ->make_request
instance update the bios device and sector and loop around it in
__generic_make_request when we can archive the same through calling
generic_make_request from the driver and letting the loop in
generic_make_request handle it.

Note that various drivers got the return value from ->make_request and
returned non-zero values for errors.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: NeilBrown <neilb@suse.de>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
25 files changed:
arch/m68k/emu/nfblock.c
arch/powerpc/sysdev/axonram.c
block/blk-core.c
drivers/block/aoe/aoeblk.c
drivers/block/brd.c
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_req.c
drivers/block/loop.c
drivers/block/pktcdvd.c
drivers/block/ps3vram.c
drivers/block/umem.c
drivers/md/dm.c
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
drivers/s390/block/dcssblk.c
drivers/s390/block/xpram.c
drivers/staging/zram/zram_drv.c
include/linux/blkdev.h