From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from casper.infradead.org ([85.118.1.10]:49267 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755082Ab1ILMHO convert rfc822-to-8bit (ORCPT ); Mon, 12 Sep 2011 08:07:14 -0400 Subject: Re: [PATCH 03/10] mm: Add support for a filesystem to control swap files From: Peter Zijlstra To: Mel Gorman Cc: Christoph Hellwig , Linux-MM , Linux-Netdev , Linux-NFS , LKML , Andrew Morton , David Miller , Trond Myklebust , Neil Brown Date: Mon, 12 Sep 2011 14:06:43 +0200 In-Reply-To: <20110912115605.GB3207@suse.de> 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> <20110909133611.GB8155@infradead.org> <1315818285.26517.18.camel@twins> <20110912093058.GA3207@suse.de> <1315821369.26517.21.camel@twins> <20110912115605.GB3207@suse.de> Content-Type: text/plain; charset="UTF-8" Message-ID: <1315829203.26517.30.camel@twins> Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On Mon, 2011-09-12 at 12:56 +0100, Mel Gorman wrote: > I took a look at what was involved with doing the block lookups in > ext4. It's what led to patch 4 of this series because it was necessary that > the filesystem get the same information as the generic handler. It got a > bit messy but looked like it would have worked if I kept at it. I stopped > because I did nt see a major advantage with swap_writepage() looking up > the block map instead of having looked it up in advance with bmap() but > I could have missed something. IIRC the filesystem folks don't like the bmap thing and would like it to go away.. could be they changed their minds again though, who knows ;-)