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

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

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

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

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@lst.de>

Modified to use bio_set_polled().

Signed-off-by: Jens Axboe <axboe@kernel.dk>
---
  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@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