Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1029139pxu; Wed, 2 Dec 2020 09:15:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJww0wAHUDQRGyOCDKaOgRFi5eZZEOZIQwy5dgkeeUiQcDL1URqE1ENJu8oFa0rG6eAS9sVq X-Received: by 2002:aa7:dbca:: with SMTP id v10mr910357edt.219.1606929355826; Wed, 02 Dec 2020 09:15:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606929355; cv=none; d=google.com; s=arc-20160816; b=V0PfOVP7DKyPHzJaZ9+y1mvHEcoAVGErXZlOuc/uT1Xkhc8j/JE6+Vr5we3g4stkpE 1k9IL7WUFrbNQes9hzJWasbPyNzhFADskzMt0WzxHLux4OTkWT1x5Qazrh01PiGsUxYA SREozKyGP2SEHQOPAxkhnWwqPZisleABzuTkaaulRpGnmAkSpbLfH534NlTvOw3RIpUz gxD03c816TF1oJrZmZD85icfl+P8upayebKigUPMaTKONlciedcaWSX6DXWDlJe+FtEL ALHOJaWFLEc7xQEUwKocyIg1q0Rym6eFta3v3Qfy9rrIASac3/U1ZJZhXWj02aVUPbaA o8FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=XWLwMG6kfd3MUCI5lucAVZx3nuHwkp6VH316wVtO00I=; b=QATKA3X5Em+qvp7vQB1VH+DzK5oW7Q8pGWJe0QAuXroRGtsp7k36rrmm8SngJ1ohcK 1ob2dFgE+GTzPwoR4+SX8xYrkg07Cs/gnSX79AkGgyXgJKCNKfTDKraRCpC5Q6Cgsmlt MtYpwokl46/QULIpl2d4p+B7ANNODTNQn3C6tAIjXkwM3wHdSCpgly7jiU4nH43ol0aq qyl14+f0Jmisyr78uQhHZviyyIoJGgLJJXyVpz5ss8UNKPJWS7oGgzOg8Ummwm9uOSH+ 7t5lflnSwFB3u8JxYeKCFdCUjM+iNG6MiDVK/4BlDIqFezoM0DC+pdQllG/mWEH6uuIA TffA== 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 c26si350751eja.409.2020.12.02.09.15.31; Wed, 02 Dec 2020 09:15:55 -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 S2387479AbgLBRPA (ORCPT + 99 others); Wed, 2 Dec 2020 12:15:00 -0500 Received: from verein.lst.de ([213.95.11.211]:55144 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726221AbgLBRPA (ORCPT ); Wed, 2 Dec 2020 12:15:00 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id 47B9067373; Wed, 2 Dec 2020 18:14:16 +0100 (CET) Date: Wed, 2 Dec 2020 18:14:16 +0100 From: Christoph Hellwig To: Eric Sandeen Cc: ira.weiny@intel.com, fstests@vger.kernel.org, linux-kernel@vger.kernel.org, "Darrick J. Wong" , Dan Williams , Dave Chinner , Christoph Hellwig , "Theodore Y. Ts'o" , Jan Kara , Jeff Moyer , linux-ext4@vger.kernel.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, Eric Sandeen , David Howells Subject: Re: [RFC PATCH] common/rc: Fix _check_s_dax() for kernel 5.10 Message-ID: <20201202171416.GA4268@lst.de> References: <20201202160701.1458658-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.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Dec 02, 2020 at 11:10:50AM -0600, Eric Sandeen wrote: > xfstests gets used on distro kernels too, so relying on kernel version isn't > really something we can use to make determinations like this, unfortunately. > > Probably the best we can do is hope that the change makes it to stable and > distro kernels quickly, and the old flag fades into obscurity. > > Maybe worth a comment in the test mentioning the SNAFU, though, for anyone > investigating it when it fails on older kernels? I think we should explicitly check for the "old" or mixed up flag and error out. Given that the other meaning of the bit value should only be set on mount points it should be easy to test. That means we will reliably fail on old and distro kernels, but I think that is the right thing to do in this case.