From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH v7 0/5] vfs: Non-blockling buffered fs read (page cache only) Date: Fri, 27 Mar 2015 01:48:33 -0700 Message-ID: <20150327084833.GA7689@infradead.org> References: <20150326202824.65d03787.akpm@linux-foundation.org> <20150327081822.GA28669@infradead.org> <20150327013516.8c6788be.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Hellwig , Milosz Tanski , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-aio@kvack.org, Mel Gorman , Volker Lendecke , Tejun Heo , Jeff Moyer , Theodore Ts'o , Al Viro , linux-api@vger.kernel.org, Michael Kerrisk , linux-arch@vger.kernel.org, Dave Chinner To: Andrew Morton Return-path: Content-Disposition: inline In-Reply-To: <20150327013516.8c6788be.akpm@linux-foundation.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Fri, Mar 27, 2015 at 01:35:16AM -0700, Andrew Morton wrote: > fincore() doesn't have to be ugly. Please address the design issues I > raised. How is pread2() useful to the class of applications which > cannot proceed until all data is available? It actually makes them work correctly? preadv2( ..., DONTWAIT) will return -EGAIN, which causes them to bounce to the threadpool where they call preadv(...).