From patchwork Mon Oct 29 17:35:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever X-Patchwork-Id: 195087 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "acsinet15.oracle.com", Issuer "VeriSign Class 3 International Server CA - G3" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 30F462C008A for ; Tue, 30 Oct 2012 04:35:27 +1100 (EST) Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q9THZOLM032379 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 29 Oct 2012 17:35:25 GMT Received: from oss.oracle.com (oss-external.oracle.com [137.254.96.51]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q9THZOhK002726 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 29 Oct 2012 17:35:24 GMT Received: from localhost ([127.0.0.1] helo=oss.oracle.com) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1TStFE-00052t-6A; Mon, 29 Oct 2012 10:35:24 -0700 Received: from ucsinet22.oracle.com ([156.151.31.94]) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1TStFC-00052k-AL for fedfs-utils-devel@oss.oracle.com; Mon, 29 Oct 2012 10:35:22 -0700 Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q9THZLtv008328 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 29 Oct 2012 17:35:22 GMT Received: from mail-ia0-f171.google.com ([209.85.210.171]) by rcsinet13.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q9THYpwa029719 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Mon, 29 Oct 2012 17:35:21 GMT Received: by mail-ia0-f171.google.com with SMTP id u21so4292680ial.2 for ; Mon, 29 Oct 2012 10:35:21 -0700 (PDT) Received: by 10.50.151.166 with SMTP id ur6mr10199138igb.66.1351532121124; Mon, 29 Oct 2012 10:35:21 -0700 (PDT) Received: from seurat.1015granger.net ([99.26.161.222]) by mx.google.com with ESMTPS id bg10sm6008695igc.6.2012.10.29.10.35.19 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 29 Oct 2012 10:35:19 -0700 (PDT) From: Chuck Lever To: fedfs-utils-devel@oss.oracle.com Date: Mon, 29 Oct 2012 13:35:18 -0400 Message-ID: <20121029173518.53098.24478.stgit@seurat.1015granger.net> In-Reply-To: <20121029173011.53098.41779.stgit@seurat.1015granger.net> References: <20121029173011.53098.41779.stgit@seurat.1015granger.net> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 X-Flow-Control-Info: class=Default reputation=ipRepBelow100 ip=209.85.210.171 ct-class=R5 ct-vol1=0 ct-vol2=8 ct-vol3=8 ct-risk=48 ct-spam1=75 ct-spam2=7 ct-bulk=6 rcpts=1 size=1932 X-MM-CT-Classification: not spam X-MM-CT-RefID: str=0001.0A090204.508EBE59.0064,ss=1,re=0.000,fgs=0 Subject: [fedfs-utils] [PATCH 6/9] Update FedFS RPCL X-BeenThere: fedfs-utils-devel@oss.oracle.com X-Mailman-Version: 2.1.9 Precedence: list Reply-To: fedfs-utils Developers List-Id: fedfs-utils Developers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: fedfs-utils-devel-bounces@oss.oracle.com Errors-To: fedfs-utils-devel-bounces@oss.oracle.com X-Source-IP: acsinet21.oracle.com [141.146.126.237] Pull in RPCL from a pre-release version of revision 12 of the FedFS ADMIN protocol draft. The new RPCL has only minor changes. Signed-off-by: Chuck Lever --- doc/rpcl/fedfs_admin.x | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/rpcl/fedfs_admin.x b/doc/rpcl/fedfs_admin.x index bac0f79..da03520 100644 --- a/doc/rpcl/fedfs_admin.x +++ b/doc/rpcl/fedfs_admin.x @@ -8,7 +8,7 @@ #endif /* - * Copyright (c) 2010 IETF Trust and the persons identified + * Copyright (c) 2010-2012 IETF Trust and the persons identified * as authors of the code. All rights reserved. * * The authors of the code are the authors of @@ -87,22 +87,22 @@ enum FedFsStatus { FEDFS_ERR_PATH_TYPE_UNSUPP = 33, FEDFS_ERR_DELAY = 34, FEDFS_ERR_NO_CACHE = 35, - FEDFS_ERR_UNKNOWN_CACHE = 36, + FEDFS_ERR_UNKNOWN_CACHE = 36, FEDFS_ERR_NO_CACHE_UPDATE = 37 }; typedef opaque utf8string<>; -typedef utf8string utf8str_cs; -typedef utf8string utf8str_cis; +typedef utf8string ascii_REQUIRED4; +typedef utf8string utf8val_REQUIRED4; typedef opaque FedFsUuid[16]; struct FedFsNsdbName { unsigned int port; - utf8str_cis hostname; + utf8val_REQUIRED4 hostname; }; -typedef utf8str_cs FedFsPathComponent; +typedef ascii_REQUIRED4 FedFsPathComponent; typedef FedFsPathComponent FedFsPathName<>; struct FedFsFsn { @@ -118,7 +118,7 @@ enum FedFsFslType { struct FedFsNfsFsl { FedFsUuid fslUuid; unsigned int port; - utf8str_cis hostname; + utf8val_REQUIRED4 hostname; FedFsPathName path; };