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>
Showing
- block/elevator.c 8 additions, 0 deletionsblock/elevator.c
- block/ll_rw_blk.c 39 additions, 19 deletionsblock/ll_rw_blk.c
- include/linux/bio.h 17 additions, 2 deletionsinclude/linux/bio.h
- include/linux/blkdev.h 1 addition, 0 deletionsinclude/linux/blkdev.h
- mm/bounce.c 6 additions, 0 deletionsmm/bounce.c
Loading
Please register or sign in to comment