On 11/21/18 2:15 AM, Benny Halevy wrote:
>> +int iomap_dio_iopoll(struct kiocb *kiocb, bool spin)
>> +{
>> +struct iomap_dio *dio = kiocb->private;
>> +struct request_queue *q = READ_ONCE(dio->last_queue);
>> +
>> +if (!q || dio->cookie == BLK_QC_T_NONE)
>> +return 0;
>> +
On Tue, 2018-11-20 at 10:19 -0700, Jens Axboe wrote:
> Add an iomap implementation of fops->iopoll() and wire it up for
> XFS.
>
> Signed-off-by: Jens Axboe
> ---
> fs/iomap.c| 50 +--
> fs/xfs/xfs_file.c | 1 +
> include/linux/iomap.h |