Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp570516ybf; Wed, 26 Feb 2020 18:45:05 -0800 (PST) X-Google-Smtp-Source: APXvYqwCd7Jt+0VLV0leI/cekdQx63neE1i5L4Eevm0FySBXM1G3fhYybyzTsDDwvVOdnUqAiBC4 X-Received: by 2002:a9d:6446:: with SMTP id m6mr1544279otl.122.1582771505485; Wed, 26 Feb 2020 18:45:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582771505; cv=none; d=google.com; s=arc-20160816; b=OYXvQU35yfhF+cHSBVXAXcKMns1M+eeDSqFEXjjP5N2PBClGP5J0o70uSAOS8x4AcO ruct+TZCR07ieIrclYqwdz9uUZK/tIZ8XATALbcDz6mOxoDVvt34JJGHNb+6Vl9QHB4q zijuFVOxuR6tCprd6Q7t6gpS3eTwrnIJ4fxFp3Lei9KtDOGQxPCK7QjFyZ/lTIDkdpmH 0GheD9r+22OPX+R35WChYxMQbgywCkgLtIwfxdHvCdNVRnd0Se2bByJba4h83SHmaTXQ D8MXns6HWTA76IoR2wnfBiHu+X7Sc8fv7qMThyfmQ0brQQSX/VfzoMcMzmr8qcomHYUo 9KHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=xX9GfvNXRPZ6n0tD7Lm2dvTmVihemaJpLKrSA0j0zTE=; b=zVj+aeta2Slc4GAHzKba+y8Mv03x/P8+J+Aaw7oZ1cOBEV9X7zKNmhBVI3KTJznWqp WqX7olVIRvRkscpyhJ6FJSEJgPT1s5EcCnqrfiMDF0abCvd8Z+zPCycXUbYwbSjfgbzE unPDZTiqzJKExWzYMPZC4iWNrAMf9HNhlgAKhB5lqIxmcu5KtCPCsagN+0IWHnUdo1Te XkH0IskXeE/KY2EActfINdNo4pmtU9XLRk91KGslPOLPfZYdWqxY4sNkYiKXgKa0MwKi 23FrfOdrSq37NvbwNFOT2yhk9WEtinVqDBhK0VMYNjPCs6dodD8QdAo6NTBSX+CBEo/Y a96g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f62si540850oib.131.2020.02.26.18.44.52; Wed, 26 Feb 2020 18:45:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728265AbgB0Cn7 (ORCPT + 99 others); Wed, 26 Feb 2020 21:43:59 -0500 Received: from mga03.intel.com ([134.134.136.65]:57388 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728094AbgB0Cn6 (ORCPT ); Wed, 26 Feb 2020 21:43:58 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Feb 2020 18:43:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,490,1574150400"; d="scan'208";a="436874427" Received: from iweiny-desk2.sc.intel.com ([10.3.52.157]) by fmsmga005.fm.intel.com with ESMTP; 26 Feb 2020 18:43:56 -0800 Date: Wed, 26 Feb 2020 18:43:56 -0800 From: Ira Weiny To: Jeff Moyer Cc: linux-kernel@vger.kernel.org, Alexander Viro , "Darrick J. Wong" , Dan Williams , Dave Chinner , Christoph Hellwig , "Theodore Y. Ts'o" , Jan Kara , linux-ext4@vger.kernel.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH V4 00/13] Enable per-file/per-directory DAX operations V4 Message-ID: <20200227024356.GB28721@iweiny-DESK2.sc.intel.com> References: <20200221004134.30599-1-ira.weiny@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.1 (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 26, 2020 at 05:48:38PM -0500, Jeff Moyer wrote: > Hi, Ira, > > ira.weiny@intel.com writes: > > > From: Ira Weiny > > > > https://github.com/weiny2/linux-kernel/pull/new/dax-file-state-change-v4 > > > > Changes from V3: > > https://lore.kernel.org/lkml/20200208193445.27421-1-ira.weiny@intel.com/ > > > > * Remove global locking... :-D > > * put back per inode locking and remove pre-mature optimizations > > * Fix issues with Directories having IS_DAX() set > > * Fix kernel crash issues reported by Jeff > > * Add some clean up patches > > * Consolidate diflags to iflags functions > > * Update/add documentation > > * Reorder/rename patches quite a bit > > I left out patches 1 and 2, but applied the rest and tested. This > passes xfs tests in the following configurations: > 1) MKFS_OPTIONS="-m reflink=0" MOUNT_OPTIONS="-o dax" > 2) MKFS_OPTIONS="-m reflink=0" > but with the added configuration step of setting the dax attribute on > the mounted test directory. > > I also tested to ensure that reflink fails when a file has the dax > attribute set. I've got more testing to do, but figured I'd at least > let you know I've been looking at it. Thank you! I need to update my xfstest which is specific to this as well... I'll get to that tomorrow and send an updated patch... Thanks! Ira > > Thanks! > Jeff >