[PATCH SERIES 3: 0/4] staging:lustre: remove workitem code

From: NeilBrown
Date: Sun Dec 17 2017 - 20:27:28 EST


Lustre has a "workitem" subsystem with much the same
functionality as the Linux workqueue subsystem.
This patch converts all users of workitem to workqueue,
then removes workitem.

This requires that "apply_workqueue_attrs" be exported
to modules, so this intro and the patch which does
the EXPORT_SYMBOL_GPL are cc:ed to Tejun and Lai.

Thanks,
NeilBrown


---

NeilBrown (4):
staging: lustre: libcfs: use a workqueue for rehash work.
staging: lustre: libcfs: remove wi_data from cfs_workitem
staging: lustre: lnet: convert selftest to use workqueues
staging: lustre: libcfs: remove workitem code.


.../staging/lustre/include/linux/libcfs/libcfs.h | 3
.../lustre/include/linux/libcfs/libcfs_hash.h | 6
.../lustre/include/linux/libcfs/libcfs_workitem.h | 107 -----
drivers/staging/lustre/lnet/libcfs/Makefile | 2
drivers/staging/lustre/lnet/libcfs/hash.c | 82 +---
drivers/staging/lustre/lnet/libcfs/module.c | 27 -
drivers/staging/lustre/lnet/libcfs/workitem.c | 466 --------------------
drivers/staging/lustre/lnet/selftest/framework.c | 14 -
drivers/staging/lustre/lnet/selftest/module.c | 39 +-
drivers/staging/lustre/lnet/selftest/rpc.c | 71 +--
drivers/staging/lustre/lnet/selftest/selftest.h | 44 +-
kernel/workqueue.c | 1
12 files changed, 111 insertions(+), 751 deletions(-)
delete mode 100644 drivers/staging/lustre/include/linux/libcfs/libcfs_workitem.h
delete mode 100644 drivers/staging/lustre/lnet/libcfs/workitem.c

--
Signature