Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4069576pxu; Mon, 12 Oct 2020 08:43:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyv34gyKd2iBHRzwtAdYs+lVXExj4exmfArtisjDiZt94KL03Te+YXUvWkzYnuDz21xYrct X-Received: by 2002:a50:9dc8:: with SMTP id l8mr14892430edk.58.1602517419050; Mon, 12 Oct 2020 08:43:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602517419; cv=none; d=google.com; s=arc-20160816; b=KePhUqnV2S6qhzzFC7Zop272zC+xtzP7MOr6f26m0KN3FlomKUYfMlTHnRZm31RjLz Dy1A7HkpB+nulee3h3P8rS8+CBb/OsnAjVajtrRHlPvOWP1BZfEiDBnOuxbVzABNypnc pSXZpPSELiqufqesjtRpAiQks91c75jucD56wvIPqPCz+6cER/ygrY2CtnN29NzTexc9 kI74QxnQU8eJmisYyDJ9oETRi9KyXlD/a98nKC7T6g9zHKT+LJniu4OOvZqILmZBFrK8 WXLpdJXflzZpIw3m64TmBpJ6aHyrFZCGtFgOK3NCq3zbf3pvvKgsD/U3EVWezntMIAk5 krGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=aToOWHUs0J4uG0c//TkJEJf1HhYv3SCoqpzhCNPirQM=; b=l9QPgGP7uLSWjsYgYTg4pkTM1LqkadSbZBXy3fVpWTUYIC/ghoMQWoO5q/gckc3RRu s9rDCyfMCGxRLYFrCtTV8e3Pv0n14MCANi0C/a7kho4ZZ5JVVb8RyQj+prTb1/G9g0Om +DvWF3K8yrR9M0RjDIqZBQMRWbfJP75uLdCtd+VZbCx839fg85KM7Rwtsyw/j0YvMIuo Gb6E2Ka8RsME8qlcNbCtxvMHBaEV6V5JMajfpF9nHBAhS5dBGfnWIb1I3x4nb9+dnyhP aCuIr6DycfcaJKWxUjaBYg5JuXpBqJGAidkzsFsCp/UbbN1fMprsRhCk3qStfgq2Wq/Y ehag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eOA07KUS; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ob21si11787376ejb.276.2020.10.12.08.43.03; Mon, 12 Oct 2020 08:43:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eOA07KUS; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390173AbgJLPmN (ORCPT + 99 others); Mon, 12 Oct 2020 11:42:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390706AbgJLPmE (ORCPT ); Mon, 12 Oct 2020 11:42:04 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4252C0613D0 for ; Mon, 12 Oct 2020 08:42:04 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id k18so17985790wmj.5 for ; Mon, 12 Oct 2020 08:42:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=aToOWHUs0J4uG0c//TkJEJf1HhYv3SCoqpzhCNPirQM=; b=eOA07KUSKQ2izgPIV6W0Yz9YDD4EHWJOIoIoRDTboXJdTgNMDkEK2q2m1CFcsWFRRT TF5kgHsm31a4hatclpgE9Kun4SlW/rNaikVjFnGuS1ys2yyjKjSX4tqdyRUxQutg7JvU SlA/AR6AuD8IGZrZec6f2lZ1DL3xhUIxschJhJVXY//VQwUD7Ke2Hs+MnciNWeW913gq RLOneW7iLOvU8mQQ9CWWJGwHA3eQWi6/9QJUryhZqtZ4cUUbHFivvhf7jOh+bjPONCBZ RwkvIEcEejPp1Pk2VtrFqkfWy+2sYODnsaPIRKdxe/B5U2QnJ5GuP+xD/Keir+EzVhDj rZnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=aToOWHUs0J4uG0c//TkJEJf1HhYv3SCoqpzhCNPirQM=; b=WiLSJH+IBBPsAHuvSiSEoPoEc3w1flmk0MS5B9YD8gMoX2KNuI9NcbPznF6xzXte7G xoQgKyqq7B53pDU/32WWn3fb3MErzGMSVUj8b4pS7BD70/p9Y1kRzDGT8rPEMzoaFRAz saLvUaJnSN7Eiyy4/2RMdk2dk09Q4T5G0K4on7ipvpRfPT5H5bbKrMBzFvKHSpncF3H5 u5JpESm3ArNIhwaQlFJvlmHkW83lozhQP68/v1R67QX7/651yM3h2ZFAjauk+8i9c2nU alVAeORJX3U+/mrHILsDnhlX/iKQdBoKT+qr0bVI//w7vjwAMCoZnaLyUH3oUZ+dswPB msOw== X-Gm-Message-State: AOAM533Lt54KpULabkHaL17x4D8WRFEE9v4qKVtjugDuEzf0hlNzXvfh cLh4zaHxmYZ8ZTmfjMyAgTc= X-Received: by 2002:a1c:e256:: with SMTP id z83mr10935833wmg.37.1602517323232; Mon, 12 Oct 2020 08:42:03 -0700 (PDT) Received: from eldamar (host-95-235-240-65.retail.telecomitalia.it. [95.235.240.65]) by smtp.gmail.com with ESMTPSA id a127sm28847002wmh.13.2020.10.12.08.42.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Oct 2020 08:42:01 -0700 (PDT) Sender: Salvatore Bonaccorso Date: Mon, 12 Oct 2020 17:41:59 +0200 From: Salvatore Bonaccorso To: "J. Bruce Fields" Cc: linux-nfs@vger.kernel.org, Chuck Lever Subject: Re: Kernel panic / list_add corruption when in nfsd4_run_cb_work Message-ID: <20201012154159.GA49819@eldamar.lan> References: <20201011075913.GA8065@eldamar.lan> <20201012142602.GD26571@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201012142602.GD26571@fieldses.org> Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Hi Bruce, Thanks a lot for your reply, much appreciated. On Mon, Oct 12, 2020 at 10:26:02AM -0400, J. Bruce Fields wrote: > On Sun, Oct 11, 2020 at 09:59:13AM +0200, Salvatore Bonaccorso wrote: > > Hi > > > > On a system running 4.19.146-1 in Debian buster an issue got hit, > > while the server was under some slight load, but it does not seem > > easily reproducible, so asking if some more information can be > > provided to track/narrow this down. On the console the following was > > caught: > > Worth checking git logs of fs/nfsd/nfs4state.c and > fs/nfsd/nfs4callback.c. It might be > 2bbfed98a4d82ac4e7abfcd4eba40bddfc670b1d "nfsd: Fix races between > nfsd4_cb_release() and nfsd4_shutdown_callback()" ? That might be possible. As it was not possible to simply trigger the issue, do you know if it is possible to simply reproduce the issue fixed in the above? 2bbfed98a4d8 ("nfsd: Fix races between nfsd4_cb_release() and nfsd4_shutdown_callback()") would be missing in the v4.19.y stable series (as it was in 5.5-rc1 but not backported to other stable versions). Regards, Salvatore