From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755497AbcECIns (ORCPT ); Tue, 3 May 2016 04:43:48 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:34713 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751016AbcECInq (ORCPT ); Tue, 3 May 2016 04:43:46 -0400 Date: Tue, 3 May 2016 01:43:43 -0700 From: Christoph Hellwig To: Waiman Long Cc: "Theodore Ts'o" , Andreas Dilger , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, Christoph Hellwig , Scott J Norton , Douglas Hatch Subject: Re: [RFC PATCH] ext4: Don't release mutex for DAX write Message-ID: <20160503084343.GA31363@infradead.org> References: <1462219138-44089-1-git-send-email-Waiman.Long@hpe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1462219138-44089-1-git-send-email-Waiman.Long@hpe.com> User-Agent: Mutt/1.5.24 (2015-08-30) 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 As explained in another thread I really think we need to get DAX to stop pretending to be direct I/O, which should also take care of the locking. The same issue also exists for ext2 and XFS so it needs to be solved at a higher level.