Files
linux/drivers/block
Ming Lei 2e5ab5f379 block: loop: prepare for supporing direct IO
This patches provides one interface for enabling direct IO
from user space:

	- userspace(such as losetup) can pass 'file' which is
	opened/fcntl as O_DIRECT

Also __loop_update_dio() is introduced to check if direct I/O
can be used on current loop setting.

The last big change is to introduce LO_FLAGS_DIRECT_IO flag
for userspace to know if direct IO is used to access backing
file.

Cc: linux-api@vger.kernel.org
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
2015-09-23 11:01:16 -06:00
..
2011-08-08 11:40:15 +02:00
2005-04-16 15:20:36 -07:00
2014-08-08 15:57:28 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2015-08-17 08:23:01 -06:00
2013-11-08 09:10:30 -07:00
2009-03-26 21:15:27 +01:00