Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3441576pxb; Mon, 9 Nov 2020 11:10:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJy33whbC93rVsHdYCkVr2IyNg0HNfEqpP8XJAl859r49xMtoLUESIOYInfPzyhw/zftDinA X-Received: by 2002:a05:6402:28e:: with SMTP id l14mr16743018edv.157.1604949057229; Mon, 09 Nov 2020 11:10:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604949057; cv=none; d=google.com; s=arc-20160816; b=kqSWE3e69uKHyBTOdVSuhi3FSQJzIKKka6OyED4K4NcEtkT7F/ggwZgXIgFWc4Tf5/ XvMk2HCUFQoJxD1sLV1Xp7+oPvYacpOG6FRPw54M5z+obEDGCIaKk/LTzQn/nTgheI+K PeAMc3lnpEyXA8vzffERh5mV97FYu4GAaQOPUDvReukWieRhtrJV51g/XSiVJIoV9rYA Yi/BdmO0RdlFQb9dD8z66vT1plWuZisGmZOD+TpM2hhRVganyj5nngXF7F0IaerymoBa hLp8DDRSXwus8bAvi7F/oZwHu5ykPYDukGddMAOYALWDe9qe/00ifQYVCOJEgJ8YMjVV 6f4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=LiQ+B1QZPId800yTHIHpFJWky4jCpaLu7LG04go3cMM=; b=TJX5y2dsJkK4Cd9weQd2OKW8qx9A9hrWosnM/TK+JAASkSIs3iu0zX76lU0P3R/XrM aexl9WBpBEjbuHy/ZbjAxF6isGzDKlZHQT2MB6Tp+GzPfvLy69/SKLz3LEJFj0H6Bdrl nVZQNxW1/mgOHeRs9G+T0PZou8ywExvmQx+pUmpPWcXuuCNEFNfYIrv/f5+qmthWIwAU wpfeZfrRSYBjtHhiKTSlwk1P+357Q2dtSIw9hR/1TptO/Z6FDNVFL1+hIPfMQjnUGK/C zCI+TNEelOJ/eYg9vOX+kdftuE+PFqb7gbFoeD3ouKWfArxPoKJbhxm6NIyfU0T75lgA XE5g== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x15si7892364ejj.568.2020.11.09.11.10.24; Mon, 09 Nov 2020 11:10:57 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729756AbgKITKT (ORCPT + 99 others); Mon, 9 Nov 2020 14:10:19 -0500 Received: from mx2.suse.de ([195.135.220.15]:51126 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729247AbgKITKT (ORCPT ); Mon, 9 Nov 2020 14:10:19 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id EED8FAB95; Mon, 9 Nov 2020 19:10:17 +0000 (UTC) From: Michal Suchanek To: linux-xfs@vger.kernel.org, linux-ext4@vger.kernel.org Cc: Michal Suchanek , "Theodore Ts'o" , Andreas Dilger , "Darrick J. Wong" , Ira Weiny , Jan Kara , linux-kernel@vger.kernel.org Subject: [PATCH 0/2] Tristate moount option comatibility fixup Date: Mon, 9 Nov 2020 20:10:07 +0100 Message-Id: X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Hello, after the tristate dax option change some applications fail to detect pmem devices because the dax option no longer shows in mtab when device is mounted with -o dax. At first it might seem stupid to detect pmem by looking at the mount options. However, if the application actually wants a mount point properly configured for dax rather than just backed by pmem I do not see any other easy way. Also this happens during early installtion steps when the mounted filesystem is typically empty and you want to perform non-destructive detection. If there are better ways to detect dax enabled mount poins I want to hear all about it. In the meantime we have legacy applications to support. It also makes sense that when you mount a device with -o dax it actually shows dax in the mount options. Not doind so is confusing for humans as well. Thanks Michal Michal Suchanek (2): xfs: show the dax option in mount options. ext4: show the dax option in mount options References: bsc#1178366 fs/ext4/super.c | 2 +- fs/xfs/xfs_super.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.26.2