]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/nvme/host/core.c
block, drivers: add REQ_OP_FLUSH operation
authorMike Christie <mchristi@redhat.com>
Sun, 5 Jun 2016 19:32:23 +0000 (14:32 -0500)
committerJens Axboe <axboe@fb.com>
Tue, 7 Jun 2016 19:41:38 +0000 (13:41 -0600)
commit3a5e02ced11e22ecd9da3d6710afe15bcfee1d10
tree78f6d1a737b01b559b61310b9355f1f7ecfdd54c
parent4e1b2d52a80d79296a5d899d73249748dea71a53
block, drivers: add REQ_OP_FLUSH operation

This adds a REQ_OP_FLUSH operation that is sent to request_fn
based drivers by the block layer's flush code, instead of
sending requests with the request->cmd_flags REQ_FLUSH bit set.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
20 files changed:
Documentation/block/writeback_cache_control.txt
arch/um/drivers/ubd_kern.c
block/blk-flush.c
drivers/block/loop.c
drivers/block/nbd.c
drivers/block/osdblk.c
drivers/block/ps3disk.c
drivers/block/skd_main.c
drivers/block/virtio_blk.c
drivers/block/xen-blkfront.c
drivers/ide/ide-disk.c
drivers/md/dm.c
drivers/mmc/card/block.c
drivers/mmc/card/queue.h
drivers/mtd/mtd_blkdevs.c
drivers/nvme/host/core.c
drivers/scsi/sd.c
include/linux/blk_types.h
include/linux/blkdev.h
kernel/trace/blktrace.c