Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp893023ybl; Wed, 28 Aug 2019 06:52:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqzQ6KD8K7lH0RZarHLPTjeE1XQzV8C3J5gH5KvhJmqouspSHVtUPPTzvvVHHyvTLT4Z+xdO X-Received: by 2002:a17:902:aa91:: with SMTP id d17mr4329336plr.74.1567000376837; Wed, 28 Aug 2019 06:52:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567000376; cv=none; d=google.com; s=arc-20160816; b=KFbEEChesyBAcezbEOtJSdABaLrTeP3TufV9rYTmM4NKLsMmTA2gNOF8HiMfMusMTA j7x8U6aXESL3B/ee2YYtWUPiOZENzy9OVPxKIL02E7MDQV/Rlh6gdl0zrsQKN9tvd92C uAUXeEnh5tSw1Cie3PZbPHT9W/Sq6PARt3yfUiWkuS9NxhJpcaNNGriXhf4eXdGBwlKc 3RcJ3G7sWcWgwbGV4H8YuDGeBAJ/SxAGI+/UxwYzmEmf8UXWFfE7mjLTgh7VythS7RTJ qwAI+tCpRerG8eK9vHGczCp0wVYir6FcAsY+XSt/F8vWeel8WS1e+OQy2Tm5FeTFPMS1 fafA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=HKysrA43CfPdLwGB6BKECbFeeC5LIBlILNn8D1b7b3o=; b=OZE2cZcTP46J6iCbnJCy+lHzvxZxMESqaz83DyJ3Flwdrp7zpZEH+6fTE8KryYydRn bXgQ2ETjHKo3e/AkPYUrkI0TpDf3IlwRVW1g6AFbOrH0wsNywoEjWdFCQgjSoFQhchzk 7Lp7FIg8NPYKHb2P8w4wgW83Fdty992t4kyiFbPDOrUiy2EvEHRlSZGV5fLjfpLbzs4H 5ad+Q6enQ8crXWvRV+3kdZtuyZ9eSvOfZC0lcySC3YY565AS3ueIJvgZFDlu2pOU6gbZ 9fAefKENpEB4VsEIRnVKGpO4vtZWkUDPrDommbjNSy2fTRe4Nrb/ZuEMMxTxaYlCHv6K 1uDg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s16si2235304pgs.228.2019.08.28.06.52.36; Wed, 28 Aug 2019 06:52:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726394AbfH1Nvc (ORCPT + 99 others); Wed, 28 Aug 2019 09:51:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57012 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726368AbfH1Nvc (ORCPT ); Wed, 28 Aug 2019 09:51:32 -0400 Received: from mail-yb1-f200.google.com (mail-yb1-f200.google.com [209.85.219.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EE29785545 for ; Wed, 28 Aug 2019 13:51:31 +0000 (UTC) Received: by mail-yb1-f200.google.com with SMTP id f71so58298ybg.6 for ; Wed, 28 Aug 2019 06:51:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=HKysrA43CfPdLwGB6BKECbFeeC5LIBlILNn8D1b7b3o=; b=WOv9rrmO6g6o8hLc4HB6czvo6kq+hx2fjqiTgQfbbfiqbFsloHuukFFQoOkoc8V/vK U/UFTXqD2qhVbvzZmAwMrU1AJxfVErMjJxU588LOqT4EUHMMyAuSzumTOdr8aH8pfynL ytDY7hQG9G6YoYPo3o1Hb8fkm63C9nrYTNgGPImTxEc1U4T2hCqNVvZ8E8FdBEkdp+4P C0ypXydT0HdqeSRQB/yEI9nx9rp7YUwQ1K3qYtC/zBs2pA2xJDx8sqA+AbVgd1QtPeF+ rlIkiHZZDd/Q2tvkNZMGQy517DaMtO/1z4wEic2gFcSjOPz/OlrDNjgBMh2GHY1SQ2b2 x8bg== X-Gm-Message-State: APjAAAX7pCFrp9AscKYk4GVLz5EhVozVwk9mL4VIUf47jsksI46U4o+L FHNIyF4hQdQHEd56VlW8yM5E0XDgLsMVkJhmLzTutzDuUf9jyugEtIaQL+GbnB/OTx0Ey1hos+n /pXtu0FQ/VEmPlyMtvc1i X-Received: by 2002:a25:b850:: with SMTP id b16mr3165781ybm.172.1567000291353; Wed, 28 Aug 2019 06:51:31 -0700 (PDT) X-Received: by 2002:a25:b850:: with SMTP id b16mr3165765ybm.172.1567000291060; Wed, 28 Aug 2019 06:51:31 -0700 (PDT) Received: from tleilax.poochiereds.net (68-20-15-154.lightspeed.rlghnc.sbcglobal.net. [68.20.15.154]) by smtp.gmail.com with ESMTPSA id a201sm511796ywa.19.2019.08.28.06.51.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Aug 2019 06:51:30 -0700 (PDT) Message-ID: Subject: Re: [PATCH 0/3] Handling NFSv3 I/O errors in knfsd From: Jeff Layton To: "bfields@fieldses.org" , Trond Myklebust Cc: "linux-nfs@vger.kernel.org" , "bfields@redhat.com" , "chuck.lever@oracle.com" Date: Wed, 28 Aug 2019 09:51:28 -0400 In-Reply-To: <20190828134839.GA26492@fieldses.org> References: <20190826165021.81075-1-trond.myklebust@hammerspace.com> <20190826205156.GA27834@fieldses.org> <61F77AD6-BD02-4322-B944-0DC263EB9BD8@oracle.com> <20190827145819.GB9804@fieldses.org> <20190827145912.GC9804@fieldses.org> <1ee75165d548b336f5724b6d655aa2545b9270c3.camel@hammerspace.com> <20190828134839.GA26492@fieldses.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.4 (3.32.4-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Wed, 2019-08-28 at 09:48 -0400, bfields@fieldses.org wrote: > On Tue, Aug 27, 2019 at 03:15:35PM +0000, Trond Myklebust wrote: > > I'm open to other suggestions, but I'm having trouble finding one that > > can scale correctly (i.e. not require per-client tracking), prevent > > silent corruption (by causing clients to miss errors), while not > > relying on optional features that may not be implemented by all NFSv3 > > clients (e.g. per-file write verifiers are not implemented by *BSD). > > > > That said, it seems to me that to do nothing should not be an option, > > as that would imply tolerating silent corruption of file data. > > So should we increment the boot verifier every time we discover an error > on an asynchronous write? > I think so. Otherwise, only one client will ever see that error. -- Jeff Layton