From patchwork Thu Jun 5 13:55:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weston Andros Adamson X-Patchwork-Id: 4305511 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 065BEBEEA7 for ; Thu, 5 Jun 2014 13:56:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 48F122018B for ; Thu, 5 Jun 2014 13:55:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 433E22011D for ; Thu, 5 Jun 2014 13:55:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751566AbaFENzv (ORCPT ); Thu, 5 Jun 2014 09:55:51 -0400 Received: from mail-ig0-f170.google.com ([209.85.213.170]:57483 "EHLO mail-ig0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751380AbaFENzu (ORCPT ); Thu, 5 Jun 2014 09:55:50 -0400 Received: by mail-ig0-f170.google.com with SMTP id h3so2925560igd.5 for ; Thu, 05 Jun 2014 06:55:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=KeUl1uDQ+hrtUqvfaaqmkPLpi50EAVPZnf+bcoL+Rx0=; b=DIv4NDnaMhrvZhPxolY+WwEgJUxKbGhAsUkCGJFXq6P9b3d5b+AezvsM0VetR0nen/ b1uQBg+er5t+wPRXinXig6BYgKGqSdeglABZh1f0AIclZs0ISlmBGiLNnKsRgfJ+PBve HuZnXU4vlUVHx66HLpvROp+wESdtX0FHp1N8vKFb1Pj1ex0MBBl3lxOY0UyV0StovnFy 2a+vqC5neHSt2cWE27K/JpypKjHpEIOMNl4zFvPDBHjpU6g35dUalpEtf8mflu3Ni4w/ DNxhd1heM2mOHsFHErE6YX3cCWu3TjeD5QFuhsxIzLtqJc5hfCYbc7O+cRNcDd517LAu E5iw== X-Gm-Message-State: ALoCoQlTRRxPEztgtCQo+DkLlksFF80e1M5RU40mgWBuEXUQU1jz5DBTIr5/5IOD/DLzlI3T1gKf X-Received: by 10.50.6.36 with SMTP id x4mr20606366igx.13.1401976549875; Thu, 05 Jun 2014 06:55:49 -0700 (PDT) Received: from gavrio-wifi.robotsandstuff.fake (c-98-209-19-144.hsd1.mi.comcast.net. [98.209.19.144]) by mx.google.com with ESMTPSA id c8sm30697482igx.8.2014.06.05.06.55.49 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 05 Jun 2014 06:55:49 -0700 (PDT) From: Weston Andros Adamson To: bfields@fieldses.org Cc: linux-nfs@vger.kernel.org, Weston Andros Adamson Subject: [PATCH pynfs v2 01/16] dataserver: reclaim_complete after create_session Date: Thu, 5 Jun 2014 09:55:29 -0400 Message-Id: <1401976544-36374-2-git-send-email-dros@primarydata.com> X-Mailer: git-send-email 1.8.5.2 (Apple Git-48) In-Reply-To: <1401976544-36374-1-git-send-email-dros@primarydata.com> References: <1401976544-36374-1-git-send-email-dros@primarydata.com> Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Send RECLAIM_COMPLETE after CREATE_SESSION. This enables backend communication to v4.1 linux nfsd servers (i/o through MDS only). Signed-off-by: Weston Andros Adamson --- nfs4.1/dataserver.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nfs4.1/dataserver.py b/nfs4.1/dataserver.py index 65e4f55..ade55e1 100644 --- a/nfs4.1/dataserver.py +++ b/nfs4.1/dataserver.py @@ -54,6 +54,7 @@ class DataServer(object): # as wide as the client/MDS channel (at least for linux client) fore_attrs = channel_attrs4(0, 16384, 16384, 2868, 8, 8, []) self.sess = c.create_session(fore_attrs=fore_attrs) + sess.compound([op.reclaim_complete(FALSE)]) self.make_root() def disconnect(self):