Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2818567rdb; Fri, 22 Sep 2023 09:08:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFWeBjL9Q7OugyjXUFzVP3ZomuerzT9aOZF+MQao0hZyyfuSxa3WnRUzcqFsRGR+4bad78v X-Received: by 2002:a05:6a21:78a8:b0:14c:83a0:2aa with SMTP id bf40-20020a056a2178a800b0014c83a002aamr10437321pzc.53.1695398894093; Fri, 22 Sep 2023 09:08:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695398894; cv=none; d=google.com; s=arc-20160816; b=De1NMGVMq+uME1NQYiPhP4pc6pjqdUs2afg0ki6It7c68MzVsc64MEACq84qx43dPo qAvKybsKWiYpdy4l7lMHTsYaT1KDK4/BnK/ONeS4mOQ4+Pcr1joPiwQVUXhbVFhOb+0M QJo37o41qTnRnWCbM3wvzWlF7yld7dHEZAyIaVRBq+Giq3Lf0ao74aJdeg6qYCZInYJz rQ/xnGCFKDUWWhVbkldpeEa1FxrAqDKClaa7fMX5X9Cqtg6XedUuOkZBt2S7AeJdC0wO 1kJYur2WVSAQBv2Jkfrj3/x7mhCRZ+Yj8pso8HKQ6QC6CelymtsPxyuKzFw6w2DBSbyu EbFg== 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:reply-to:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=b4AvMudYjwCrVMWQjwvaN8DzatOa9/zfzofVKveg1pg=; fh=jqOVyXPi5hgXhhS2p9cCQQx2FTazQTQpNLTd2ecOZfk=; b=aIG8ISz4lfhw3/PO2X+Sm0a0b+eEviUs+2gXQLeU9kAIRIyQuV/6N5cORQ4EudfwVB WQEQgA4FK+PmEV0MCNbFHqRBI54Ib1kfItmWc9ZxPxvh8AwNJarHLdY7HhwkkdwiAsDZ jj3e6m4K/6i88MLtlVLr8fgigfheZWao7fynfh3HM2HXshy1+8cu4WanpYPzLhGwj+Yt WeCShXF8vCaJ55MxNlhkZUJOgs6CDdl+kWU9Srg7FQ6EEmfHk0fYnirjdlEgtmXcJCzl etMACd8bFHC3T3sYrO3css3tJGadAercJEt+uGquLsGBILr6N61gBWXKuNRLZj3ztsGL +GDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=tsiD5VsQ; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id z5-20020a17090ad78500b00267f3363479si4155126pju.57.2023.09.22.09.08.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 09:08:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=tsiD5VsQ; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id B98CC81ECCDB; Fri, 22 Sep 2023 03:26:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232398AbjIVK02 (ORCPT + 99 others); Fri, 22 Sep 2023 06:26:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229953AbjIVK00 (ORCPT ); Fri, 22 Sep 2023 06:26:26 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D1EFA9; Fri, 22 Sep 2023 03:26:20 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id AC5D51F8A8; Fri, 22 Sep 2023 10:26:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1695378378; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=b4AvMudYjwCrVMWQjwvaN8DzatOa9/zfzofVKveg1pg=; b=tsiD5VsQYcpHO8ajHr1h3pxzqNxc+L9pmaBiM0rQZCs7rGr/NVrbcx0s9pOvGSoph67yY/ TebdOVih+9mG225vKDsLMd7IuktVSwMKBEsPgWt+eGDAL84r8Xo3336db9sdwz6lTmHr8n sHZN0fd1bnU4SPXj2aSsaExqk1UH2yg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1695378378; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=b4AvMudYjwCrVMWQjwvaN8DzatOa9/zfzofVKveg1pg=; b=OsVHhogZ2UOSBN5YsdPA5MQ6ypl+w+Nbiyen+aKWeOYqa2bZaWyOMjUqYAAXrrh073XWg2 UowJPBEpC/gevuAg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 793F913597; Fri, 22 Sep 2023 10:26:18 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id uO7AHMprDWXregAAMHmgww (envelope-from ); Fri, 22 Sep 2023 10:26:18 +0000 Date: Fri, 22 Sep 2023 12:19:43 +0200 From: David Sterba To: Linus Torvalds Cc: Jeff Layton , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Jan Kara Subject: Re: [GIT PULL v2] timestamp fixes Message-ID: <20230922101943.GA13697@twin.jikos.cz> Reply-To: dsterba@suse.cz References: <20230921-umgekehrt-buden-a8718451ef7c@brauner> <0d006954b698cb1cea3a93c1662b5913a0ded3b1.camel@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 22 Sep 2023 03:26:36 -0700 (PDT) On Thu, Sep 21, 2023 at 12:28:13PM -0700, Linus Torvalds wrote: > On Thu, 21 Sept 2023 at 11:51, Jeff Layton wrote: > > > > We have many, many inodes though, and 12 bytes per adds up! > > That was my thinking, but honestly, who knows what other alignment > issues might eat up some - or all - of the theoreteical 12 bytes. > > It might be, for example, that the inode is already some aligned size, > and that the allocation alignment means that the size wouldn't > *really* shrink at all. > > So I just want to make clear that I think the 12 bytes isn't > necessarily there. Maybe you'd get it, maybe it would be hidden by > other things. I think all filesystem developers appreciate when struct inode shrinks, it's usually embedded with additional data and the size grows. I'm on a mission to squeeze btrfs_inode under 1024 so it fits better to the slab pages and currently it's about 1100 bytes. 1024 is within reach but it gets harder to find potential space savings.