Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp275090rdb; Fri, 5 Jan 2024 09:21:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFawoGa16eS/P3yVj/rIFz6ETd83YLh0hmZHHBKZecw5KVTZp14/3hENQb2AuVTsfHTuoM7 X-Received: by 2002:a05:6214:19cb:b0:67a:a714:d963 with SMTP id j11-20020a05621419cb00b0067aa714d963mr2939394qvc.55.1704475271238; Fri, 05 Jan 2024 09:21:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704475271; cv=none; d=google.com; s=arc-20160816; b=AsQ8QPMAYyz1dkuWroC39pDvoH36c1lDAZ6JNi8f7bQdfNi07Wch1Ua1TF0ns8rhqx 7PcIM8lyn/rk7QTHzFZdCwRbAlXIsAX+kWj8lhSPd6PfdLnjTum2AUJbtfysBgBRRJQY 5h+7/4XB+wXj1MbVfZci5nXMgd0m4b95TJWzAQlfiZytfS9L0/g0Hsa7UQuHCZZI+pqA B+2v2k7CeZAkQmW3ngECvaEL5HIfAKk6kJwtcy28Eq8PltuUWzAD6Nd7cchsuM53/XDw P+xPVJiepPB6t5SA/yuivwJzm4fUEYakJPl9ElOXFYmXchc6xPv0gZH9YEcuk34E4a4O KFZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:to:from :date:dkim-signature:dkim-signature; bh=G5QLtqgPgUPlhX16D8cxgZSrhZwA8FdHTj67GHw0qi8=; fh=jU4rp0rEUwyAsuW+YE3P1D2kOjPPM0yZtiLYXjg4j+0=; b=k7n9BqJymMMgoAiXYRt1YwpQB8g6ykVYHAwoeocLAO4c7fCGsEZQZjMkX5ZaYfLRuS ZgnLhktffzI2Gf+hZh0mtF+IYUsfKvNE932fhnaXdOHVNBd8PN4hL4+JZb0ci5dZNmNr tIOKQIvNuGi//j6UTz1nPVAh+BrTmBzxiGECjhZeXVaCZAdYdHlpiEd9thIULB2tUJy9 cwIGXioJSIEE49M6vW49rxZ7lzBNMfYE34kbKz/2igyJ35TpnbYo3qUEz/3fMYNP8yac 8VHTI5pGLUo4oqjOTba4ZknwTrt5jL/dz9kxHVAxEKVXD0tgHckMBf06ZLY40QBs3n5O Xs8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codewreck.org header.s=2 header.b=tn6PqWq+; dkim=pass header.i=@codewreck.org header.s=2 header.b=CvojuvDV; spf=pass (google.com: domain of linux-nfs+bounces-963-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-963-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codewreck.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a4-20020a0ce384000000b0067f4709cff1si2192245qvl.99.2024.01.05.09.21.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 09:21:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-963-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=@codewreck.org header.s=2 header.b=tn6PqWq+; dkim=pass header.i=@codewreck.org header.s=2 header.b=CvojuvDV; spf=pass (google.com: domain of linux-nfs+bounces-963-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-963-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codewreck.org 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 C0ACD1C23293 for ; Fri, 5 Jan 2024 17:21:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4ECB532196; Fri, 5 Jan 2024 17:21:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codewreck.org header.i=@codewreck.org header.b="tn6PqWq+"; dkim=pass (2048-bit key) header.d=codewreck.org header.i=@codewreck.org header.b="CvojuvDV" X-Original-To: linux-nfs@vger.kernel.org Received: from nautica.notk.org (nautica.notk.org [91.121.71.147]) (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 51F9C32186; Fri, 5 Jan 2024 17:21:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=codewreck.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codewreck.org Received: by nautica.notk.org (Postfix, from userid 108) id 47DCEC026; Fri, 5 Jan 2024 18:20:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1704475255; bh=G5QLtqgPgUPlhX16D8cxgZSrhZwA8FdHTj67GHw0qi8=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=tn6PqWq+0UHN3QxCRZid+V+fJBenvC3IrIIcqOsdUbUgqD8BvhWt2WB90oSw7XpPg QlUFE2ue/FCeJ/DLCFsWomlZCxMLnpaB0lM3wvwMCs4jctG4fvUBqrc03/wmY/sc0S 8N2iRbE0aTsPVsWcNX4DCgvZISkj+1s2RpUktuXRQ7liHWaMGGelG/otThKmTb5+o9 rqsKWauiSE5eYZH82ZaqL1LP0H6bbwJzQQG77J3sBIpVhHOvH02KIeT/rFE6grRJ9i cHB85E+b1u50A//1wjlYgDkzEh8xzHxoPl97Y55v0xmCQmwlSI3+S7yRacHEVsWfLm H0mNlD3NjjkYw== X-Spam-Level: Received: from gaia (localhost [127.0.0.1]) by nautica.notk.org (Postfix) with ESMTPS id 448ADC009; Fri, 5 Jan 2024 18:20:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codewreck.org; s=2; t=1704475254; bh=G5QLtqgPgUPlhX16D8cxgZSrhZwA8FdHTj67GHw0qi8=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=CvojuvDVolRZkDDlIyj4uY5hFwD/G9sunkTM46WaLCaS3QIrYNL/Um2wFEN1Efbub AMgqrgm0WuuDyTu9RFhh8PxIVWprskRaMfCAUwhNw8adtnNMYHs5Bky4OntLrV86/Q XmU2feeoZdQm8hdpDIY+BLbeIyzFOjK2HbobG5a9E+yEpXx9TfaYR70WhcumYdlH5T HkCWSMxrchak5K5WPOkEkbPG2H9CmhaW1116sshIwrG/ZnK1AyARzAH5rYoKYuS2Jk AqxoyHMYpNvvuolbdXa2aaLMFmQjd42lAcZqTp8w5LAgtmHV3I+9GZc8lkKE5jXWtd swfGIM6q8sjVg== Received: from localhost (gaia [local]) by gaia (OpenSMTPD) with ESMTPA id 39ce6c8b; Fri, 5 Jan 2024 17:20:44 +0000 (UTC) Date: Sat, 6 Jan 2024 02:20:29 +0900 From: Dominique Martinet To: Matthew Wilcox , David Howells Cc: Nathan Chancellor , Anna Schumaker , Trond Myklebust , Jeff Layton , Steve French , Marc Dionne , Paulo Alcantara , Shyam Prasad N , Tom Talpey , Eric Van Hensbergen , 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 Subject: Re: [PATCH] Fix oops in NFS Message-ID: 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=utf-8 Content-Disposition: inline In-Reply-To: <1197168.1704465212@warthog.procyon.org.uk> Matthew Wilcox wrote on Fri, Jan 05, 2024 at 01:17:36PM +0000: > host on /host type 9p (rw,relatime,access=client,trans=virtio) David Howells wrote on Fri, Jan 05, 2024 at 02:33:32PM +0000: > > This commit (100ccd18bb41 in linux-next 20240104) is bad for me. After > > it, running xfstests gives me first a bunch of errors along these lines: > > This may be related to a patch that is in linux-next 20240105, but not > 20240104 ("9p: Fix initialisation of netfs_inode for 9p"). Yes, you'd be reading zeroes without that patch because the netfs code thinks the file has 0 size and doesn't bother reading, that'd explain the exec format error loading other modules... One thing that surprised me is that this also affects cache=none, I thought we had different file ops going straight to p9_client_read in this case? But turning my brain on this would be the read-only mmap case that we need to support for execs, which module loading also uses, so this came biting there alright. -- Dominique Martinet | Asmadeus