From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from g9t1613g.houston.hp.com ([15.240.0.71]:59126 "EHLO g9t1613g.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751034AbcCVUPN (ORCPT ); Tue, 22 Mar 2016 16:15:13 -0400 Received: from g4t3428.houston.hp.com (g4t3428.houston.hp.com [15.201.208.56]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by g9t1613g.houston.hp.com (Postfix) with ESMTPS id 0F7176433F for ; Tue, 22 Mar 2016 20:15:12 +0000 (UTC) Message-ID: <1458680853.6393.592.camel@hpe.com> Subject: Re: [RFC v2] [PATCH 0/10] DAX page fault locking From: Toshi Kani To: Ross Zwisler , Jan Kara Cc: linux-nvdimm@lists.01.org, NeilBrown , "Wilcox, Matthew R" , linux-fsdevel@vger.kernel.org, brian.boylston@hpe.com Date: Tue, 22 Mar 2016 15:07:33 -0600 In-Reply-To: <20160322193212.GA11164@linux.intel.com> References: <1458566575-28063-1-git-send-email-jack@suse.cz> <20160322193212.GA11164@linux.intel.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, 2016-03-22 at 13:32 -0600, Ross Zwisler wrote: > On Mon, Mar 21, 2016 at 02:22:45PM +0100, Jan Kara wrote: > > [Sorry for repost but I accidentally sent initial email without > > patches] > > > > Hello, > > > > this is my second attempt at DAX page fault locking rewrite. Things now > > work reasonably well, it has survived full xfstests run on ext4. I > > guess I need to do more mmap targetted tests to unveil issues. Guys > > what do you used for DAX testing? > > I typically use xfstests for regression testing.  If we can come up with > new generally useful regression tests, especially ones concerning mmap > races, that would be awesome.  I guess it's just a choice between adding > them somewhere in xfstests or somewhere else like with the unit tests in > ndctl. Brian Boylston wrote a test for mmap race conditions and posted it before.  This test was very useful to fix the data corruption issue we had before. http://www.spinics.net/lists/linux-ext4/msg49876.html If there is anything we can do to make this test useful as regression tests? Thanks, -Toshi