From: Jingbo Xu jefflexu@linux.alibaba.com
anolis inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IB5UKT
Reference: https://gitee.com/anolis/cloud-kernel/commit/299a5cb8249c
--------------------------------
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 Signed-off-by: Zizhi Wo wozizhi@huawei.com Signed-off-by: Baokun Li libaokun1@huawei.com --- fs/fscache/main.c | 1 + include/linux/fscache-cache.h | 1 + 2 files changed, 2 insertions(+)
diff --git a/fs/fscache/main.c b/fs/fscache/main.c index 4207f98e405f..a9f059220418 100644 --- a/fs/fscache/main.c +++ b/fs/fscache/main.c @@ -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); diff --git a/include/linux/fscache-cache.h b/include/linux/fscache-cache.h index 31f2f13e2924..f3ae78d1e5f3 100644 --- a/include/linux/fscache-cache.h +++ b/include/linux/fscache-cache.h @@ -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