From mboxrd@z Thu Jan 1 00:00:00 1970 From: "J. Bruce Fields" Subject: Re: [PATCH 7/8] pnfs-submit: forgetful client model Date: Tue, 18 May 2010 14:22:11 -0400 Message-ID: <20100518182211.GD20706@fieldses.org> References: <1274119004-30213-3-git-send-email-batsakis@netapp.com> <1274119004-30213-4-git-send-email-batsakis@netapp.com> <1274119004-30213-5-git-send-email-batsakis@netapp.com> <1274119004-30213-6-git-send-email-batsakis@netapp.com> <1274119004-30213-7-git-send-email-batsakis@netapp.com> <1274119004-30213-8-git-send-email-batsakis@netapp.com> <20100517203851.GB5232@fieldses.org> <297C26EA-E5A1-411F-BC2B-76228887EE90@netapp.com> <20100518141633.GA17823@fieldses.org> <10CFDED7-10CA-4657-9CC1-F4E2DD32BB71@netapp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: bhalevy@panasas.com, linux-nfs@vger.kernel.org To: Alexandros Batsakis Return-path: Received: from fieldses.org ([174.143.236.118]:36936 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752644Ab0ERSWN (ORCPT ); Tue, 18 May 2010 14:22:13 -0400 In-Reply-To: <10CFDED7-10CA-4657-9CC1-F4E2DD32BB71@netapp.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Tue, May 18, 2010 at 10:33:32AM -0700, Alexandros Batsakis wrote: > > On May 18, 2010, at 7:16 AM, J. Bruce Fields wrote: > > > On Mon, May 17, 2010 at 05:06:09PM -0700, Alexandros Batsakis wrote: > >> Sure, I ll add the stuff below to the wiki and to the Documention folder. > > > > Thanks! Looks good. > > > >> a) if stateid.seqid is not the expected one return NFS4ERR_DELAY. > >> b) we set the specific segments as not valid (no more I/O to them) > >> c) if there is pending I/O we return NFS4ERR_DELAY. > > > > Up to you whether it's worth documenting, but: I remember there being > > some disagreement about this, but don't remember the resolution. > > > >> d) we return NFS4ERR_NOMATCHING_LAYOUT > >> > >> Here you can find a simple flowchart that highlights the description above. > >> https://docs.google.com/leaf?id=0B9egH40ld0WsMjg0ZmYzMTQtNDY5NC00ZjRjLTkwNzktNjFhZDFhYjJjYmFj&hl=en > > > > That URL doesn't work for me. > > > > Apologies > This should work (it's a .pdf file) > https://docs.google.com/fileview?id=0B9egH40ld0WsNWQzM2RhMTQtM2E5ZS00YTk3LThmNDItMDU0YWMzZDczNDli&hl=en Yep--thanks. --b.