linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benny Halevy <bhalevy@panasas.com>
To: Boaz Harrosh <bharrosh@panasas.com>
Cc: NFS list <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH] SQUASHME: pnfs-obj: bug in last conversion to embedded pnfs_layout_segment
Date: Wed, 10 Nov 2010 11:40:36 +0200	[thread overview]
Message-ID: <4CDA6894.3040305@panasas.com> (raw)
In-Reply-To: <4CD2E7B4.8070805@panasas.com>

Merged. Thanks!

On 2010-11-04 19:04, Boaz Harrosh wrote:
> 
> The range field in pnfs_layout_segment is passed to io-engine's
> objio_alloc_lseg but was never set properly.
> 
> Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
> ---
>  fs/nfs/objlayout/objlayout.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/fs/nfs/objlayout/objlayout.c b/fs/nfs/objlayout/objlayout.c
> index efe7984..332c832 100644
> --- a/fs/nfs/objlayout/objlayout.c
> +++ b/fs/nfs/objlayout/objlayout.c
> @@ -102,6 +102,7 @@ objlayout_alloc_lseg(struct pnfs_layout_hdr *pnfslay,
>  	pnfs_osd_layout = (struct pnfs_osd_layout *)objlseg->pnfs_osd_layout;
>  	pnfs_osd_xdr_decode_layout(pnfs_osd_layout, layout);
>  
> +	objlseg->lseg.range = lgr->range;
>  	status = objio_alloc_lseg(&objlseg->internal, pnfslay, &objlseg->lseg,
>  				  pnfs_osd_layout);
>  	if (status)

      reply	other threads:[~2010-11-10  9:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-04 17:04 [PATCH] SQUASHME: pnfs-obj: bug in last conversion to embedded pnfs_layout_segment Boaz Harrosh
2010-11-10  9:40 ` Benny Halevy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CDA6894.3040305@panasas.com \
    --to=bhalevy@panasas.com \
    --cc=bharrosh@panasas.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).