From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 29 Sep 2015 20:04:21 -0600 From: Ross Zwisler Subject: Re: [PATCH] dax: fix deadlock in __dax_fault Message-ID: <20150930020421.GA2417@linux.intel.com> References: <1443040800-5460-1-git-send-email-ross.zwisler@linux.intel.com> <20150924025225.GT3902@dastard> <20150924155029.GA6008@linux.intel.com> <20150925025357.GU3902@dastard> <20150926031745.GA560@linux.intel.com> <20150928005904.GY19114@dastard> <20150928224001.GA21955@linux.intel.com> <20150929024458.GC27164@dastard> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150929024458.GC27164@dastard> Sender: linux-fsdevel-owner@vger.kernel.org To: Dave Chinner , Eric Sandeen , Jan Kara Cc: Ross Zwisler , linux-kernel@vger.kernel.org, Alexander Viro , Matthew Wilcox , linux-fsdevel@vger.kernel.org, Andrew Morton , Dan Williams , "Kirill A. Shutemov" , linux-nvdimm@lists.01.org List-ID: On Tue, Sep 29, 2015 at 12:44:58PM +1000, Dave Chinner wrote: <> > Already testing a kernel with those reverted. My current DAX patch > stack is (bottom is first commit in stack): > > f672ae4 xfs: add ->pfn_mkwrite support for DAX > 6855c23 xfs: remove DAX complete_unwritten callback > e074bdf Revert "dax: fix race between simultaneous faults" > 8ba0157 Revert "mm: take i_mmap_lock in unmap_mapping_range() for DAX" > a2ce6a5 xfs: DAX does not use IO completion callbacks > 246c52a xfs: update size during allocation for DAX > 9d10e7b xfs: Don't use unwritten extents for DAX > eaef807 xfs: factor out sector mapping. > e7f2d50 xfs: introduce per-inode DAX enablement Dave, would you be willing to share these patches with me, even if they are just RFC? I'm working through how to add equivalent support in both ext2 and ext4, and a conceptual example in XFS would be really helpful. Eric and Jan, if you guys have any spare cycles to help with the ext2/ext4 bits, I certainly wouldn't say no. :) From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752865AbbI3CE0 (ORCPT ); Tue, 29 Sep 2015 22:04:26 -0400 Received: from mga11.intel.com ([192.55.52.93]:10177 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751115AbbI3CEX (ORCPT ); Tue, 29 Sep 2015 22:04:23 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,610,1437462000"; d="scan'208";a="654758166" Date: Tue, 29 Sep 2015 20:04:21 -0600 From: Ross Zwisler To: Dave Chinner , Eric Sandeen , Jan Kara Cc: Ross Zwisler , linux-kernel@vger.kernel.org, Alexander Viro , Matthew Wilcox , linux-fsdevel@vger.kernel.org, Andrew Morton , Dan Williams , "Kirill A. Shutemov" , linux-nvdimm@ml01.01.org, Jan Kara Subject: Re: [PATCH] dax: fix deadlock in __dax_fault Message-ID: <20150930020421.GA2417@linux.intel.com> Mail-Followup-To: Ross Zwisler , Dave Chinner , Eric Sandeen , Jan Kara , linux-kernel@vger.kernel.org, Alexander Viro , Matthew Wilcox , linux-fsdevel@vger.kernel.org, Andrew Morton , Dan Williams , "Kirill A. Shutemov" , linux-nvdimm@lists.01.org References: <1443040800-5460-1-git-send-email-ross.zwisler@linux.intel.com> <20150924025225.GT3902@dastard> <20150924155029.GA6008@linux.intel.com> <20150925025357.GU3902@dastard> <20150926031745.GA560@linux.intel.com> <20150928005904.GY19114@dastard> <20150928224001.GA21955@linux.intel.com> <20150929024458.GC27164@dastard> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150929024458.GC27164@dastard> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 29, 2015 at 12:44:58PM +1000, Dave Chinner wrote: <> > Already testing a kernel with those reverted. My current DAX patch > stack is (bottom is first commit in stack): > > f672ae4 xfs: add ->pfn_mkwrite support for DAX > 6855c23 xfs: remove DAX complete_unwritten callback > e074bdf Revert "dax: fix race between simultaneous faults" > 8ba0157 Revert "mm: take i_mmap_lock in unmap_mapping_range() for DAX" > a2ce6a5 xfs: DAX does not use IO completion callbacks > 246c52a xfs: update size during allocation for DAX > 9d10e7b xfs: Don't use unwritten extents for DAX > eaef807 xfs: factor out sector mapping. > e7f2d50 xfs: introduce per-inode DAX enablement Dave, would you be willing to share these patches with me, even if they are just RFC? I'm working through how to add equivalent support in both ext2 and ext4, and a conceptual example in XFS would be really helpful. Eric and Jan, if you guys have any spare cycles to help with the ext2/ext4 bits, I certainly wouldn't say no. :) From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ross Zwisler Subject: Re: [PATCH] dax: fix deadlock in __dax_fault Date: Tue, 29 Sep 2015 20:04:21 -0600 Message-ID: <20150930020421.GA2417@linux.intel.com> References: <1443040800-5460-1-git-send-email-ross.zwisler@linux.intel.com> <20150924025225.GT3902@dastard> <20150924155029.GA6008@linux.intel.com> <20150925025357.GU3902@dastard> <20150926031745.GA560@linux.intel.com> <20150928005904.GY19114@dastard> <20150928224001.GA21955@linux.intel.com> <20150929024458.GC27164@dastard> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Ross Zwisler , linux-kernel@vger.kernel.org, Alexander Viro , Matthew Wilcox , linux-fsdevel@vger.kernel.org, Andrew Morton , Dan Williams , "Kirill A. Shutemov" , linux-nvdimm@lists.01.org, Jan Kara To: Dave Chinner , Eric Sandeen , Jan Kara Return-path: Received: from mga11.intel.com ([192.55.52.93]:10177 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751115AbbI3CEX (ORCPT ); Tue, 29 Sep 2015 22:04:23 -0400 Content-Disposition: inline In-Reply-To: <20150929024458.GC27164@dastard> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, Sep 29, 2015 at 12:44:58PM +1000, Dave Chinner wrote: <> > Already testing a kernel with those reverted. My current DAX patch > stack is (bottom is first commit in stack): > > f672ae4 xfs: add ->pfn_mkwrite support for DAX > 6855c23 xfs: remove DAX complete_unwritten callback > e074bdf Revert "dax: fix race between simultaneous faults" > 8ba0157 Revert "mm: take i_mmap_lock in unmap_mapping_range() for DAX" > a2ce6a5 xfs: DAX does not use IO completion callbacks > 246c52a xfs: update size during allocation for DAX > 9d10e7b xfs: Don't use unwritten extents for DAX > eaef807 xfs: factor out sector mapping. > e7f2d50 xfs: introduce per-inode DAX enablement Dave, would you be willing to share these patches with me, even if they are just RFC? I'm working through how to add equivalent support in both ext2 and ext4, and a conceptual example in XFS would be really helpful. Eric and Jan, if you guys have any spare cycles to help with the ext2/ext4 bits, I certainly wouldn't say no. :)