summaryrefslogtreecommitdiffstats
path: root/fs/block_dev.c
diff options
context:
space:
mode:
authorChristoph Hellwig2018-11-22 16:37:38 +0100
committerJens Axboe2019-02-24 16:20:17 +0100
commitfb7e160019f4abb4082740bfeb27a38f6389c745 (patch)
tree7898b05dee28219f4a573c7b31249c733c570b49 /fs/block_dev.c
parentloop: set GENHD_FL_NO_PART_SCAN after blkdev_reread_part() (diff)
downloadkernel-qcow2-linux-fb7e160019f4abb4082740bfeb27a38f6389c745.tar.gz
kernel-qcow2-linux-fb7e160019f4abb4082740bfeb27a38f6389c745.tar.xz
kernel-qcow2-linux-fb7e160019f4abb4082740bfeb27a38f6389c745.zip
fs: add an iopoll method to struct file_operations
This new methods is used to explicitly poll for I/O completion for an iocb. It must be called for any iocb submitted asynchronously (that is with a non-null ki_complete) which has the IOCB_HIPRI flag set. The method is assisted by a new ki_cookie field in struct iocb to store the polling cookie. Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions