Thread (62 messages) 62 messages, 5 authors, 2019-02-13

Re: [PATCH 01/19] fs: add an iopoll method to struct file_operations

From: Hannes Reinecke <hare@suse.de>
Date: 2019-02-09 09:21:00
Also in: linux-block

On 2/8/19 6:34 PM, Jens Axboe wrote:
From: Christoph Hellwig <hch@lst.de>

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: Johannes Thumshirn <redacted>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
---
  Documentation/filesystems/vfs.txt | 3 +++
  include/linux/fs.h                | 2 ++
  2 files changed, 5 insertions(+)
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes


--
To unsubscribe, send a message with 'unsubscribe linux-aio' in
the body to majordomo@kvack.org.  For more info on Linux AIO,
see: http://www.kvack.org/aio/
Don't email: <a href=mailto:"aart@kvack.org">aart@kvack.org</a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help