lkml.org 
[lkml]   [2010]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/9] remove q->prepare_flush_fn hook
Date
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(-)



\
 
 \ /
  Last update: 2010-07-03 10:49    [W:3.270 / U:1.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site