Received: by 2002:a05:7412:d002:b0:f9:9049:d2ea with SMTP id bd2csp5805rdb; Wed, 20 Dec 2023 02:09:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IFhASNUL64nyrbF3wBNskVLJ/Orl69LJ4naRMXQRFpszol8PsChRogyRiFbEIbHBSni5pCj X-Received: by 2002:a05:620a:2946:b0:77f:4e1b:4b03 with SMTP id n6-20020a05620a294600b0077f4e1b4b03mr23603559qkp.156.1703066942289; Wed, 20 Dec 2023 02:09:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703066942; cv=none; d=google.com; s=arc-20160816; b=Dwq7cpvbPy+r1aPrPiPGck+py5f/WnjA6EP62lUcRIU44r6n4SGoLN7gCjljmqh1b0 +gWr/paGx6BkCZIsGnvMSm3edKOFcu6MKPGdIVmPxpy149mv40nXzujW4+uWF8FFm/61 v3n8peJ98VZJcjYgiEC5jWRLxpSv2B4Sj6opfr51piR0HUZC1BlVgqUyQpH9bPLl1Gki 79Zy+FywGkkV3GRnQqyt3/LkIFjUcE5G4jEZLK/OIIaInoEb7Dqsdgdy1RaNYlUjvYbW mur3KRpc9nAjuyluBdwMVbEAAOpcqCRloLnfDQt5iCq0quptAi2a/UU2luBYQdxo0Qtx SqYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:content-transfer-encoding:content-id:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:cc:to :references:in-reply-to:from:organization:dkim-signature; bh=fIGeUN2dP3Kfk2DN6cUDjpJQQIxLf4/llr+ahmqgJ9o=; fh=OHBb9iCgy9UozJujGliSmQwHaxwEcgiKWa9S2zC2QS8=; b=qdsuRYjtcDjgxCdgGPVhypLSCmswmcqoei8Cxnkt7bZEa/lL4O/A6VpxxMEdcGF+zb WmkpOWHGym/tyauQoEL0M/zky3+NotY8x/WAfst65xHAZx6WrzJWnTiQD7uWFkxSe2We SPW3FiUlXXQXp0CL+D3rZTgS8vhEjU26Kx1dLF8jaS17lcc7M97B6RFUNcJxnpJ2+IMN kOn+WBWju/hpUEg9E7Nb++D2J6zWheChUl/rRei+SW6ecvjj8wnCSG73sbe7lN6FsBDT /PqtO2aEEqdyMF/ElcIscmZ3YwDglKyba1//cIa/zmtare3eDdNKK9VY8yFKLDK4yXsQ 9tkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=AU4OHWD7; spf=pass (google.com: domain of linux-nfs+bounces-716-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-716-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 ow2-20020a05620a820200b00780d97179d9si8416411qkn.110.2023.12.20.02.09.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 02:09:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-716-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=AU4OHWD7; spf=pass (google.com: domain of linux-nfs+bounces-716-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-nfs+bounces-716-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 E88BF1C25973 for ; Wed, 20 Dec 2023 10:09:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B5FAA374F0; Wed, 20 Dec 2023 10:04:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="AU4OHWD7" 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 2E1DD36AFC for ; Wed, 20 Dec 2023 10:04:35 +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=1703066675; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fIGeUN2dP3Kfk2DN6cUDjpJQQIxLf4/llr+ahmqgJ9o=; b=AU4OHWD7R/sp36AIAV17b9y9f+FcESgvDhnCeyb0q9WldF1YGOSDRX6qU0K2zrOKtgDOKv J0dDxG+EyUKagF6hvB8v+C3P1rzoDje5BIeSp5l+q59QIKeXp8W7JVhDPnCkHG3dr28e9g uHZXq91m6RPLGUedbVtRx8thgMRpDjI= 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-371-MZjr-7LVPD-4eoRcMCQdwA-1; Wed, 20 Dec 2023 05:04:31 -0500 X-MC-Unique: MZjr-7LVPD-4eoRcMCQdwA-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (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 86329101A52A; Wed, 20 Dec 2023 10:04:30 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.39.195.169]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8BFAB51D5; Wed, 20 Dec 2023 10:04:27 +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: <20231213152350.431591-1-dhowells@redhat.com> <20231215-einziehen-landen-94a63dd17637@brauner> To: Dominique Martinet Cc: dhowells@redhat.com, Christian Brauner , Jeff Layton , Steve French , Matthew Wilcox , Marc Dionne , Paulo Alcantara , Shyam Prasad N , Tom Talpey , Eric Van Hensbergen , Ilya Dryomov , 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 v4 00/39] netfs, afs, 9p: Delegate high-level I/O to netfslib 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: <1384978.1703066666.1@warthog.procyon.org.uk> Content-Transfer-Encoding: quoted-printable Date: Wed, 20 Dec 2023 10:04:26 +0000 Message-ID: <1384979.1703066666@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 Dominique Martinet wrote: > I'll go back to dhowell's tree to finally test 9p a bit, > sorry for lack of involvement just low on time all around. I've rebased my tree on -rc6 rather than linux-next for Christian to pull. Ganesha keeps falling over: [root@carina build]# valgrind ./ganesha.nfsd -L /var/log/ganesha/ganesha.l= og -f /etc/ganesha/ganesha.conf -N NIV_EVENT -F =3D=3D38960=3D=3D Memcheck, a memory error detector =3D=3D38960=3D=3D Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward= et al. =3D=3D38960=3D=3D Using Valgrind-3.22.0 and LibVEX; rerun with -h for copy= right info =3D=3D38960=3D=3D Command: ./ganesha.nfsd -L /var/log/ganesha/ganesha.log = -f /etc/ganesha/ganesha.conf -N NIV_EVENT -F =3D=3D38960=3D=3D = =3D=3D38960=3D=3D Thread 138: =3D=3D38960=3D=3D Invalid read of size 4 =3D=3D38960=3D=3D at 0x4DC32D6: pthread_cond_signal@@GLIBC_2.3.2 (pthre= ad_cond_signal.c:41) =3D=3D38960=3D=3D by 0x489700C: sync_cb (fsal_helper.c:1837) =3D=3D38960=3D=3D by 0x49D79DF: mdc_read_super_cb (mdcache_file.c:559) =3D=3D38960=3D=3D by 0x49D7AC5: mdc_read_cb (mdcache_file.c:582) =3D=3D38960=3D=3D by 0x7B4B81F: vfs_read2 (file.c:1317) =3D=3D38960=3D=3D by 0x49D7BCF: mdcache_read2 (mdcache_file.c:617) =3D=3D38960=3D=3D by 0x4897173: fsal_read (fsal_helper.c:1849) =3D=3D38960=3D=3D by 0x4A10FD4: _9p_read (9p_read.c:134) =3D=3D38960=3D=3D by 0x4A0A024: _9p_process_buffer (9p_interpreter.c:18= 1) =3D=3D38960=3D=3D by 0x4A09DCB: _9p_tcp_process_request (9p_interpreter= .c:133) =3D=3D38960=3D=3D by 0x48CE182: _9p_execute (9p_dispatcher.c:315) =3D=3D38960=3D=3D by 0x48CE508: _9p_worker_run (9p_dispatcher.c:412) =3D=3D38960=3D=3D Address 0x24 is not stack'd, malloc'd or (recently) fre= e'd =3D=3D38960=3D=3D = =3D=3D38960=3D=3D = =3D=3D38960=3D=3D Process terminating with default action of signal 11 (SI= GSEGV): dumping core =3D=3D38960=3D=3D Access not within mapped region at address 0x24 =3D=3D38960=3D=3D at 0x4DC32D6: pthread_cond_signal@@GLIBC_2.3.2 (pthre= ad_cond_signal.c:41) =3D=3D38960=3D=3D by 0x489700C: sync_cb (fsal_helper.c:1837) =3D=3D38960=3D=3D by 0x49D79DF: mdc_read_super_cb (mdcache_file.c:559) =3D=3D38960=3D=3D by 0x49D7AC5: mdc_read_cb (mdcache_file.c:582) =3D=3D38960=3D=3D by 0x7B4B81F: vfs_read2 (file.c:1317) =3D=3D38960=3D=3D by 0x49D7BCF: mdcache_read2 (mdcache_file.c:617) =3D=3D38960=3D=3D by 0x4897173: fsal_read (fsal_helper.c:1849) =3D=3D38960=3D=3D by 0x4A10FD4: _9p_read (9p_read.c:134) =3D=3D38960=3D=3D by 0x4A0A024: _9p_process_buffer (9p_interpreter.c:18= 1) =3D=3D38960=3D=3D by 0x4A09DCB: _9p_tcp_process_request (9p_interpreter= .c:133) =3D=3D38960=3D=3D by 0x48CE182: _9p_execute (9p_dispatcher.c:315) =3D=3D38960=3D=3D by 0x48CE508: _9p_worker_run (9p_dispatcher.c:412) David