block: Initial support for data-less (or empty) barrier support
authorJens Axboe <jens.axboe@oracle.com>
Thu, 27 Sep 2007 11:01:25 +0000 (13:01 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 16 Oct 2007 09:03:56 +0000 (11:03 +0200)
commitbf2de6f5a4faf0197268f18d08969b003b87b6e8
tree16830a15a7effea352445a7aba5dbb433314d3eb
parentc07e2b41291853b19fff11ceee3657df252a4e42
block: Initial support for data-less (or empty) barrier support

This implements functionality to pass down or insert a barrier
in a queue, without having data attached to it. The ->prepare_flush_fn()
infrastructure from data barriers are reused to provide this
functionality.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/elevator.c
block/ll_rw_blk.c
include/linux/bio.h
include/linux/blkdev.h
mm/bounce.c