From owner-freebsd-fs@freebsd.org Thu Jul 2 12:07:54 2015 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F06E8992EC4 for ; Thu, 2 Jul 2015 12:07:53 +0000 (UTC) (envelope-from email.ahmedkamal@googlemail.com) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8BAEF2F57; Thu, 2 Jul 2015 12:07:53 +0000 (UTC) (envelope-from email.ahmedkamal@googlemail.com) Received: by widjy10 with SMTP id jy10so83009052wid.1; Thu, 02 Jul 2015 05:07:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=/tjINW9iZb4o50XtA/IPDF6WLU4OJpqcvmq9pP+vZxc=; b=BSYkFB5V0SD+ysENrFCedWZXS/hiGXLy2kG9qlxgH4B70ohcIlEbXe+aPaG0zEvp33 j6NslVHaxczXKczraUinOsdDBjYbjV1gc/nggBrQM40Wu2BR/EmfJuIMlMllwmAASeIr NChSL+UJKeDgAX0iw7neLaUYS9SttRDlRj3vDRQSV7hm/L2rXSNAs1ckJRfbruitlqKr EO76MPppUWbYLIOHqaWFBkqEd4DVpBxDsDOhqTHakK54TB3nEGJEFTdG16BJZh+7ykb9 peh+m6pV5wKVsG/73TeuNehXoFDRUo4doWz5aNjxY0P7QCEpVafeEp2CS4BvBp3It4tz W2NA== X-Received: by 10.194.6.229 with SMTP id e5mr11123118wja.158.1435838871794; Thu, 02 Jul 2015 05:07:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.6.143 with HTTP; Thu, 2 Jul 2015 05:07:32 -0700 (PDT) In-Reply-To: <1022558302.2863702.1435838360534.JavaMail.zimbra@uoguelph.ca> References: <684628776.2772174.1435793776748.JavaMail.zimbra@uoguelph.ca> <55947C6E.5060409@delphij.net> <1491630362.2785531.1435799383802.JavaMail.zimbra@uoguelph.ca> <5594B008.10202@freebsd.org> <1022558302.2863702.1435838360534.JavaMail.zimbra@uoguelph.ca> From: Ahmed Kamal Date: Thu, 2 Jul 2015 14:07:32 +0200 Message-ID: Subject: Re: Linux NFSv4 clients are getting (bad sequence-id error!) To: Rick Macklem Cc: Julian Elischer , freebsd-fs@freebsd.org, d@delphij.net Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jul 2015 12:07:54 -0000 Appreciating the fruitful discussion! Can someone please explain to me, what would happen in the current situation (linux client doing this skip-by-1 thing, and freebsd not doing it) ? What is the effect of that? What do users see? Any chances of data loss? Also, I find it strange that netapp have acknowledged this is a bug on their side, which has been fixed since then! I also find it strange that I'm the first to hit this :) Is no one running nfs4 yet! On Thu, Jul 2, 2015 at 1:59 PM, Rick Macklem wrote: > Julian Elischer wrote: > > On 7/2/15 9:09 AM, Rick Macklem wrote: > > > I am going to post to nfsv4@ietf.org to see what they say. Please > > > let me know if Xin Li's patch resolves your problem, even though I > > > don't believe it is correct except for the UINT32_MAX case. Good > > > luck with it, rick > > and please keep us all in the loop as to what they say! > > > > the general N+2 bit sounds like bullshit to me.. its always N+1 in a > > number field that has a > > bit of slack at wrap time (probably due to some ambiguity in the > > original spec). > > > Actually, since N is the lock op already done, N + 1 is the next lock > operation in order. Since lock ops need to be strictly ordered, allowing > N + 2 (which means N + 2 would be done before N + 1) makes no sense. > > I think the author of the RFC meant that N + 2 or greater fails, but it > was poorly worded. > > I will pass along whatever I get from nfsv4@ietf.org. (There is an archive > of it somewhere, but I can't remember where.;-) > > rick > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >