summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/jade.h
diff options
context:
space:
mode:
authorMing Lei <ming.lei@canonical.com>2015-08-17 10:31:49 +0800
committerJens Axboe <axboe@fb.com>2015-09-23 11:01:16 -0600
commit2e5ab5f379f96a6207c45be40c357ebb1beb8ef3 (patch)
tree462de913cce458163752b33624537f479122b51b /drivers/isdn/hisax/jade.h
parente03a3d7a94e2485b6e2fa3fb630b9b3a30b65718 (diff)
downloadblackbird-obmc-linux-2e5ab5f379f96a6207c45be40c357ebb1beb8ef3.tar.gz
blackbird-obmc-linux-2e5ab5f379f96a6207c45be40c357ebb1beb8ef3.zip
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>
Diffstat (limited to 'drivers/isdn/hisax/jade.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud