From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9904FC77B78 for ; Tue, 25 Apr 2023 17:57:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234552AbjDYR47 (ORCPT ); Tue, 25 Apr 2023 13:56:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234593AbjDYR45 (ORCPT ); Tue, 25 Apr 2023 13:56:57 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B19815475; Tue, 25 Apr 2023 10:56:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=IKbCnwH1TA9yC1TlMAtUgmaVJ8UiFakjRZigpfu/WWw=; b=sXQiIYjLiJSgyDqdSq/d1YZKWD L3l6BnDrkdUFl2ESqbJSTxoL5yVRNLcVQZjMiBHtAl7Ttr/bHLoTQBYuWa2vdjnLeKLoREp/y+wrs TnhOd56KWkGSiTrT6B5tM3gQ4KSL3AvaTDRIA6YIOMnIv3Eh2mhF5rnV0wmqrojojcW6i/UKni/6E ubwEDSgB6gZLTq9zh2qr+1joEQoKXYFXZX2KFzg2hz+/75vIC/hOwbpFhXIrsaUHCp+mSJAa59OJb TrM+qirgTXCQM75S2eYwao9jeUo/rCSOlXPFlPrDwM8tpsmh6xrGtBwmddm1b00/GB7mbzAmmxwS2 wgbKU+Pw==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1prMtv-001fb2-Nb; Tue, 25 Apr 2023 17:56:27 +0000 Date: Tue, 25 Apr 2023 18:56:27 +0100 From: Matthew Wilcox To: Jeff Layton Cc: NeilBrown , Alexander Viro , Christian Brauner , "Darrick J. Wong" , Hugh Dickins , Andrew Morton , Dave Chinner , Chuck Lever , Jan Kara , Amir Goldstein , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-mm@kvack.org, linux-nfs@vger.kernel.org Subject: Re: [PATCH v2 1/3] fs: add infrastructure for multigrain inode i_m/ctime Message-ID: References: <20230424151104.175456-1-jlayton@kernel.org> <20230424151104.175456-2-jlayton@kernel.org> <168237287734.24821.11016713590413362200@noble.neil.brown.name> <404a9a8066b0735c9f355214d4eadf0d975b3188.camel@kernel.org> <168237601955.24821.11999779095797667429@noble.neil.brown.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Tue, Apr 25, 2023 at 01:45:19PM -0400, Jeff Layton wrote: > Erm...it may be an unpopular opinion, but I find that more confusing > than just ensuring that the s_time_gran > 1. I keep wondering if we > might want to carve out other low-order bits too for some later purpose, > at which point trying to check this using flags wouldn't work right. I > think I might just stick with what I have here, at least for now. But what if I set s_time_gran to 3 or 5? You'd really want a warning about that.