Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6902612rdb; Fri, 15 Dec 2023 11:17:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IEfcXIop4Kyx2Wb94sY5EQT0cOmWkr/ixUNA1VH1SwQLTYckyowQXQ34FevOTGaXJv3ptcE X-Received: by 2002:a17:902:d2cc:b0:1d3:4e55:5c43 with SMTP id n12-20020a170902d2cc00b001d34e555c43mr7246149plc.22.1702667862374; Fri, 15 Dec 2023 11:17:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702667862; cv=none; d=google.com; s=arc-20160816; b=jtJBZd+KwCutOYpRk/586eqEZEpRLahT6cu26PIpvsQEUZAvWcYTvNulBOc/Qxgfiq 74MX7i7Yj75lhCBIdBM9kd21lyg+CKQKppGzveRLgMGJD1qIWfu9mxQpZyaBHiUZAXM4 DTCh93kPFFEIORE0VsaU0Eri/ZColl9MmCjR+u6xb8LVgsjO42ZGpaKd5PitOUVYhuHS kY+rXw0hz8HTYENwDSB+tUa4jdAUTHQ/50uljLlraXcutR82XqVPZtzyyEdfbBJcQpQx 2XkZS1kbIECFkt34/hleMn4kSR9Ni4hPmZIhi70MfLjc3rspFWAPkAt7xfcdf8RE1hsZ sY3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from:dkim-signature; bh=jHjgCqefirI6ZttFuaMzvKnAqt3QcMkiO3x2cihQBs0=; fh=9WVYkZZswu7tyxO2G/iFh5l6I+hfRv2+m7yU+1XOfCw=; b=1D+bhF0ldGHUzMPljY8dWRQVFC9+dfmNoAUXCIAdEDxVabH1UC22TU8mJ7JhIKdTc1 F+y0GXR1c5zEvjqiv30KQDNAy3lx0K1MoGitcA4vbh4T1/DfRU4j6Ta1dey2es+WOC4K enQqDbCDM1k6M3QLC+7tmi55psuN121h7IirA5EluX2/9vt8ePFwH42nPXSC7WNDMjD0 1XZRyP3o7aDVjTNbatyVOxiYaBtyuIRQ9zGGpbapzuo9W5pVoCE7UirsoluSM73FTprU 9AbvuhMU7ytJvbdx4nwHLM4a0dTkm05NTY5n5JngNJEKafHYz4wwug6h2XfwYx3ipuHx zJMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=agRjOQPn; spf=pass (google.com: domain of linux-nfs+bounces-634-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-634-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q10-20020a170902edca00b001d04cb0d6e2si13267160plk.520.2023.12.15.11.17.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 11:17:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-634-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=agRjOQPn; spf=pass (google.com: domain of linux-nfs+bounces-634-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-634-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D0BF7282798 for ; Fri, 15 Dec 2023 19:17:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A8B3E3011D; Fri, 15 Dec 2023 19:17:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="agRjOQPn" X-Original-To: linux-nfs@vger.kernel.org Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) (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 23E943FB30 for ; Fri, 15 Dec 2023 19:17:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3BFI4PgS004793; Fri, 15 Dec 2023 19:15:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id; s=corp-2023-11-20; bh=jHjgCqefirI6ZttFuaMzvKnAqt3QcMkiO3x2cihQBs0=; b=agRjOQPnFWmDVlTbLT6olj3UWj3gylXwN5G7FLZ4A28d4vxupcjvoszjwXYgiRrsdFje d2d1nyQmsyMPDIhK+SmMp3n0VOBheee0cFd5UyOtnVQmUKgxKLbtrkxLkn5aV50wGnqA nBKOmIvhnyiplw5ZM0F+vRgLRb7Hs1GU9MQPiIv+eryUIGg6xewiKiw5NqMe0M3tlXcI UPMOUxgQnv6jDxFvKkx1JHJpzruwSIvU3i4ja8KraWrwZlccW71IH9m9Qrc1t0TYmur+ zzXrG6EHwa+1Hu3gezXA4i8L4qFc2WpyN6FhtGys1IFoRYgZEVpPrANU317+0NlU5+fC Cg== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ux5dfaryd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 15 Dec 2023 19:15:24 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 3BFIFVbs017052; Fri, 15 Dec 2023 19:15:23 GMT Received: from pps.reinject (localhost [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3uvepcfqn0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 15 Dec 2023 19:15:23 +0000 Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3BFJEAbQ013855; Fri, 15 Dec 2023 19:15:23 GMT Received: from ca-common-hq.us.oracle.com (ca-common-hq.us.oracle.com [10.211.9.209]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTP id 3uvepcfqmh-1; Fri, 15 Dec 2023 19:15:23 +0000 From: Dai Ngo To: chuck.lever@oracle.com, jlayton@kernel.org Cc: linux-nfs@vger.kernel.org, linux-nfs@stwm.de Subject: [PATCH 0/3] Bug fixes for NFSD callback Date: Fri, 15 Dec 2023 11:15:00 -0800 Message-Id: <1702667703-17978-1-git-send-email-dai.ngo@oracle.com> X-Mailer: git-send-email 1.8.3.1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-15_10,2023-12-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 bulkscore=0 spamscore=0 mlxscore=0 adultscore=0 phishscore=0 malwarescore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312150135 X-Proofpoint-GUID: DKISvXwllM3rn2n0Woqlv-XSKShOf4Eq X-Proofpoint-ORIG-GUID: DKISvXwllM3rn2n0Woqlv-XSKShOf4Eq Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Here are some fixes for NFSD callback including one that addresses the problem of server hang on reboot with 6.6.3 reported recently by Wolfgang Walter : 0001: SUNRPC: remove printk when back channel request not found 0002: NFSD: restore delegation's sc_count if nfsd4_run_cb fails 0003: NFSD: Fix server reboot hang problem when callback workqueue --- fs/nfsd/nfs4state.c | 23 ++++++++++++++++++----- fs/nfsd/state.h | 2 ++ net/sunrpc/svcsock.c | 8 +------- 3 files changed, 21 insertions(+), 12 deletions(-)