Return-Path: linux-nfs-owner@vger.kernel.org Received: from mail-ig0-f173.google.com ([209.85.213.173]:59496 "EHLO mail-ig0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753277AbaCFQCt convert rfc822-to-8bit (ORCPT ); Thu, 6 Mar 2014 11:02:49 -0500 Received: by mail-ig0-f173.google.com with SMTP id t19so8661682igi.0 for ; Thu, 06 Mar 2014 08:02:48 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: Optimal NFS mount options to safely allow interrupts and timeouts on newer kernels From: Trond Myklebust In-Reply-To: <17607EE5-614A-4B13-B5E7-0D1344A30C7F@oracle.com> Date: Thu, 6 Mar 2014 11:02:45 -0500 Cc: Andrew Martin , Jim Rees , Brown Neil , Linux NFS Mailing List Message-Id: <2A4F9722-1ED1-462E-B66B-669217957814@primarydata.com> References: <1696396609.119284.1394040541217.JavaMail.zimbra@xes-inc.com> <260588931.122771.1394041524167.JavaMail.zimbra@xes-inc.com> <20140306145042.6db53f60@notabene.brown> <1853694865.210849.1394082223818.JavaMail.zimbra@xes-inc.com> <20140306123438.GA21799@umich.edu> <04BE61B0-08B5-4E0C-88B6-6D93127BB64E@oracle.com> <5B1102FE-8521-4BEF-8A2B-CE17EC32777F@primarydata.com> <17607EE5-614A-4B13-B5E7-0D1344A30C7F@oracle.com> To: Lever Charles Edward Sender: linux-nfs-owner@vger.kernel.org List-ID: On Mar 6, 2014, at 10:59, Chuck Lever wrote: > > On Mar 6, 2014, at 10:33 AM, Trond Myklebust wrote: > >> >> On Mar 6, 2014, at 10:26, Chuck Lever wrote: >> >>> >>> On Mar 6, 2014, at 7:34 AM, Jim Rees wrote: >>> >>>> Given this is apache, I think if I were doing this I'd use ro,soft,intr,tcp >>>> and not try to write anything to nfs. >>> >>> I agree. A static web page workload should be read-mostly or read-only. The (small) corruption risk with ?ro,soft" is that an interrupted read would cause the client to cache incomplete data. >> >> What? How? If that were the case, we would have a blatant read bug. As I read the current code, _any_ error will cause the page to not be marked as up to date. > > Agree, the design is sound. But we don?t test this use case very much, so I don?t have 100% confidence that there are no bugs. Is that the royal ?we?, or are you talking on behalf of all the QA departments and testers here? I call bullshit... _________________________________ Trond Myklebust Linux NFS client maintainer, PrimaryData trond.myklebust@primarydata.com