Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efe966f
)
- looks like osc_enqueue is now looking at the strip_count, so it needs to be
author
rread
<rread>
Mon, 19 Aug 2002 23:42:06 +0000
(23:42 +0000)
committer
rread
<rread>
Mon, 19 Aug 2002 23:42:06 +0000
(23:42 +0000)
initialized. Not sure why osc needs this info.
lustre/lov/lov_obd.c
patch
|
blob
|
history
diff --git
a/lustre/lov/lov_obd.c
b/lustre/lov/lov_obd.c
index
b2cec2e
..
005ec64
100644
(file)
--- a/
lustre/lov/lov_obd.c
+++ b/
lustre/lov/lov_obd.c
@@
-637,6
+637,8
@@
static int lov_enqueue(struct lustre_handle *conn, struct lov_stripe_md *md,
submd.lmd_object_id = md->lmd_objects[i].l_object_id;
submd.lmd_easize = sizeof(submd);
+ submd.lmd_stripe_count = md->lmd_stripe_count;
+ /* XXX submd is not fully initialized here */
rc = obd_enqueue(&(lov->tgts[i].conn), &submd, parent_lock, type,
&sub_ext, sizeof(sub_ext), mode, flags, cb, data, datalen, &(lockhs[i]));
// XXX add a lock debug statement here