[PATCH 0/9] remove q->prepare_flush_fn hook

From: FUJITA Tomonori
Date: Sat Jul 03 2010 - 04:47:49 EST


This removes q->prepare_flush_fn. Except for ide and scsi, all the
users just mark flush requests. They can use REQ_FLUSH flag
instead.

SCSI and ide can use q->prep_rq_fn to build flush requests.

This can be applied to the block's for-2.6.36.

=
block/blk-barrier.c | 14 +---------
drivers/block/brd.c | 2 +-
drivers/block/loop.c | 2 +-
drivers/block/osdblk.c | 12 +--------
drivers/block/ps3disk.c | 25 +++++---------------
drivers/block/virtio_blk.c | 52 +++++++++++++++++------------------------
drivers/block/xen-blkfront.c | 3 +-
drivers/ide/ide-disk.c | 16 +++++++++----
drivers/md/dm.c | 16 +-----------
drivers/mmc/card/queue.c | 2 +-
drivers/s390/block/dasd.c | 2 +-
drivers/scsi/sd.c | 26 +++++++++++++--------
include/linux/bio.h | 2 +
include/linux/blkdev.h | 4 +--
14 files changed, 69 insertions(+), 109 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/