Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp839406rdb; Fri, 26 Jan 2024 12:17:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IFCHftQXa3v8j96uhMA5fyfKqeRmMxeKmx/HPri8rjJpWthtF7gZvUko1pgVo5MrKqwidSv X-Received: by 2002:a05:6a20:e127:b0:19b:a07a:3495 with SMTP id kr39-20020a056a20e12700b0019ba07a3495mr2098677pzb.25.1706300267609; Fri, 26 Jan 2024 12:17:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706300267; cv=pass; d=google.com; s=arc-20160816; b=P8vH7MWQOd9DII1WXIXwGADemO+Si1Z6sFYJTVMba4qlEsu1E+Wv0jm/5Dopa4QEXw sPEOFVEwrMXW4YxFBqLqFnafkxs5x5d+ivZxyGUDskc/awsiaaPNSCzQDcvo6+1GOGh6 IXRLG0CDkFtm/DZSBus+lpD7X3fMozdaPN0CEd6+ZbIerZzxsGSvgyEEQsCZ7wAz0rdy 0DP77I6f9a4WXfBb3XpWJdPo/XN/kwj9u0O3aDyL0PAfbonajb9DqSBEPBj6kI3xyvqd wbQYRvPiJz2aSttK3qRu7gfOjkhIz6e/iCptJk9I+NmuOXJoM4YJcQKTLH4WXDW+Sf+A UuHQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1LPFG6aKjzjxpUdEv6klXk2UNMJAUY116NxMyg8UUQA=; fh=dAmjiugBOi1qdp35VPh6fiWzJzmayQ24VuwwCs1ULIs=; b=N6iCFbfS7fpnvjLMYUPz6v6hFh5Ao+S7Q8RRyG9v2LjuMqNb4rQnU3pbjC8oH+z4p2 sPA4luZqmEk2CqcqY7bwxfvkMPypdmllyQ0QhxIYy70gBZfxI2miJADJN53GPddvNMFc QAhpcv08fTzvpCZaZ52BL+bG7cOeeoyCpZILPvDVbn9ZI/vruIXnQ/K8wtCBmfPb5nsB G9KW/j1xX2v9FoFnzI8hCBaUu6AiCSfTcAXVeTPUh7vpLREtiGEQN1HQZ3x2pjp1bbQV q4YWaf9jUnLcqDbUc8eWpkOZH8dFj4fFenitwVSBTwbZI6HJ5bvK80pv/upkuMuPXwZ+ KiAg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BlonL15R; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-nfs+bounces-1508-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1508-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.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 l26-20020a63ba5a000000b005d509aa1476si1631772pgu.549.2024.01.26.12.17.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 12:17:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-1508-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=@redhat.com header.s=mimecast20190719 header.b=BlonL15R; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-nfs+bounces-1508-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-1508-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 19CAE287B7A for ; Fri, 26 Jan 2024 20:10:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F35E02260B; Fri, 26 Jan 2024 20:10:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="BlonL15R" 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 33FD0224CF for ; Fri, 26 Jan 2024 20:10:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706299839; cv=none; b=ELtdIaLTAzdp5jTA3cisyr8baFTjstldgiHNWDymWGeyK7fitQOdv1Ko1OtGrcgIwW9UMh0sdpZcVqXwETWuUzdqoU3GmIkqqkoO69OIjnVpWbDuKWGaUbw0ldqDqtjTUiCHuxtr5j6f+U4aws3V7QaixOWPOJ3e4gQZuAAvAVM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706299839; c=relaxed/simple; bh=d3VXE4acxFSA0cI48sTSdL7XV+h1CFhc7ZTfA/tPLWk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=LNHmbJOdR6go7xlseriPmwmsTLCf1dNIeQvyRUaIgXfmbYM3gg30yUwboWRHxjOzOlHvoO7LuhYunBwGYBA9axlLxNvOJ4UlPDmyzVzG+ViCEPE/TILS92wBnjwahkruIih1jd+ZplODgrWZWvfc2w46C1PUPtIuKUCm2p6X/rQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=BlonL15R; arc=none smtp.client-ip=170.10.129.124 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=1706299837; 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=1LPFG6aKjzjxpUdEv6klXk2UNMJAUY116NxMyg8UUQA=; b=BlonL15RFJ+yrXxulVcyzMgX5fm9CLZDc1GxeoH1V4K4NPg0auN1Rs0ccpbSmmvGGo6g99 CqmeuSgcUOUt355bdJXJmx9q4xricr4VLJhlYcv65d2drBAGPfZiWbPyBStjwziZbW8TV9 2pxX5dsRNY6U7fqFrO+lvxP5UBtWXSY= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-611-WIG8p9JaOEilA9iiSkDcZw-1; Fri, 26 Jan 2024 15:10:35 -0500 X-MC-Unique: WIG8p9JaOEilA9iiSkDcZw-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 D446A3C0F379; Fri, 26 Jan 2024 20:10:34 +0000 (UTC) Received: from [192.168.37.1] (ovpn-0-9.rdu2.redhat.com [10.22.0.9]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 64765400D288; Fri, 26 Jan 2024 20:10:34 +0000 (UTC) From: Benjamin Coddington To: Chuck Lever Cc: linux-nfs@vger.kernel.org Subject: Re: [PATCH 2 00/14] NFSD backchannel fixes Date: Fri, 26 Jan 2024 15:10:33 -0500 Message-ID: In-Reply-To: <170629091560.20612.563908774748586696.stgit@manet.1015granger.net> References: <170629091560.20612.563908774748586696.stgit@manet.1015granger.net> Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.2 On 26 Jan 2024, at 12:45, Chuck Lever wrote: > The first four patches fix bugs that prevent NFSD's backchannel > from reliably retransmitting after a client reconnects. > > Following that are some new trace points that might be helpful for > field troubleshooting. > > Then there are some minor clean-ups. > > Changes since RFC: > - Replace the msleep with queue_delayed_work > - Refinements to patch descriptions > > --- > > Chuck Lever (14): > NFSD: Reset cb_seq_status after NFS4ERR_DELAY > NFSD: Convert the callback workqueue to use delayed_work > NFSD: Reschedule CB operations when backchannel rpc_clnt is shut down > NFSD: Retransmit callbacks after client reconnects > NFSD: Add nfsd_seq4_status trace event > NFSD: Replace dprintks in nfsd4_cb_sequence_done() > NFSD: Rename nfsd_cb_state trace point > NFSD: Add callback operation lifetime trace points > SUNRPC: Remove EXPORT_SYMBOL_GPL for svc_process_bc() > NFSD: Remove unused @reason argument > NFSD: Replace comment with lockdep assertion > NFSD: Remove BUG_ON in nfsd4_process_cb_update() > SUNRPC: Remove stale comments > NFSD: Remove redundant cb_seq_status initialization > > > fs/nfsd/nfs4callback.c | 94 +++++++++++++++-------- > fs/nfsd/nfs4state.c | 1 + > fs/nfsd/state.h | 2 +- > fs/nfsd/trace.h | 162 ++++++++++++++++++++++++++++++++++++++- > include/trace/misc/nfs.h | 34 ++++++++ > net/sunrpc/svc.c | 1 - > net/sunrpc/xprtsock.c | 9 --- > 7 files changed, 261 insertions(+), 42 deletions(-) > > -- > Chuck Lever These all make sense, even to me. For the series: Reviewed-by: Benjamin Coddington Ben