From patchwork Mon Oct 1 11:52:45 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Layton X-Patchwork-Id: 1531131 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 7CF4B40135 for ; Mon, 1 Oct 2012 11:52:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752375Ab2JALw6 (ORCPT ); Mon, 1 Oct 2012 07:52:58 -0400 Received: from mail-gh0-f174.google.com ([209.85.160.174]:38295 "EHLO mail-gh0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751821Ab2JALw5 (ORCPT ); Mon, 1 Oct 2012 07:52:57 -0400 Received: by mail-gh0-f174.google.com with SMTP id g15so1356084ghb.19 for ; Mon, 01 Oct 2012 04:52:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state; bh=safApiGNw+22k7W/7lP7eOOvqnPDRQkLifq/NznB484=; b=GcFGs8sZN+rr4TlLpKc5Ik0b5yZ6ITIPNtc3MclBnJwRuNuLaOsT6dnBQwxH8xc3Gg TmOqNiH1HQgqCpu4bWnfa8bVA191gCb0zstRESPeHWCrQM1vcnJt44928cpeokUVfjxM nRFpbAlVeMnJce/fKRQvEzbdR+q3yOIo75VSIM7qV9P43xbS54xL8T4i1mphz9FRJqT/ kh5jj7J1A0aRF4mZIsBMFaBGpSW0W04UacBUlw5T4dnrkUg74W4iXfjREmLwzHIPXY1t bZnCSD0lwM2bIc5j99OElvjMlfNbpeLJaj0gDlq2lhIksmpFIcTwbZJNcGG3y1j5k9pS e/BQ== Received: by 10.236.153.9 with SMTP id e9mr14739368yhk.32.1349092377266; Mon, 01 Oct 2012 04:52:57 -0700 (PDT) Received: from salusa.poochiereds.net (cpe-107-015-110-129.nc.res.rr.com. [107.15.110.129]) by mx.google.com with ESMTPS id r43sm5736025yhc.0.2012.10.01.04.52.56 (version=SSLv3 cipher=OTHER); Mon, 01 Oct 2012 04:52:56 -0700 (PDT) From: Jeff Layton To: linux-nfs@vger.kernel.org Subject: [PATCH 6/6] nfsdcltrack: update the README about server startup order Date: Mon, 1 Oct 2012 07:52:45 -0400 Message-Id: <1349092365-23920-7-git-send-email-jlayton@redhat.com> X-Mailer: git-send-email 1.7.11.4 In-Reply-To: <1349092365-23920-1-git-send-email-jlayton@redhat.com> References: <1349092365-23920-1-git-send-email-jlayton@redhat.com> X-Gm-Message-State: ALoCoQkajhbZMmJ/k/t7DGmcgdxMcbJYbOqqfb+ia9oyX1Sw0JScdKcr7IHFLeEVktvX0napV8EY Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org If we eventually deprecate nfsdcld, then we can just remove this section I think. Signed-off-by: Jeff Layton --- README | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README b/README index e55b2dd..f997783 100644 --- a/README +++ b/README @@ -110,8 +110,9 @@ scripts can be written to work correctly. E/ nfsdcld This daemon is only needed on kernels that support the nfsdcld - upcall, and only if the legacy client ID tracking isn't used. It - is also not needed if the server does not support NFSv4. + upcall, and only if the legacy client ID tracking and nfsdcltrack + aren't used. It is also not needed if the server does not support + NFSv4. To determine whether you need this or not, do the following: @@ -124,7 +125,12 @@ scripts can be written to work correctly. # cat /proc/fs/nfsd/nfsv4recoverydir If that file is not present, or the directory that the above command - outputs is not present, then this daemon is required in order to + outputs is not present, then check this: + + # modinfo nfsd | grep cltrack_prog + + to see whether the kernel supports the nfsdcltrack upcall. If + none of those are configured then this daemon is required in order to support lock recovery by the clients when the server reboots. F/ rpc.nfsd