commit | ab1cb278bc7027663adbfb0b81404f8398437e11 | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@canonical.com> | Mon Aug 17 10:31:50 2015 +0800 |
committer | Jens Axboe <axboe@fb.com> | Wed Sep 23 11:01:16 2015 -0600 |
tree | 9406e09aeb44e5caa2ee816a93124f966812f4f5 | |
parent | 2e5ab5f379f96a6207c45be40c357ebb1beb8ef3 [diff] |
block: loop: introduce ioctl command of LOOP_SET_DIRECT_IO If loop block is mounted via 'mount -o loop', it isn't easy to pass file descriptor opened as O_DIRECT, so this patch introduces a new command to support direct IO for this case. 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>