From: rread Date: Mon, 19 Aug 2002 23:42:06 +0000 (+0000) Subject: - looks like osc_enqueue is now looking at the strip_count, so it needs to be X-Git-Tag: 0.5.5~124 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=82e872946df0f9baca864b5d5bf595cefc1d8cc2;p=fs%2Flustre-release.git - looks like osc_enqueue is now looking at the strip_count, so it needs to be initialized. Not sure why osc needs this info. --- 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