Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp629087pxb; Tue, 1 Feb 2022 07:17:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZwWnX5Rv8dAssFb8BPYwCeRxs16xiIJMtfLZXxj/1KrCUf43AEtdZx2gYkjrjLePQ1yHP X-Received: by 2002:aa7:c156:: with SMTP id r22mr25682390edp.106.1643728664017; Tue, 01 Feb 2022 07:17:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643728664; cv=none; d=google.com; s=arc-20160816; b=Yhv8Zzs3W2NqUw6Gdd9y3xCs0Rxm8guLdhvE0XwDd92rEw+H9xEPFpzESX07E05lqc SRWNkbU45TliENn3JMeXcj6f2L5dgLvw/l0s7Ww1XHwizAfV2wV+L37L40zpMg/0qX/O mNqKo6N/E94muQVo2erqfsPjM8ViKJUA6JZx7gA0GoZueJs0DuTlEyK62D3DUZtjY+ob DvS3vSISFv4Wp0lWt+C1EETrIqnJoHuYkwxeOeFe7M8NEBroYrb29KZWqZcSNLPxMQYS IcXIQgRrLBVjiVue0uv8zv9snbBO7qiowjJzb2EmAzvQgNpZue+5tIjnTgcKT1iTGFAE bsTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=aG51nXFb1bJVya6aXy+JNYYe9MLkWHPPOrMs8ErPvsQ=; b=OGIW/2FX3qsc8nyzBWlq708cYKJ+8lkp9UmTAV/qcbetzKZCSpHZnjKGAz2FGRwven MYNRLZZOIVcE9k8jIMYi3Xv9bFItjdQwoYskRwJ+Mmhz6QvADYRISbYxV9IDTq2Eq1/D 7s1aK6s3UUdOvuoQVh3UVzHmnuNKdDHiTm08SzQ7P8LRUhHvxFkJyQCfvqX+oFkVZ5sI /Oy3LWSKZFg39K2eby2TpbxsomqkN3yDhUak/qXnacvHfurHXbRgC6B1xXmRoAuF8tjY CB5nueZuB3tM5nEKwcHc/03C/2lIXiKggxCpkKW2+6uY78OO75unAJMRbWtpmuluT3pK OYeg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 sa14si9845693ejc.770.2022.02.01.07.17.16; Tue, 01 Feb 2022 07:17:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357394AbiAaCxH (ORCPT + 99 others); Sun, 30 Jan 2022 21:53:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236472AbiAaCw6 (ORCPT ); Sun, 30 Jan 2022 21:52:58 -0500 Received: from zeniv-ca.linux.org.uk (zeniv-ca.linux.org.uk [IPv6:2607:5300:60:148a::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9395C061714; Sun, 30 Jan 2022 18:52:57 -0800 (PST) Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nEMoH-005z7n-8s; Mon, 31 Jan 2022 02:52:53 +0000 Date: Mon, 31 Jan 2022 02:52:53 +0000 From: Al Viro To: Anthony Iliopoulos Cc: Andrew Morton , Deepa Dinamani , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND] mount: warn only once about timestamp range expiration Message-ID: References: <20220119202934.26495-1-ailiop@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220119202934.26495-1-ailiop@suse.com> Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 19, 2022 at 09:29:34PM +0100, Anthony Iliopoulos wrote: > Commit f8b92ba67c5d ("mount: Add mount warning for impending timestamp > expiry") introduced a mount warning regarding filesystem timestamp > limits, that is printed upon each writable mount or remount. > > This can result in a lot of unnecessary messages in the kernel log in > setups where filesystems are being frequently remounted (or mounted > multiple times). > > Avoid this by setting a superblock flag which indicates that the warning > has been emitted at least once for any particular mount, as suggested in > [1]. Looks sane, except for the locking rules for ->s_iflags stores...