erofs: introduce 'domain_id' mount option
authorJia Zhu <zhujia.zj@bytedance.com>
Sun, 18 Sep 2022 04:34:56 +0000 (12:34 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Tue, 20 Sep 2022 00:01:54 +0000 (08:01 +0800)
commit2ef164414123fcf574aff7a0be5f71f7e60a3fec
treeaefc6bba528e9dfa4f8e9f47103b4fd8ff78b83e
parent7d41963759feb3cfa4c1164b8b9db5d1f055932d
erofs: introduce 'domain_id' mount option

Introduce 'domain_id' mount option to enable shared domain sementics.
In which case, the related cookie is shared if two mountpoints in the
same domain have the same data blob. Users could specify the name of
domain by this mount option.

Signed-off-by: Jia Zhu <zhujia.zj@bytedance.com>
Reviewed-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220918043456.147-7-zhujia.zj@bytedance.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/super.c
fs/erofs/sysfs.c