From patchwork Tue Dec 16 19:01:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Haynes X-Patchwork-Id: 5502951 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 E6740BEEA8 for ; Tue, 16 Dec 2014 19:02:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 82C2D209BD for ; Tue, 16 Dec 2014 19:02:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ACE68209C4 for ; Tue, 16 Dec 2014 19:02:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751247AbaLPTCl (ORCPT ); Tue, 16 Dec 2014 14:02:41 -0500 Received: from mail-pd0-f174.google.com ([209.85.192.174]:52925 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751225AbaLPTCl (ORCPT ); Tue, 16 Dec 2014 14:02:41 -0500 Received: by mail-pd0-f174.google.com with SMTP id fp1so14384164pdb.19 for ; Tue, 16 Dec 2014 11:02:41 -0800 (PST) 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=9IdscPqGMXux4UINz2QutYGy4GXYaF3yt/q+FcZ0GdY=; b=hhdLBmoyuDxUkXkS9RgdIW4rqG+B2vF9siG/f0RLMWMMo1MLrUkyHPl103/B1QDMYq vbPJM5PJ5K5QoVqeEJY0+xMjn2BFqaiBuAHInqyeVVo1q7eIhwARxpkCQAhsxkyATwVU mOCGbifGkDkiiorOWUEfTWR6Wu3Dd7iXqVS2qSGu1C7HCk+zivB4OA32pd62UYBx2wf/ /gRK06G+JS4cbhHdSsywZcgOOa06sTqsSDh8u4wnFsl7uglxnBtbH7fDjk45qbZXkh6U MRGjDyuKqWgjWQ5doek9adPrNVxI8lYuKqP85y6wskj0BdQ8JQthhhDWVD3ZpvyMG8zD N7EQ== X-Gm-Message-State: ALoCoQnVv4NxcAl4ur3wo9Ed7WK8GlBJfTykNmCUsQcQnRmv7Ko2f/bxPuLRQJ5jZWdFavvNukK7 X-Received: by 10.66.160.2 with SMTP id xg2mr62557176pab.111.1418756560546; Tue, 16 Dec 2014 11:02:40 -0800 (PST) Received: from localhost.localdomain ([50.242.95.105]) by mx.google.com with ESMTPSA id q4sm1620669pdh.79.2014.12.16.11.02.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Dec 2014 11:02:39 -0800 (PST) From: Tom Haynes X-Google-Original-From: Tom Haynes To: Trond Myklebust Cc: Linux NFS Mailing List Subject: [PATCH 19/50] nfs/flexclient: export pnfs_layoutcommit_inode Date: Tue, 16 Dec 2014 11:01:22 -0800 Message-Id: <1418756513-95187-20-git-send-email-loghyr@primarydata.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1418756513-95187-1-git-send-email-loghyr@primarydata.com> References: <1418756513-95187-1-git-send-email-loghyr@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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 From: Peng Tao flexfiles needs to start layoutcommit when necessary Signed-off-by: Peng Tao --- fs/nfs/pnfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c index 0a5dda4..2d25670 100644 --- a/fs/nfs/pnfs.c +++ b/fs/nfs/pnfs.c @@ -1966,6 +1966,7 @@ clear_layoutcommitting: pnfs_clear_layoutcommitting(inode); goto out; } +EXPORT_SYMBOL_GPL(pnfs_layoutcommit_inode); struct nfs4_threshold *pnfs_mdsthreshold_alloc(void) {