Re: [nfsv4] parallel LAYOUTGETs using open stateid

Benny Halevy <bhalevy@panasas.com> Thu, 07 October 2010 13:49 UTC

Return-Path: <bhalevy.lists@gmail.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6653B3A702C for <nfsv4@core3.amsl.com>; Thu, 7 Oct 2010 06:49:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m0RkK16-QZue for <nfsv4@core3.amsl.com>; Thu, 7 Oct 2010 06:49:33 -0700 (PDT)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id 4A68A3A6FEA for <nfsv4@ietf.org>; Thu, 7 Oct 2010 06:49:33 -0700 (PDT)
Received: by qwc9 with SMTP id 9so47692qwc.31 for <nfsv4@ietf.org>; Thu, 07 Oct 2010 06:50:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=XcihAxX7v17fBAzpsfsBn0N86NS6WV7WZrklv07Rj2I=; b=UdV3H1pW328QBYzBMYTb4x1D16UY/bYXB0mzLWZuW0HDQGYEfw10qJlWnWG2RHOPzN NLlpMFf4Ocmmuk0mLYTTdf94NK40l77W6ZSzh9ooH0iF9v8WSSBcEm5ZsCbzUSMvJaZ2 dlq2kfdeoz/13Crta5tRlNKjbuEBRnrBjTEkM=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=i/hXbBWciDZ/AuMviBwpCqU/vOxmKbXlYHP9Y0C7b/1awDn1tObOhEv7Akt0RHUk/3 Lr/S/oU/QHm7z3PaUBWNLhg+JRy+eb5lsk7rwSf9vddigY+gBw0H7m3PXbHjThXf1N3o hWqVW9lXK4NN2B9sHvXipqKUAkxbynEkTYpmY=
MIME-Version: 1.0
Received: by 10.224.82.19 with SMTP id z19mr325737qak.173.1286459435435; Thu, 07 Oct 2010 06:50:35 -0700 (PDT)
Sender: bhalevy.lists@gmail.com
Received: by 10.229.231.84 with HTTP; Thu, 7 Oct 2010 06:50:35 -0700 (PDT)
In-Reply-To: <AANLkTinZ1t1YbL55vkT0OJ0i2j9AqNuvFStTwFoGO-dB@mail.gmail.com>
References: <AANLkTinZ1t1YbL55vkT0OJ0i2j9AqNuvFStTwFoGO-dB@mail.gmail.com>
Date: Thu, 07 Oct 2010 09:50:35 -0400
X-Google-Sender-Auth: aqjMsBWeIGKasLNk4-v-qv7U8iI
Message-ID: <AANLkTin+0BG=u3o2DZcHgdODoaznePOeTrmQJfh9C6Ym@mail.gmail.com>
From: Benny Halevy <bhalevy@panasas.com>
To: Fred Isaman <iisaman@citi.umich.edu>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] parallel LAYOUTGETs using open stateid
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Oct 2010 13:49:34 -0000

On Thu, Oct 7, 2010 at 9:21 AM, Fred Isaman <iisaman@citi.umich.edu> wrote:
> This question came up as I was going through our layout stateid code.
>
> Can the client send multiple LAYOUTGETs in parallel before getting a
> layoutstateid by using an open stateid?
> If so, what is the server response?  The spec is not clear, but I
> would assume it would do one of:
> a) returning an error (what error?) on all but the first LAYOUTGET it sees
> b) matching the openstateid to the layoutstateid it has already given
> out and sending a reply with that stateid and a bumped seqid

I'm in favour of (b).
Are there any problems you see in that approach?

Benny

> Fred
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>