From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754454AbcIJHw6 (ORCPT ); Sat, 10 Sep 2016 03:52:58 -0400 Received: from mail-dm3nam03on0133.outbound.protection.outlook.com ([104.47.41.133]:5691 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750861AbcIJHw4 (ORCPT ); Sat, 10 Sep 2016 03:52:56 -0400 From: Matthew Wilcox To: Christoph Hellwig CC: Ross Zwisler , "Theodore Ts'o" , "linux-kernel@vger.kernel.org" , Andrew Morton , "linux-nvdimm@ml01.01.org" , Dave Chinner , "linux-mm@kvack.org" , "Andreas Dilger" , Alexander Viro , Jan Kara , "linux-fsdevel@vger.kernel.org" , "linux-ext4@vger.kernel.org" Subject: RE: [PATCH v2 2/9] ext2: tell DAX the size of allocation holes Thread-Topic: [PATCH v2 2/9] ext2: tell DAX the size of allocation holes Thread-Index: AQHR/YpUPtTm+Y/KNkaFWHessHWGb6BZUZEAgAJ1OgCAA8+SAIAAWGiAgBGKCACAADKkYIAAw88AgAAAVDCAAAMZAIAAAjyQ Date: Sat, 10 Sep 2016 07:52:53 +0000 Message-ID: References: <20160823220419.11717-1-ross.zwisler@linux.intel.com> <20160823220419.11717-3-ross.zwisler@linux.intel.com> <20160825075728.GA11235@infradead.org> <20160826212934.GA11265@linux.intel.com> <20160829074116.GA16491@infradead.org> <20160829125741.cdnbb2uaditcmnw2@thunk.org> <20160909164808.GC18554@linux.intel.com> <20160910073012.GA5295@infradead.org> <20160910074228.GA23749@infradead.org> In-Reply-To: <20160910074228.GA23749@infradead.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=mawilcox@microsoft.com; x-originating-ip: [108.161.120.18] x-ms-office365-filtering-correlation-id: 57be7757-f3e6-4f74-1d65-08d3d94f787f x-microsoft-exchange-diagnostics: 1;DM2PR21MB0090;6:rdULE3HIxALqysR10LkO6g5ppRQizs4JcdJCzM5Uyi7nyNeaGJyzSTTMHT0NXKhaxCn+88HPkYQoauzF9qH1iPsa1PsICzn+Hu2tZUf8FM3YF66H4IpHw+E9vJFOQTk6Zn9oWaHDpkGxp44JINS4UaP/VnjsxS37QnD6+ZTDHa0rVdgG9v2Lo6fN6btSZaSpHJmVzQhm10HDo5q6tdpGzJHuvN8ZRGkg3bOtj5iKajfEAwvvAu/TMGiNRYIA1MTQRGl7CdjK5nw5ESQ+eLl1+ppNY/wj0D0oKvchUWhlPCEPJJBku3GfX7Y3oJkG+4gyBEK84UlrPB49G7k2Nl9RgQ==;5:55KAKG93WMF7n81zh+ixGrff/pC8/c0vcWlm/tHSonsW0HVew0SX18O57hK7aDRjYZ7WGH8AyjLPHdLfDzx5hmpUYittUjhnAASuwQHMwC+bujpHigAmPROc5cr0iNo0iA38aumPfC1IvVJDe7P0aQ==;24:65NEYDWe0ylcRi3KwL+Picm3Isj8HQffeDynoib+0muB/7OXn7efeMplWUzv1yxBFVUsUZg0YOH0Yi6duML3Sh+N/nL5P5j9HG3t+PT7joU=;7:+vNdvhYVYaSUA+TRfyU6RdZV1x958GI+LsNezfXsB0Yw4MATIDGxs2/3gu/F0jtVUICXZjZDl9wWzDMn2LfiFrcSJtbyX0z4922EFYcoOnT8uM4OUsAyw7fGiPn3AVfuWE7OcriBPRNhDmcjYvxu+bgjieBoWh7vx5O1K7PLZGQStlIsvVtV97gIWlY4z6Oud4I68RaksSBe9DQKRUj+CJFDwUy/Bwm5zwpN7Q3hQWWcp29gxgu311zR0/HCV3s8 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR21MB0090; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040176)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(61426038)(61427038);SRVR:DM2PR21MB0090;BCL:0;PCL:0;RULEID:;SRVR:DM2PR21MB0090; x-forefront-prvs: 0061C35778 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(7916002)(199003)(24454002)(189002)(106116001)(87936001)(81156014)(33656002)(81166006)(101416001)(10290500002)(9686002)(2900100001)(586003)(102836003)(3846002)(76176999)(122556002)(2906002)(54356999)(50986999)(8990500004)(86612001)(8676002)(92566002)(6116002)(7696004)(93886004)(8936002)(4326007)(5005710100001)(105586002)(68736007)(86362001)(5660300001)(66066001)(7846002)(97736004)(2950100001)(7416002)(7736002)(110136002)(10400500002)(3660700001)(11100500001)(99286002)(189998001)(106356001)(561944003)(305945005)(5002640100001)(19580405001)(77096005)(19580395003)(10090500001)(74316002)(3280700002)(76576001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM2PR21MB0090;H:DM2PR21MB0089.namprd21.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Sep 2016 07:52:53.4490 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR21MB0090 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id u8A7r4OU005919 From: Christoph Hellwig [mailto:hch@infradead.org] > On Sat, Sep 10, 2016 at 07:33:18AM +0000, Matthew Wilcox wrote: > > > caller specific is unaceptable. That being said your idea doesn't > > > sounds unreasonable, but will require a bit more work and has no > > > real short-term need. > > > > So your proposal is to remove buffer_heads from ext2? > > No, the proposal is to remove buffer_heads from XFS first, then GFS2 and then > maybe others like ext4. I'd like to remove buffer_heads from the DAX path for > ext2 and ext4 entitrely for sure (and direct I/O next). That's ... what I propose. The only use of buffer_head in my proposal is to communicate a single extent from the filesystem to the DAX core, and that can equally well use an iomap. Ross seems to think that converting the current DAX code over to using iomap requires converting all of ext2 away from buffer_head; are you saying he's wrong?