Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1243847pxb; Fri, 21 Jan 2022 13:12:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJyYqCKxTTLImQW/6jBpCrh4kptlzlOca0zAvPkIlDS6rwYpNZagcEESLBFV7Q1l4cyfhqZY X-Received: by 2002:a05:6a00:a1b:b0:4bc:1c27:8fd8 with SMTP id p27-20020a056a000a1b00b004bc1c278fd8mr5043048pfh.64.1642799535261; Fri, 21 Jan 2022 13:12:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642799535; cv=none; d=google.com; s=arc-20160816; b=Bc7EPwY8FtykMzf8FjW6r+FPtWTSzxgOYmlusAm1Tx1GVCNC/ZGr5UCulNQHqaWsb3 vk6O1hwfFKqpPKUiK6dLTDrSA8811iNRh5ip9u8gd/I/BdUWrFonnKEGfQVWsnWCi2VM mvEw924aCksqb97qcayGQuQkdIz+GY02Yfkbk8YWLgVy7bsq2CBr1hHYPNp0EAjTdXXb S0uPt0rI5GTFeMHp5JWWupV1zZ2urzfXjabHerhc9ZZgi/Bb11R84KndT/WoXq6TRjbl E2yJZVf0eB7xatFqyC/rDrvRqzxUqFH4zmMSXItNHC6QDQUQCE0pROaAdRKJDHFxhkgo gXkw== 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=f9viNTmIs/387gLgamJSgiWHZ8xGr75T3bpz5RJBez8=; b=PEJWIxqA+LHp21wZ8zIGIUHXgt51FmSx7Fc6bysxEXi53VGjUaoeaZXbC9fesYYksr cwR3wtAWm2iQ51kO7tOYcML5m+2IRHOH/8IiD7GPu/JjpNIbP11Y/M3DyWOh+dvW0DDj V2GNCC8Jp+fFjo2IG7DRewkBDBl/+63JPBnIrAgM+GL7YAve+PhkBy6KR4an8gILcm5k 42Eeu/PUAxuHIjmi6FFIyTpnkFmK6yBV0ZHQCBWdK8BlxiFHJAPQcky7YWCqrMeo9dv4 AASh14Azu+O6uM7mvr02nAOmT3RYmzlC/rnJDNN89kV9sSozUzysVbIpA//dodjWeg8V Ef5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e7HNn4fF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 33si8439711pgo.767.2022.01.21.13.12.02; Fri, 21 Jan 2022 13:12:15 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e7HNn4fF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359393AbiATIrW (ORCPT + 99 others); Thu, 20 Jan 2022 03:47:22 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:60202 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359369AbiATIrO (ORCPT ); Thu, 20 Jan 2022 03:47:14 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 7031FB81D09; Thu, 20 Jan 2022 08:47:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86F25C340E5; Thu, 20 Jan 2022 08:47:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642668432; bh=uymmtLY3ykuPPTJX+D/fvcl6pnd2cceSyUotgGzVGCE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=e7HNn4fFPcTaohBWRYUvtow+lpJ341SlzUM+TXWkJid/DyRMTy6qoXvV86VQMMlmX NZ3VBTfMzmyFcxmxDbCYfCvgJR7V/nRhWehA1csKmiEpLG/uisCiFb41cCnKZq0RQE 6LetKDDsWl0GvyeeG9JfWthQXvvdTaDAWyQ6KquleByCdX8aAytkVXevzpSYDVexjW cwgfhXKlJut1iVe2kjap0DHPSfDJTDS4qByL8EJGI90UEiV0STBb9klbH0xFYlITHv NG50dCdnZQJ+O2BUTHw9hCL7NzVS/XTLLnGDW1lkfPWqFXnuvFpg/4A1fv80Mde0+9 hhtanxufmvxSw== Date: Thu, 20 Jan 2022 09:47:07 +0100 From: Christian Brauner To: Anthony Iliopoulos Cc: Alexander Viro , 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: <20220120084707.bsiyxudl4yfqqywd@wittgenstein> References: <20220119202934.26495-1-ailiop@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220119202934.26495-1-ailiop@suse.com> 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]. > > Signed-off-by: Anthony Iliopoulos > > [1] https://lore.kernel.org/CAHk-=wim6VGnxQmjfK_tDg6fbHYKL4EFkmnTjVr9QnRqjDBAeA@mail.gmail.com/ > --- Acked-by: Christian Brauner