From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from 173-166-109-252-newengland.hfc.comcastbusiness.net ([173.166.109.252]:56480 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753319Ab1IINgT (ORCPT ); Fri, 9 Sep 2011 09:36:19 -0400 Date: Fri, 9 Sep 2011 09:36:12 -0400 From: Christoph Hellwig To: Mel Gorman Cc: Christoph Hellwig , Linux-MM , Linux-Netdev , Linux-NFS , LKML , Andrew Morton , David Miller , Trond Myklebust , Neil Brown , Peter Zijlstra Subject: Re: [PATCH 03/10] mm: Add support for a filesystem to control swap files Message-ID: <20110909133611.GB8155@infradead.org> References: <1315566054-17209-1-git-send-email-mgorman@suse.de> <1315566054-17209-4-git-send-email-mgorman@suse.de> <20110909130007.GA11810@infradead.org> <20110909131550.GV14369@suse.de> Content-Type: text/plain; charset=us-ascii In-Reply-To: <20110909131550.GV14369@suse.de> Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On Fri, Sep 09, 2011 at 02:15:50PM +0100, Mel Gorman wrote: > > I confess I haven't investigated this direction at > all yet. Is it correct that your previous objection was > http://linux.derkeiler.com/Mailing-Lists/Kernel/2009-10/msg00455.html > and the direct-IO patchset you were thinking of was > http://copilotco.com/mail-archives/linux-kernel.2009/msg87176.html ? Yes. > If so, are you suggesting that instead of swap_readpage and > swap_writepage I look into what is required for swap to use ->readpage > method and ->direct_IO aops? The equivalent of ->direct_IO should be used for both reads and writes.