From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 9 May 2018 08:46:52 -0700 From: Matthew Wilcox To: Christoph Hellwig Cc: linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 07/33] mm: split ->readpages calls to avoid non-contiguous pages lists Message-ID: <20180509154652.GE1313@bombadil.infradead.org> References: <20180509074830.16196-1-hch@lst.de> <20180509074830.16196-8-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180509074830.16196-8-hch@lst.de> Sender: owner-linux-mm@kvack.org List-ID: On Wed, May 09, 2018 at 09:48:04AM +0200, Christoph Hellwig wrote: > That way file systems don't have to go spotting for non-contiguous pages > and work around them. It also kicks off I/O earlier, allowing it to > finish earlier and reduce latency. Makes sense. > + /* > + * Page already present? Kick off the current batch of > + * contiguous pages before continueing with the next "continuing" (no 'e')