Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-13258 obdclass: bind zombie export cleanup workqueue
[fs/lustre-release.git]
/
lustre
/
obdclass
/
genops.c
diff --git
a/lustre/obdclass/genops.c
b/lustre/obdclass/genops.c
index
bd59d56
..
0b2612c
100644
(file)
--- a/
lustre/obdclass/genops.c
+++ b/
lustre/obdclass/genops.c
@@
-1893,11
+1893,11
@@
EXPORT_SYMBOL(obd_stale_export_adjust);
*/
int obd_zombie_impexp_init(void)
{
*/
int obd_zombie_impexp_init(void)
{
- zombie_wq =
alloc_workqueue("obd_zombid", 0, 0);
- if (!zombie_wq)
-
return -ENOMEM
;
+ zombie_wq =
cfs_cpt_bind_workqueue("obd_zombid", cfs_cpt_tab,
+ 0, CFS_CPT_ANY,
+
cfs_cpt_number(cfs_cpt_tab))
;
- return 0;
+ return
IS_ERR(zombie_wq) ? PTR_ERR(zombie_wq) :
0;
}
/**
}
/**