]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
block: new direct I/O implementation
authorChristoph Hellwig <hch@lst.de>
Thu, 17 Nov 2016 06:14:22 +0000 (23:14 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 17 Nov 2016 20:35:11 +0000 (13:35 -0700)
commit542ff7bf18c63cf403e36a4a1c71d86dc120d924
tree49c49c7743c96d6072ef417669d2d7f350fbb2a6
parent78250c02d9739b5b20f1884f8c1b30efc2f861e4
block: new direct I/O implementation

Similar to the simple fast path, but we now need a dio structure to
track multiple-bio completions.  It's basically a cut-down version
of the new iomap-based direct I/O code for filesystems, but without
all the logic to call into the filesystem for extent lookup or
allocation, and without the complex I/O completion workqueue handler
for AIO - instead we just use the FUA bit on the bios to ensure
data is flushed to stable storage.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
fs/block_dev.c