Return-Path: linux-nfs-owner@vger.kernel.org Received: from zeniv.linux.org.uk ([195.92.253.2]:40906 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750781AbaLOGRk (ORCPT ); Mon, 15 Dec 2014 01:17:40 -0500 Date: Mon, 15 Dec 2014 06:17:34 +0000 From: Al Viro To: Omar Sandoval Cc: Andrew Morton , Trond Myklebust , Christoph Hellwig , David Sterba , linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 6/8] nfs: don't dirty ITER_BVEC pages read through direct I/O Message-ID: <20141215061734.GU22149@ZenIV.linux.org.uk> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: Sender: linux-nfs-owner@vger.kernel.org List-ID: On Sun, Dec 14, 2014 at 09:27:00PM -0800, Omar Sandoval wrote: > As with the generic blockdev code, kernel pages shouldn't be dirtied by > the direct I/O path. This really asks for an inlined helper (iter_is_bvec(iter) or something like that)