Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp42489ybz; Tue, 21 Apr 2020 14:51:28 -0700 (PDT) X-Google-Smtp-Source: APiQypIzMntyfguiNZFbzFgLlxn6y5hjMO6xssacWi1vAOBxFBeT/BVopYL68FG8em4pUGb3KBzn X-Received: by 2002:a17:906:9442:: with SMTP id z2mr21934307ejx.249.1587505888737; Tue, 21 Apr 2020 14:51:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587505888; cv=none; d=google.com; s=arc-20160816; b=jGrhEYHWoPdhXSyHuIOBcP9e4hRR8Hhe8SK4q+4zh925wREugmqETuLOqvX+QLcOcb GNGRwcHV9auupKNSxB/WmVnVShOIABTJH9Cf8Pq1Gw2VVIyZPk2Crp0Q+XW4WYSm9qXK PtFxGN2XBQQ1r06Shpr9AavCNmY8Sctd2P8wZ3sRVCgqm+iylpPwv6iYYL3Kb144VHAB BeciWFFT3WrHyd9NokVr5vp2RGPGaqVd0VVr/q6YgmWHLzTDCYAjijpHQjbzENqcrouk eyXKzE+Sq7KZ33V05OWBVwSEUkW2b+QMBXUMeFUi/i5WbqQ7Lw0Wr0D8OpjEtyAGZRYf K/oQ== 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:ironport-sdr:ironport-sdr; bh=M8JeyAg7yIhXJ1JC1lfuGzZ1wLQGg/C3Zey8lOFtJB4=; b=tjcH4B/Q+oohBxxLG4vPKmdS1c/sKlEgtoBwKO/9oEzngBHNiHyQj+e1kFK3S5zr7V LB2YZRq1ftSZppD+qAg6jQTW34sj6ktPRceJaIz5ADO/v1zPJeTIiHxP71EtVdzvQUiU HEG+SPO4bhxzIoS6aoAZ/aq3EvA1ZT3xa6D4YkHU5EP3ZTqG7Oyx1Tq5TQAQfxz0CwUj WtyLcYwCbDf2Wfkl2PlED75PpG1JqUxGcABFe/KJZh2qHrB3I15i36mNF0guXqDra+AQ UTWzwnW4EauFWxmG3yNQ4jp3VHJjSlzETERJlC6WlV+2MAZutghhVAtyXOWwXOFrp+ri oxhw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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. [23.128.96.18]) by mx.google.com with ESMTP id ca25si2255455edb.389.2020.04.21.14.51.04; Tue, 21 Apr 2020 14:51:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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 S1726201AbgDUVtx (ORCPT + 99 others); Tue, 21 Apr 2020 17:49:53 -0400 Received: from mga11.intel.com ([192.55.52.93]:57953 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726079AbgDUVtx (ORCPT ); Tue, 21 Apr 2020 17:49:53 -0400 IronPort-SDR: BOQAzbOAy5KHQQ8xToWrRII8kPxqF4ya5WRv96TgPbD1YPiRE2o2p95UK8Vld8Ej8paevJQ0GT diyRwu8TMa8g== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2020 14:49:53 -0700 IronPort-SDR: eVfo8RINT9OgNT3GeFKPNilkLAYIFW8XAxi5dWgdN+xqxjdVrKmQ/RJCg+tlL0tecIWGRGx6iy IIWxugc7skpw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,411,1580803200"; d="scan'208";a="245797152" Received: from iweiny-desk2.sc.intel.com ([10.3.52.147]) by fmsmga007.fm.intel.com with ESMTP; 21 Apr 2020 14:49:53 -0700 Date: Tue, 21 Apr 2020 14:49:53 -0700 From: Ira Weiny To: "Darrick J. Wong" Cc: linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, Al Viro , Jan Kara , Dan Williams , Dave Chinner , Christoph Hellwig , "Theodore Y. Ts'o" , Jeff Moyer , linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH V9 11/11] Documentation/dax: Update Usage section Message-ID: <20200421214952.GE3372712@iweiny-DESK2.sc.intel.com> References: <20200421191754.3372370-1-ira.weiny@intel.com> <20200421191754.3372370-12-ira.weiny@intel.com> <20200421203423.GE6742@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200421203423.GE6742@magnolia> User-Agent: Mutt/1.11.1 (2018-12-01) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Apr 21, 2020 at 01:34:23PM -0700, Darrick J. Wong wrote: > On Tue, Apr 21, 2020 at 12:17:53PM -0700, ira.weiny@intel.com wrote: > > From: Ira Weiny > > > > Update the Usage section to reflect the new individual dax selection > > functionality. > > [snip] > > + > > +The default state is 'inode'. Given underlying media support, the following > > +algorithm is used to determine the effective mode of the file S_DAX on a > > +capable device. > > + > > + S_DAX = FS_XFLAG_DAX; > > + > > + if (dax_mount == "always") > > + S_DAX = true; > > + else if (dax_mount == "off" > > Missing trailing parenthesis here. Done. > > > + S_DAX = false; > > + > > +To reiterate: Setting, and inheritance, continues to affect FS_XFLAG_DAX even > > +while the file system is mounted with a dax override. However, in-core inode > > +state (S_DAX) will continue to be overridden until the filesystem is remounted > > +with dax=inode and the inode is evicted." > > Trailing double-quote here. Fixed done. > > Otherwise, this looks good to me. thanks, Ira