> *** CID 184141: Concurrent data access violations (MISSING_LOCK)
> /lustre/ldlm/ldlm_lib.c: 397 in client_obd_setup()
> 391 memcpy(server_uuid.uuid, lustre_cfg_buf(lcfg, 2),
> 392 min_t(unsigned int, LUSTRE_CFG_BUFLEN(lcfg, 2),
> 393 sizeof(server_uuid)));
> 394
> 395 cli->cl_dirty_pages = 0;
> 396 cli->cl_dirty_max_pages = 0;
>>>> CID 184141: Concurrent data access violations (MISSING_LOCK)
>>>> Accessing "cli->cl_avail_grant" without holding lock "client_obd.cl_loi_list_lock". Elsewhere, "client_obd.cl_avail_grant" is accessed with "client_obd.cl_loi_list_lock" held 9 out of 13 times (4 of these accesses strongly imply that it is necessary).
> 397 cli->cl_avail_grant = 0;
> 398 /* FIXME: Should limit this for the sum of all cl_dirty_max_pages. */
> 399 /*
> 400 * cl_dirty_max_pages may be changed at connect time in
> 401 * ptlrpc_connect_interpret().
> 402 */