INIT_LIST_HEAD(&lmv->lmv_qos.lq_svr_list);
init_rwsem(&lmv->lmv_qos.lq_rw_sem);
lmv->lmv_qos.lq_dirty = 1;
INIT_LIST_HEAD(&lmv->lmv_qos.lq_svr_list);
init_rwsem(&lmv->lmv_qos.lq_rw_sem);
lmv->lmv_qos.lq_dirty = 1;
lmv->lmv_qos.lq_reset = 1;
/* Default priority is toward free space balance */
lmv->lmv_qos.lq_prio_free = 232;
/* Default threshold for rr (roughly 17%) */
lmv->lmv_qos.lq_threshold_rr = 43;
lmv->lmv_qos.lq_reset = 1;
/* Default priority is toward free space balance */
lmv->lmv_qos.lq_prio_free = 232;
/* Default threshold for rr (roughly 17%) */
lmv->lmv_qos.lq_threshold_rr = 43;
/*
* initialize rr_index to lower 32bit of netid, so that client
* can distribute subdirs evenly from the beginning.
/*
* initialize rr_index to lower 32bit of netid, so that client
* can distribute subdirs evenly from the beginning.