Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7398631rwr; Tue, 25 Apr 2023 12:20:59 -0700 (PDT) X-Google-Smtp-Source: AKy350YCc2vpN1BQysIyCWEL00LEYOrC5Sp9PCVKF8bovX9gkpYhHjQVErAL+63T4+BKEq68fuCz X-Received: by 2002:a17:902:e9c6:b0:1a5:1bb4:adb1 with SMTP id 6-20020a170902e9c600b001a51bb4adb1mr20037497plk.37.1682450459125; Tue, 25 Apr 2023 12:20:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682450459; cv=none; d=google.com; s=arc-20160816; b=0QLL4M7AzkuOCRWcQoOKJE8vylrwraUZYXbHMkCMTWI+xN/RSauIVMhJ3vJnytLtY/ jisxpa32o8Cjo3WdH3kBFSGRSBps1Vb46f/KfmEX43kZIS5F++jKJwGd3MdXQH3Fri/+ 7LWYk8iCabWSBFrX9vWabjhjhI0/Q8MLYzbm3Hf1TrB6/IiL+MvyWbOrXiQGJgs9NgeN aGaqWxi/1RSdfgXdXDskXDXv762eXNRk0aK/FgCwEHP2P68jBVAqEjoHGuT+mF4W7N37 tTRKkvtTkFUJ0SED9jnDmDHYLuZeXXyKsyiBLK5+LpW4AWYz4T9laN9pBRnMDm2W++D4 TaYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=70g+NCto+HDlpzK8JbdxwRqupO9nxM+GSVF/MBgd8Ck=; b=SKWY8H1Nb8sgMkDtVjJpEXD971GG4qD/V+/eP9jhTIvk/EPaLtBb1z90/UqvDIXeqk 24CauHjTyGjUa5fKut9PNLx2IbK+iKfwQV79vMUBncXpFTr2ZLNVmL7AIEuigMIxBZfn 6Vu8U540XfW8ndzoultGIwduF5l2fMz9+uLjEkqp4tuOF/OClhqIbwFALFxUvtj5at+j hP+wbC1vspzIMmQ5bawQtg8RywnGQlf+PEDzYEF9wTGzYBN/2Zsy5+F8fEg6gzquf8E3 4EVpWNs8q31wpWTr3FU9vxsnj8K4OOLV79FwZ7EqN/7FFVKIxdtDYvoSuCQZqS7qnR/h O1Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hNysl+t5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i12-20020a170902cf0c00b001a6a3954e0fsi10956309plg.18.2023.04.25.12.20.42; Tue, 25 Apr 2023 12:20:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hNysl+t5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S234782AbjDYTMi (ORCPT + 99 others); Tue, 25 Apr 2023 15:12:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234802AbjDYTMg (ORCPT ); Tue, 25 Apr 2023 15:12:36 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE2D416F00; Tue, 25 Apr 2023 12:12:34 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 5D41463107; Tue, 25 Apr 2023 19:12:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51489C433EF; Tue, 25 Apr 2023 19:12:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682449953; bh=lMDAKv+dWFO6VkWUCnMr163Sk2UkfZaflcg85AFNg4o=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=hNysl+t5lkcBFn5CSWQ8toXWyK/+6AVSyIsFdzKmdx2nrRruksUKDv2q+kkco8ldw AatdU65HJvfsAWGaXB3bDdvB8Iyl/lNyjI3HnssP1fPjRZT4BL7xQRpNy+OFjPxyWp R3KEfAr8Pokc522ah0tFu5zUA6wFTCaDiJhgU7wP4eJkStWO7sA5DdiJUAyav5OsqP 5ItJNMp+T+9EZczVDYT+HEAxszUHJgYR9XlJ+m6d7Rl6L8PnRlakPeMx8ArQahyHTt rGKx6HvWdwqt86iZ7RQpBFrO5y3wRJgoq6qmLouQnQtwBQWcxEbbW7iBFlKP4rN1yX z9gGYrOyUWxXA== Message-ID: Subject: Re: [PATCH v2 1/3] fs: add infrastructure for multigrain inode i_m/ctime From: Jeff Layton To: Matthew Wilcox 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 Date: Tue, 25 Apr 2023 15:12:30 -0400 In-Reply-To: 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> Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.0 (3.48.0-1.fc38) MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2023-04-25 at 18:56 +0100, Matthew Wilcox wrote: > 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. >=20 > But what if I set s_time_gran to 3 or 5? You'd really want a warning > about that. Ugh, I hadn't considered that. I don't see anyone that sets an odd s_time_gran that isn't 1, but OK, good point. I'll change it. --=20 Jeff Layton