summaryrefslogtreecommitdiffstats
path: root/Documentation/cdrom
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2016-04-12 20:32:46 +0200
committerJens Axboe <axboe@fb.com>2016-04-12 23:46:27 +0200
commit93e9d8e836cb1a9a58b33eb6643bf061c6119ef2 (patch)
tree17a50abdadaa58686983510230932323bf5d123c /Documentation/cdrom
parentblk-mq: Export tagset iter function (diff)
downloadlinux-93e9d8e836cb1a9a58b33eb6643bf061c6119ef2.tar.xz
linux-93e9d8e836cb1a9a58b33eb6643bf061c6119ef2.zip
block: add ability to flag write back caching on a device
Add an internal helper and flag for setting whether a queue has write back caching, or write through (or none). Add a sysfs file to show this as well, and make it changeable from user space. This will replace the (awkward) blk_queue_flush() interface that drivers currently use to inform the block layer of write cache state and capabilities. Signed-off-by: Jens Axboe <axboe@fb.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'Documentation/cdrom')
0 files changed, 0 insertions, 0 deletions