From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932553AbcHYH5b (ORCPT ); Thu, 25 Aug 2016 03:57:31 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:42310 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751297AbcHYH5a (ORCPT ); Thu, 25 Aug 2016 03:57:30 -0400 Date: Thu, 25 Aug 2016 00:57:28 -0700 From: Christoph Hellwig To: Ross Zwisler Cc: linux-kernel@vger.kernel.org, "Theodore Ts'o" , Andrew Morton , linux-nvdimm@ml01.01.org, Matthew Wilcox , 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 Message-ID: <20160825075728.GA11235@infradead.org> References: <20160823220419.11717-1-ross.zwisler@linux.intel.com> <20160823220419.11717-3-ross.zwisler@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160823220419.11717-3-ross.zwisler@linux.intel.com> User-Agent: Mutt/1.6.1 (2016-04-27) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ross, can you take at my (fully working, but not fully cleaned up) version of the iomap based DAX code here: http://git.infradead.org/users/hch/vfs.git/shortlog/refs/heads/iomap-dax By using iomap we don't even have the size hole problem and totally get out of the reverse-engineer what buffer_heads are trying to tell us business. It also gets rid of the other warts of the DAX path due to pretending to be like direct I/O, so this might be a better way forward also for ext2/4.