Messages in this thread | | | From | FUJITA Tomonori <> | Subject | [PATCH 0/9] remove q->prepare_flush_fn hook | Date | Sat, 3 Jul 2010 17:45:31 +0900 |
| |
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(-)
| |