erofs: Support sharing cookies in the same domain
authorJia Zhu <zhujia.zj@bytedance.com>
Sun, 18 Sep 2022 11:01:50 +0000 (19:01 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Tue, 20 Sep 2022 00:01:54 +0000 (08:01 +0800)
commit7d41963759feb3cfa4c1164b8b9db5d1f055932d
tree1b1e9b32640f8787196991c9379d9a9368f29d3f
parenta9849560c55e9e4ab9c53d073363dd6e19ec06ef
erofs: Support sharing cookies in the same domain

Several erofs filesystems can belong to one domain, and data blobs can
be shared among these erofs filesystems of same domain.

Users could specify domain_id mount option to create or join into a
domain.

Signed-off-by: Jia Zhu <zhujia.zj@bytedance.com>
Reviewed-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220918110150.6338-1-zhujia.zj@bytedance.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/fscache.c
fs/erofs/internal.h