]> git.baikalelectronics.ru Git - kernel.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)
commita35c10ce24158bf137fa1765ca9decb742083b50
tree49c49c7743c96d6072ef417669d2d7f350fbb2a6
parent691c865d1939e45d922b1e68a8a2b9ab1d97814d
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