linux/drivers/s390/block
Tejun Heo 4913efe456 block: deprecate barrier and replace blk_queue_ordered() with blk_queue_flush()
Barrier is deemed too heavy and will soon be replaced by FLUSH/FUA
requests.  Deprecate barrier.  All REQ_HARDBARRIERs are failed with
-EOPNOTSUPP and blk_queue_ordered() is replaced with simpler
blk_queue_flush().

blk_queue_flush() takes combinations of REQ_FLUSH and FUA.  If a
device has write cache and can flush it, it should set REQ_FLUSH.  If
the device can handle FUA writes, it should also set REQ_FUA.

All blk_queue_ordered() users are converted.

* ORDERED_DRAIN is mapped to 0 which is the default value.
* ORDERED_DRAIN_FLUSH is mapped to REQ_FLUSH.
* ORDERED_DRAIN_FLUSH_FUA is mapped to REQ_FLUSH | REQ_FUA.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Boaz Harrosh <bharrosh@panasas.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Nick Piggin <npiggin@kernel.dk>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Chris Wright <chrisw@sous-sol.org>
Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Alasdair G Kergon <agk@redhat.com>
Cc: Pierre Ossman <drzeus@drzeus.cx>
Cc: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
2010-09-10 12:35:36 +02:00
..
dasd_3990_erp.c [S390] dasd: add dynamic pav toleration 2010-05-17 10:00:16 +02:00
dasd_alias.c [S390] dasd: remove uid from devmap 2010-05-17 10:00:16 +02:00
dasd_devmap.c [S390] dasd: tunable missing interrupt handler 2010-08-09 18:12:54 +02:00
dasd_diag.c [S390] dasd: tunable missing interrupt handler 2010-08-09 18:12:54 +02:00
dasd_diag.h
dasd_eckd.c [S390] dasd: tunable missing interrupt handler 2010-08-09 18:12:54 +02:00
dasd_eckd.h [S390] dasd: tunable missing interrupt handler 2010-08-09 18:12:54 +02:00
dasd_eer.c s390: remove WARN_ON for misc_deregister() failures 2010-08-09 20:45:06 -07:00
dasd_erp.c [S390] dasd: fix message naming 2009-09-11 10:29:42 +02:00
dasd_fba.c [S390] dasd: tunable missing interrupt handler 2010-08-09 18:12:54 +02:00
dasd_fba.h
dasd_genhd.c [S390] dasd: automatic recognition of read-only devices 2010-03-08 12:26:27 +01:00
dasd_int.h [S390] dasd: tunable missing interrupt handler 2010-08-09 18:12:54 +02:00
dasd_ioctl.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
dasd_proc.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
dasd.c block: deprecate barrier and replace blk_queue_ordered() with blk_queue_flush() 2010-09-10 12:35:36 +02:00
dcssblk.c block: push down BKL into .open and .release 2010-08-07 18:25:34 +02:00
Kconfig
Makefile
xpram.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00