Re: [PATCH 03/26] block: wire up block device iopoll method

2018-12-06 Thread Jens Axboe
On 12/6/18 12:15 PM, Christoph Hellwig wrote: > On Thu, Dec 06, 2018 at 12:14:29PM -0700, Jens Axboe wrote: >> On 12/6/18 12:11 PM, Jeff Moyer wrote: >>> Jens Axboe writes: >>> From: Christoph Hellwig Just call blk_poll on the iocb cookie, we can derive the block device from

Re: [PATCH 03/26] block: wire up block device iopoll method

2018-12-06 Thread Christoph Hellwig
On Thu, Dec 06, 2018 at 12:14:29PM -0700, Jens Axboe wrote: > On 12/6/18 12:11 PM, Jeff Moyer wrote: > > Jens Axboe writes: > > > >> From: Christoph Hellwig > >> > >> Just call blk_poll on the iocb cookie, we can derive the block device > >> from the inode trivially. > > > > Does this work for

Re: [PATCH 03/26] block: wire up block device iopoll method

2018-12-06 Thread Jens Axboe
On 12/6/18 12:11 PM, Jeff Moyer wrote: > Jens Axboe writes: > >> From: Christoph Hellwig >> >> Just call blk_poll on the iocb cookie, we can derive the block device >> from the inode trivially. > > Does this work for multi-device file systems? It should, that's the whole purpose of having

Re: [PATCH 03/26] block: wire up block device iopoll method

2018-12-06 Thread Jeff Moyer
Jens Axboe writes: > From: Christoph Hellwig > > Just call blk_poll on the iocb cookie, we can derive the block device > from the inode trivially. Does this work for multi-device file systems? -Jeff > > Reviewed-by: Johannes Thumshirn > Signed-off-by: Christoph Hellwig > Signed-off-by: