diff options
author | Jia Zhu <zhujia.zj@bytedance.com> | 2022-09-18 19:01:50 +0800 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2022-09-20 08:01:54 +0800 |
commit | 7d41963759feb3cfa4c1164b8b9db5d1f055932d (patch) | |
tree | 1b1e9b32640f8787196991c9379d9a9368f29d3f /fs/erofs/internal.h | |
parent | a9849560c55e9e4ab9c53d073363dd6e19ec06ef (diff) | |
download | linux-7d41963759feb3cfa4c1164b8b9db5d1f055932d.tar.bz2 |
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>
Diffstat (limited to 'fs/erofs/internal.h')
-rw-r--r-- | fs/erofs/internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/erofs/internal.h b/fs/erofs/internal.h index 0db56259160c..ef3f7982b92d 100644 --- a/fs/erofs/internal.h +++ b/fs/erofs/internal.h @@ -109,6 +109,9 @@ struct erofs_domain { struct erofs_fscache { struct fscache_cookie *cookie; struct inode *inode; + struct inode *anon_inode; + struct erofs_domain *domain; + char *name; }; struct erofs_sb_info { |