linux/block
Tejun Heo dd831006d5 block: misc cleanups in barrier code
Make the following cleanups in preparation of barrier/flush update.

* blk_do_ordered() declaration is moved from include/linux/blkdev.h to
  block/blk.h.

* blk_do_ordered() now returns pointer to struct request, with %NULL
  meaning "try the next request" and ERR_PTR(-EAGAIN) "try again
  later".  The third case will be dropped with further changes.

* In the initialization of proxy barrier request, data direction is
  already set by init_request_from_bio().  Drop unnecessary explicit
  REQ_WRITE setting and move init_request_from_bio() above REQ_FUA
  flag setting.

* add_request() is collapsed into __make_request().

These changes don't make any functional difference.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
2010-09-10 12:35:36 +02:00
..
blk-barrier.c block: misc cleanups in barrier code 2010-09-10 12:35:36 +02:00
blk-cgroup.c
blk-cgroup.h
blk-core.c block: misc cleanups in barrier code 2010-09-10 12:35:36 +02:00
blk-exec.c
blk-integrity.c
blk-ioc.c
blk-iopoll.c
blk-lib.c block: add secure discard 2010-08-12 08:43:30 -07:00
blk-map.c
blk-merge.c
blk-settings.c block: deprecate barrier and replace blk_queue_ordered() with blk_queue_flush() 2010-09-10 12:35:36 +02:00
blk-softirq.c
blk-sysfs.c
blk-tag.c
blk-timeout.c
blk.h block: misc cleanups in barrier code 2010-09-10 12:35:36 +02:00
bsg.c
cfq-iosched.c
cfq.h
compat_ioctl.c block: add secure discard 2010-08-12 08:43:30 -07:00
deadline-iosched.c
elevator.c block: add secure discard 2010-08-12 08:43:30 -07:00
genhd.c
ioctl.c block: add secure discard 2010-08-12 08:43:30 -07:00
Kconfig
Kconfig.iosched
Makefile
noop-iosched.c
scsi_ioctl.c