summaryrefslogtreecommitdiff
path: root/include/uapi/linux/usb/functionfs.h
diff options
context:
space:
mode:
authorDolev Raviv <draviv@codeaurora.org>2015-07-01 12:52:25 +0300
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:01:36 -0700
commit59049166893ae5d883db1cd2706114a40391c0df (patch)
treeedff13a54113fc160df32018a33f437c87dad42e /include/uapi/linux/usb/functionfs.h
parent7472ef2e312ebc37de6a3194868773ed0f4dae8a (diff)
block: blk-flush: Add support for Barrier flag
A barrier request is used to control ordering of write requests without clearing the device's cache. LLD support for barrier is optional. If LLD doesn't support barrier, flush will be issued instead to insure logical correctness. To maintain this fallback flush s/w path and flags are appended. This patch implements the necessary requests marking in order to support the barrier feature in the block layer. This patch implements two major changes required for the barrier support. (1) A new flush execution-policy is added to support "ordered" requests and a fallback , in case barrier is not supported by LLD. (2) If there is a flush pending in the flush-queue, the received barrier is ignored, in order not to miss a demand for an actual flush. Change-Id: I6072d759e5c3bd983105852d81732e949da3d448 Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
Diffstat (limited to 'include/uapi/linux/usb/functionfs.h')
0 files changed, 0 insertions, 0 deletions