* [PATCH] SQUASHME: pnfs-obj: bug in last conversion to embedded pnfs_layout_segment
@ 2010-11-04 17:04 Boaz Harrosh
2010-11-10 9:40 ` Benny Halevy
0 siblings, 1 reply; 2+ messages in thread
From: Boaz Harrosh @ 2010-11-04 17:04 UTC (permalink / raw)
To: Benny Halevy, NFS list
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)
--
1.7.2.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] SQUASHME: pnfs-obj: bug in last conversion to embedded pnfs_layout_segment
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
0 siblings, 0 replies; 2+ messages in thread
From: Benny Halevy @ 2010-11-10 9:40 UTC (permalink / raw)
To: Boaz Harrosh; +Cc: NFS list
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-10 9:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).