]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdff4581182d315427e3b19e63c78e05dfce400df
treeaefc6bba528e9dfa4f8e9f47103b4fd8ff78b83e
parentbac6cdc114c11c7c3445274052c4e14261418229
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