From 82e872946df0f9baca864b5d5bf595cefc1d8cc2 Mon Sep 17 00:00:00 2001 From: rread Date: Mon, 19 Aug 2002 23:42:06 +0000 Subject: [PATCH] - looks like osc_enqueue is now looking at the strip_count, so it needs to be initialized. Not sure why osc needs this info. --- lustre/lov/lov_obd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/lov/lov_obd.c b/lustre/lov/lov_obd.c index b2cec2e..005ec64 100644 --- 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 -- 1.8.3.1