From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Date: Thu, 20 Jul 2023 14:09:10 +0200 Subject: [Cluster-devel] [PATCH 16/17] block: use iomap for writes to block devices In-Reply-To: References: <20230424054926.26927-1-hch@lst.de> <20230424054926.26927-17-hch@lst.de> Message-ID: <20230720120910.GB13266@lst.de> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Wed, May 24, 2023 at 02:33:13PM +0100, Matthew Wilcox wrote: > As you can see, do_page_cache_ra() does limit readahead to i_size. > Is ractl->mapping->host the correct way to find the inode? I always > get confused. As far as I can tell it is the right inode, the indirection through file->f_mapping ensures it actually points to the backing inode.