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 RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux