From patchwork Thu Jun 16 15:37:11 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Boaz Harrosh X-Patchwork-Id: 887712 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5GFaULK015599 for ; Thu, 16 Jun 2011 15:37:29 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757221Ab1FPPh2 (ORCPT ); Thu, 16 Jun 2011 11:37:28 -0400 Received: from daytona.panasas.com ([67.152.220.89]:54043 "EHLO daytona.panasas.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756710Ab1FPPh2 (ORCPT ); Thu, 16 Jun 2011 11:37:28 -0400 Received: from [172.17.33.131] ([172.17.33.131]) by daytona.panasas.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 16 Jun 2011 11:37:13 -0400 Message-ID: <4DFA2327.800@panasas.com> Date: Thu, 16 Jun 2011 11:37:11 -0400 From: Boaz Harrosh User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.38.b3pre.fc13 Thunderbird/3.1.9 MIME-Version: 1.0 To: Benny Halevy , NFS list Subject: [PATCH 2/3] SQUASHME pnfs-blocks: mds_offset is set in the generic layer References: <4DF9278A.5010103@panasas.com> In-Reply-To: <4DF9278A.5010103@panasas.com> X-OriginalArrivalTime: 16 Jun 2011 15:37:13.0471 (UTC) FILETIME=[4389F8F0:01CC2C3B] 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.6 (demeter2.kernel.org [140.211.167.43]); Thu, 16 Jun 2011 15:37:29 +0000 (UTC) Signed-off-by: Boaz Harrosh --- fs/nfs/blocklayout/blocklayout.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/fs/nfs/blocklayout/blocklayout.c b/fs/nfs/blocklayout/blocklayout.c index 8843df4..8531fd7 100644 --- a/fs/nfs/blocklayout/blocklayout.c +++ b/fs/nfs/blocklayout/blocklayout.c @@ -495,8 +495,6 @@ bl_write_pagelist(struct nfs_write_data *wdata, wdata->res.count = (isect << 9) - (offset); if (count < wdata->res.count) wdata->res.count = count; - /* pnfs_set_layoutcommit needs this */ - wdata->mds_offset = offset; put_extent(be); bl_submit_bio(WRITE, bio); put_parallel(par);