@@ -1121,12 +1121,12 @@ static int core_alua_do_transition_tg_pt(
unsigned long transition_tmo;
transition_tmo = tg_pt_gp->tg_pt_gp_implicit_trans_secs * HZ;
- queue_delayed_work(tg_pt_gp->tg_pt_gp_dev->tmr_wq,
+ queue_delayed_work(tg_pt_gp->tg_pt_gp_dev->alua_wq,
&tg_pt_gp->tg_pt_gp_transition_work,
transition_tmo);
} else {
tg_pt_gp->tg_pt_gp_transition_complete = &wait;
- queue_delayed_work(tg_pt_gp->tg_pt_gp_dev->tmr_wq,
+ queue_delayed_work(tg_pt_gp->tg_pt_gp_dev->alua_wq,
&tg_pt_gp->tg_pt_gp_transition_work, 0);
wait_for_completion(&wait);
tg_pt_gp->tg_pt_gp_transition_complete = NULL;
@@ -907,11 +907,11 @@ int target_configure_device(struct se_device *dev)
/*
* Startup the struct se_device processing thread
*/
- dev->tmr_wq = alloc_workqueue("tmr-%s", WQ_MEM_RECLAIM | WQ_UNBOUND, 1,
- dev->transport->name);
- if (!dev->tmr_wq) {
- pr_err("Unable to create tmr workqueue for %s\n",
- dev->transport->name);
+ dev->alua_wq = alloc_workqueue("alua-%s", WQ_UNBOUND, 1,
+ dev->transport->name);
+ if (!dev->alua_wq) {
+ pr_err("Unable to create ALUA workqueue for %s\n",
+ dev->transport->name);
ret = -ENOMEM;
goto out_free_alua;
}
@@ -962,7 +962,7 @@ void target_free_device(struct se_device *dev)
WARN_ON(!list_empty(&dev->dev_sep_list));
if (dev->dev_flags & DF_CONFIGURED) {
- destroy_workqueue(dev->tmr_wq);
+ destroy_workqueue(dev->alua_wq);
mutex_lock(&g_device_mutex);
list_del(&dev->g_dev_node);
@@ -791,7 +791,7 @@ struct se_device {
struct t10_pr_registration *dev_pr_res_holder;
struct list_head dev_sep_list;
struct list_head dev_tmr_list;
- struct workqueue_struct *tmr_wq;
+ struct workqueue_struct *alua_wq;
struct work_struct qf_work_queue;
struct list_head delayed_cmd_list;
struct list_head state_list;