BazelCurve 编译 Curve bazel 编译分享 程义 - 存储计算部 2022 年 11 月 11 日 C ur v e1 升级 bazel 到 4.2.2 2 支持 Debian9 、 Debian10 、 Debian11 3 支持 gcc clang 更新内容 Curve1 编译 Debian11-Dockerfile .bazelrc bazelrc bazel 版本: 4.2.2 ( bazelisk) docker run -v $(pwd):/curve -it opencurvedocker/curve-base:build-debian11 cd /curve/ # 使用 gcc 编译 bazel build –config=gcc7-later … # use '-faligned-new' to enable over-aligned new support # 使用 clang 编译 CC=clang CXX=clang++ bazel build …2 制作镜像 docker run -v $(pwd):/curve -v /root/.cache/bazel:/root/.cache/bazel -it opencurvedocker/curve-base:build-debian11 # 容器内 cd0 码力 | 6 页 | 4.69 MB | 6 月前3
CurveFs 用户权限系统调研1 0 13:44 pts/213 00:00:00 ./bazel-bin/curvefs/src/space_allocator/curve_fs_space_allocator_main wanghai+ 2641514 1 0 13:44 pts/213 00:00:00 ./bazel-bin/curvefs/src/metaserver/curvefs_metaserver wanghai+ 2641515 1 0 13:44 pts/213 00:00:00 ./bazel-bin/curvefs/src/mds/curvefs_mds wanghai+ 2642837 2589230 0 13:47 pts/156 00:00:00 ./bazel-bin/curvefs/src/client/fuse_client -f -o volume=/fs 看本地文件系统默认是多用户共享的,但是fuse作为用户态文件系统默认访问权限是文件系统的拥有者,可以通过allow_other实现共享。© XXX Page 7 of 33 strace ./bazel-bin/curvefs/src/client/fuse_client -f -o volume=/fs -o allow_other -o user=test -o conf=./curvefs0 码力 | 33 页 | 732.13 KB | 6 月前3
共 2 条
- 1













