On 2/8/19 6:34 PM, Jens Axboe wrote:
From: Christoph Hellwig <[email protected]>

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 <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
---
  Documentation/filesystems/vfs.txt | 3 +++
  include/linux/fs.h                | 2 ++
  2 files changed, 5 insertions(+)

Reviewed-by: Hannes Reinecke <[email protected]>

Cheers,

Hannes


Reply via email to