Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3450576pxb; Mon, 9 Nov 2020 11:25:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJwM2XtbIetUMCwz2K8AZncc+9e/nn5Spr4QgQ2gXvZMlACkyyLNXtj8o74JlhF8L0cCQHcX X-Received: by 2002:a50:9fe6:: with SMTP id c93mr16896672edf.30.1604949913693; Mon, 09 Nov 2020 11:25:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604949913; cv=none; d=google.com; s=arc-20160816; b=isYCMAcEYvx0dzjQnPyvoL902czRj7rwVhpsVHLdh8MJ4s7ZZKA5092p+3wjfKxtor GbrfGK+6JEytMKtJPVIXQRtR8pKGibrg+/lan1Oh2elrKVnIfyaymn4M/SVZiWI2mA2I +Z48EJMEI/GAx/NWj8vZQvmQxX5ecRssFEl9KIAWZjaXDOBxF+6nQf3EoQ+eeWu8Pq3W M8xUqPo9W19+fDweT3Yi01tUd8nYSq7zCs4e2opL1+82tms3TFOXpPPHGSqWcRhRuNuZ jJYXd2EFk2snklC3bxQCXZ/9hV9pR6TM7VchMmDhG+ZLgY9VbuDHJrew2kLJPCW3aOJY xCGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=EJ2xV4attu41zzTE55YEVstvKJAQi6Yf7o04ZIsKKH4=; b=ViRjdoytemf860W5U9kdHyUm04WX8+spJotIXep7bp/tuHQB+suglbbpM+simmwi/9 hERgoPGltFd3SBHfYk1TCDBUioJdXdWsCg+33dI9ks2eo1ZigDtahxdky6wLtFN9ig5f BzHL60J+Px6iFbL+M9BBNgFLfPn/Ij1ttWsEY7a4pEGNaNViSe0iMsq87+xB+Pcv/jP5 vEsjMDBmePgYy2+fcjyjoqRL1jBnxGzfyI20M9NwNbqIm40lpPxDuGib8FnYCxgQzswi GKaDm0IS2pMw2VZW7eKE8BxRGsjPDiZa76kXQlD2l/sUYs81WGGtmgj1dMrfy+D72V6v OMAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b="mNaVAmT/"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b5si8085598edw.262.2020.11.09.11.24.50; Mon, 09 Nov 2020 11:25:13 -0800 (PST) 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; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b="mNaVAmT/"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730045AbgKITYa (ORCPT + 99 others); Mon, 9 Nov 2020 14:24:30 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:58242 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729289AbgKITYa (ORCPT ); Mon, 9 Nov 2020 14:24:30 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0A9J9PjD033536; Mon, 9 Nov 2020 19:24:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2020-01-29; bh=EJ2xV4attu41zzTE55YEVstvKJAQi6Yf7o04ZIsKKH4=; b=mNaVAmT/TDnqvhLcymYKN7dYtBI+9FYRfrvmdgeS10guq+i1TPCtxu6gzBF/P4p+JcRB FATJR9eAPpb3tCMixrMM689HUp93YPbi6qnIIYNIABVVfIZDsjExvnSQv7TkTlu3oBih DKHDQj5EVD2c9AzTnD5ZzQVY6kLEgGbjKcsimPJhWgQF/DWPCuzpYhe0dJN3qdfTNe5h GwDNFEAy5ROwdUIpM8vqalr1mL5Bi/MJXAcAlmgGwynLzpVyV+1NuHC1xyUzskVcGx1/ fjoZ1CKTMbg/Y4iv0tBy8lHc3p4ygArji4Kjh1tBciHaOin79lK36vXDqCzsBplltzDP Bg== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2120.oracle.com with ESMTP id 34p72edy9c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 09 Nov 2020 19:24:23 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0A9J59g1172874; Mon, 9 Nov 2020 19:24:22 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3030.oracle.com with ESMTP id 34p55mbwp8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 09 Nov 2020 19:24:22 +0000 Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 0A9JOKB3022047; Mon, 9 Nov 2020 19:24:20 GMT Received: from localhost (/10.159.146.56) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 09 Nov 2020 11:24:20 -0800 Date: Mon, 9 Nov 2020 11:24:19 -0800 From: "Darrick J. Wong" To: Michal Suchanek Cc: linux-xfs@vger.kernel.org, linux-ext4@vger.kernel.org, "Theodore Ts'o" , Andreas Dilger , Ira Weiny , Jan Kara , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] xfs: show the dax option in mount options. Message-ID: <20201109192419.GC9695@magnolia> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9800 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 spamscore=0 phishscore=0 mlxlogscore=999 mlxscore=0 malwarescore=0 bulkscore=0 suspectscore=1 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011090129 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9800 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxlogscore=999 mlxscore=0 malwarescore=0 suspectscore=1 lowpriorityscore=0 adultscore=0 phishscore=0 priorityscore=1501 spamscore=0 impostorscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011090129 Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Mon, Nov 09, 2020 at 08:10:08PM +0100, Michal Suchanek wrote: > xfs accepts both dax and dax_enum but shows only dax_enum. Show both > options. > > Fixes: 8d6c3446ec23 ("fs/xfs: Make DAX mount option a tri-state") > Signed-off-by: Michal Suchanek > --- > fs/xfs/xfs_super.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c > index e3e229e52512..a3b00003840d 100644 > --- a/fs/xfs/xfs_super.c > +++ b/fs/xfs/xfs_super.c > @@ -163,7 +163,7 @@ xfs_fs_show_options( > { XFS_MOUNT_GRPID, ",grpid" }, > { XFS_MOUNT_DISCARD, ",discard" }, > { XFS_MOUNT_LARGEIO, ",largeio" }, > - { XFS_MOUNT_DAX_ALWAYS, ",dax=always" }, > + { XFS_MOUNT_DAX_ALWAYS, ",dax,dax=always" }, NAK, programs that require DAX semantics for files stored on XFS must call statx to detect the STATX_ATTR_DAX flag, as outlined in "Enabling DAX on xfs" in Documentation/filesystems/dax.txt. --D > { XFS_MOUNT_DAX_NEVER, ",dax=never" }, > { 0, NULL } > }; > -- > 2.26.2 >