anolis: fscache: export fscache_object_wq

ANBZ: #3213

... in prep for the following failover feature for the on-demand mode of
Cachefiles.

Signed-off-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Acked-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Acked-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Link: https://gitee.com/anolis/cloud-kernel/pulls/894
This commit is contained in:
Jingbo Xu 2022-11-21 19:42:24 +08:00 committed by 小龙
parent 3dd899f1ae
commit 299a5cb824
2 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@ MODULE_PARM_DESC(fscache_debug,
struct kobject *fscache_root;
struct workqueue_struct *fscache_object_wq;
EXPORT_SYMBOL(fscache_object_wq);
struct workqueue_struct *fscache_op_wq;
DEFINE_PER_CPU(wait_queue_head_t, fscache_object_cong_wait);

View File

@ -74,6 +74,7 @@ struct fscache_cache {
};
extern wait_queue_head_t fscache_cache_cleared_wq;
extern struct workqueue_struct *fscache_object_wq;
/*
* operation to be applied to a cache object