Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755181AbbGCSak (ORCPT ); Fri, 3 Jul 2015 14:30:40 -0400 Received: from imap.thunk.org ([74.207.234.97]:39073 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755521AbbGCSaa (ORCPT ); Fri, 3 Jul 2015 14:30:30 -0400 Date: Fri, 3 Jul 2015 14:30:27 -0400 From: "Theodore Ts'o" To: Matthew Wilcox Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Alexander Viro , Matthew Wilcox , Andreas Dilger , linux-ext4@vger.kernel.org Subject: Re: [PATCH v2 3/6] ext4: Use ext4_get_block_write() for DAX Message-ID: <20150703183027.GH9456@thunk.org> Mail-Followup-To: Theodore Ts'o , Matthew Wilcox , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Alexander Viro , Matthew Wilcox , Andreas Dilger , linux-ext4@vger.kernel.org References: <1435934443-17090-1-git-send-email-matthew.r.wilcox@intel.com> <1435934443-17090-4-git-send-email-matthew.r.wilcox@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1435934443-17090-4-git-send-email-matthew.r.wilcox@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1005 Lines: 24 On Fri, Jul 03, 2015 at 10:40:40AM -0400, Matthew Wilcox wrote: > From: Matthew Wilcox > > DAX relies on the get_block function either zeroing newly allocated blocks > before they're findable by subsequent calls to get_block, or marking newly > allocated blocks as unwritten. ext4_get_block() cannot create unwritten > extents, but ext4_get_block_write() can. To be clear, this patch has no prerequistes or dependencies, right? That is, it would be fine if I take this through the ext4 git tree? Or is there a reason or a preference for carrying this patch somewhere else? Also, is there a way I can test the DAX functionality in ext4 using KVM? If so, can you give me a cheat sheet about how I can do that? Thanks, - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/