-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
- *
+/*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
void ptlrpcd_add_req(struct ptlrpc_request *req, pdl_policy_t policy, int idx)
{
struct ptlrpcd_ctl *pc;
+ char jobid[JOBSTATS_JOBID_SIZE];
+
+ if (req->rq_reqmsg) {
+ lustre_get_jobid(jobid);
+ lustre_msg_set_jobid(req->rq_reqmsg, jobid);
+ }
cfs_spin_lock(&req->rq_lock);
if (req->rq_invalid_rqset) {