Re: [PATCH 04/19] iomap: wire up the iopoll method

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Store the request queue the last bio was submitted to in the iocb
private data in addition to the cookie so that we find the right block
device.  Also refactor the common direct I/O bio submission code into a
nice little helper.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Modified to use bio_set_polled().

Signed-off-by: Jens Axboe <axboe@xxxxxxxxx>
---
  fs/gfs2/file.c        |  2 ++
  fs/iomap.c            | 43 ++++++++++++++++++++++++++++---------------
  fs/xfs/xfs_file.c     |  1 +
  include/linux/iomap.h |  1 +
  4 files changed, 32 insertions(+), 15 deletions(-)

Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>

Cheers,

Hannes





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux