Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7136557rdb; Wed, 3 Jan 2024 05:59:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IHeRgWScabr48kedVFUMN7MDLubccDUZ/2zBoByTg+dEwbdPZUDPEGkW5VN5M2B6lh41Br+ X-Received: by 2002:a25:ab2d:0:b0:d9a:4ae7:ba2c with SMTP id u42-20020a25ab2d000000b00d9a4ae7ba2cmr9663787ybi.22.1704290382996; Wed, 03 Jan 2024 05:59:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704290382; cv=none; d=google.com; s=arc-20160816; b=ScjFq03L7a8CAf6e3unffXgkrJRQys5e38a+h+7yoc/sPkJ5GcAhgSLnQ1AYyvoEMq JRPxAPGr6jDk6iSyOv8JFk3rl6KDMja/+8fHgAL9uiC0m76rzOqrXeQ1I7SMW1bUyPbt 2hwZzCyo6aTndOd76Kh+xJFhKqau16ghB6uoEtoNGaDD3VHeuQOlkdUCe4a2Q1ddH/LF qHWvrjrHpP349E9qo+aBVHEEBHTkai5d+2V2gVLiucCLXvPNpMvpnH0d9VYQ4i60FFYw mKEARUE19Ebm5DL4zGC03Vh1k2pzqgmc+UgHFEjJfNpSzzRdPgv6wZoDfaDFpE8PIGv7 RypA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:content-id:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:cc:to:references :in-reply-to:from:organization:dkim-signature; bh=6dAWkrI8v4YS0rv7Bi/6xzx13i604x2fNTwwBvd0CnM=; fh=BhDS1KcRJvXXD2Bl9bhuhq83dMEXwTkkC0RH5v6iCzY=; b=onMsAE4pCW1Q7bjmEqVhTAzCLIgRLpWqlpkL62RX9NBjZhhMv88flI8WIB5B5EiyTM vhy6K6TtJh2XVSDGNXR8CFSLde9W3DSM5mtelRBKN/Ly6olOSA4Y0/g9wOeOsayDMw2b OghWOxOiUCIjKv0LUwMGDlOVvY+RbDILDabqZsxvjU2EbpZ8J4MoB/IUUpjjIfVPK6fA eO7EsioHFf5DhS2aCoq6/kN2BV3DyOY9hdiDWpL4hpyI++veYeMQOTCY3yzq4GWIuwer pVH+YIGRjie4vbGwBwl+egt4Ke5KYaXvBKtZ+RRmyGf/iFhNrVnHP8Ya69wnJFMfQCpb 8PfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=iKlYlh+d; spf=pass (google.com: domain of linux-nfs+bounces-876-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-876-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y8-20020a05622a120800b0042803178a9dsi12287418qtx.188.2024.01.03.05.59.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 05:59:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-876-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=iKlYlh+d; spf=pass (google.com: domain of linux-nfs+bounces-876-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-876-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B027D1C23728 for ; Wed, 3 Jan 2024 13:59:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5125D1A58C; Wed, 3 Jan 2024 13:59:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="iKlYlh+d" X-Original-To: linux-nfs@vger.kernel.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EFCB31A282 for ; Wed, 3 Jan 2024 13:59:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1704290368; h=from:from:reply-to:subject:subject: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=6dAWkrI8v4YS0rv7Bi/6xzx13i604x2fNTwwBvd0CnM=; b=iKlYlh+dhB/C3vhU1BOkNvAc9zfgyyW4YgUfGS4RvI9vpd9t+UGoF5EaHbRzNinaTwy4mE fQgr878+zer+Rbi7HskhBDfbbMAHQi7DH7KVp2OEm/fYbaY0Mt4AV0fuBlyKquCrWEHPyU pitEFgivrL+aheEQBAtv1VODbPHEvA0= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-387-faj2gZTSNqKsLFzR_ZyENA-1; Wed, 03 Jan 2024 08:59:23 -0500 X-MC-Unique: faj2gZTSNqKsLFzR_ZyENA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id EDA55845DC1; Wed, 3 Jan 2024 13:59:21 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.68]) by smtp.corp.redhat.com (Postfix) with ESMTP id B5F0940C6EB9; Wed, 3 Jan 2024 13:59:18 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <20231221132400.1601991-41-dhowells@redhat.com> <20231221132400.1601991-1-dhowells@redhat.com> <292837.1704232179@warthog.procyon.org.uk> To: Dominique Martinet Cc: dhowells@redhat.com, Eric Van Hensbergen , Latchesar Ionkov , Jeff Layton , Steve French , Matthew Wilcox , Marc Dionne , Paulo Alcantara , Shyam Prasad N , Tom Talpey , Ilya Dryomov , Christian Brauner , linux-cachefs@redhat.com, linux-afs@lists.infradead.org, linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, ceph-devel@vger.kernel.org, v9fs@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Christian Schoenebeck Subject: Re: [PATCH] 9p: Fix initialisation of netfs_inode for 9p Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <357812.1704290358.1@warthog.procyon.org.uk> Date: Wed, 03 Jan 2024 13:59:18 +0000 Message-ID: <357813.1704290358@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.2 Dominique Martinet wrote: > Would it make sense to just always update netfs's ctx->remote_i_size in > the various stat2inode calls instead? Yeah, that's probably a good idea. David