From patchwork Tue Dec 14 22:02:59 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fred Isaman X-Patchwork-Id: 411841 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBEM36Px021188 for ; Tue, 14 Dec 2010 22:03:08 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758249Ab0LNWDG (ORCPT ); Tue, 14 Dec 2010 17:03:06 -0500 Received: from mx2.netapp.com ([216.240.18.37]:11394 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758041Ab0LNWDF (ORCPT ); Tue, 14 Dec 2010 17:03:05 -0500 X-IronPort-AV: E=Sophos;i="4.59,344,1288594800"; d="scan'208";a="494918591" Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 14 Dec 2010 14:03:04 -0800 Received: from localhost.localdomain (vpn2ntap-71744.hq.netapp.com [10.58.57.236]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id oBEM32oe010255 for ; Tue, 14 Dec 2010 14:03:04 -0800 (PST) From: Fred Isaman To: linux-nfs@vger.kernel.org Subject: [PATCH 2/3] pnfs-submit: wave2: Remove smp barrier in get_layout_hdr Date: Tue, 14 Dec 2010 17:02:59 -0500 Message-Id: <1292364180-28512-3-git-send-email-iisaman@netapp.com> X-Mailer: git-send-email 1.7.2.1 In-Reply-To: <1292364180-28512-1-git-send-email-iisaman@netapp.com> References: <1292364180-28512-1-git-send-email-iisaman@netapp.com> Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 14 Dec 2010 22:03:08 +0000 (UTC) diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c index c22e439..b815e3e 100644 --- a/fs/nfs/pnfs.c +++ b/fs/nfs/pnfs.c @@ -237,7 +237,6 @@ void get_layout_hdr(struct pnfs_layout_hdr *lo) { atomic_inc(&lo->plh_refcount); - smp_mb__after_atomic_inc(); } static void