Return-Path: Received: from mail-io1-f66.google.com ([209.85.166.66]:37162 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725908AbeLFTOd (ORCPT ); Thu, 6 Dec 2018 14:14:33 -0500 Received: by mail-io1-f66.google.com with SMTP id f14so1288437iol.4 for ; Thu, 06 Dec 2018 11:14:32 -0800 (PST) Subject: Re: [PATCH 03/26] block: wire up block device iopoll method To: Jeff Moyer Cc: linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-aio@kvack.org, hch@lst.de References: <20181204233729.26776-1-axboe@kernel.dk> <20181204233729.26776-4-axboe@kernel.dk> From: Jens Axboe Message-ID: <72b6acc7-5017-a72c-3fb0-90e5ad95ebb7@kernel.dk> Date: Thu, 6 Dec 2018 12:14:29 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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 fops->iopoll. You should be able to derive it from inode + cookie. -- Jens Axboe