Curve文件系统元数据Proto(接口定义)
{ OK = 0; // UNKNOWN_ERROR = 1; // NOSPACE = 2; // } // fs interface message GetFsInfoRequest { optional uint32 fsId = 1; // fs id optional string fsName DeleteFsInfoResponse { required MetaStatusCode statusCode = 1; } service MdsService { // fs interface rpc CreateFs(CreateFsRequest) returns (CreateFsResponse); rpc MountFs(MountFsRequest) returns OK = 0; // UNKNOWN_ERROR = 1; // NOSPACE = 2; // } // dentry interface© XXX Page 7 of 15 message GetDentryRequest { required uint32 fsId = 1; required uint640 码力 | 15 页 | 80.33 KB | 5 月前3CurveBS IO Processing Flow
and NBD use it to access storage services provided by Curve. The client provids posix-like interface, such as read/write/aioread/aiowrite in data plane and open/create/rename/extend, etc in control complete the disk write operation. CurveFS architecture Curvefs implements the file system interface based on FUSE. 1. Fs-meta Cluster is used to manage the inode and dentry metadata of files.0 码力 | 13 页 | 2.03 MB | 5 月前3Curve for CNCF Main
CurveFS can manage different storages (HDFS, OSS, EBS) below • Apps access data by POSIX interface • Infrequent data is moved to OSS, and frequent data is moved to high speed storage transparentlyData0 码力 | 21 页 | 4.56 MB | 5 月前3CurveFS对接S3方案设计
SpaceStatusCode status = 1; // required uint64 chunkId = 2; } service SpaceAllocService { // space interface rpc InitSpace(InitSpaceRequest) returns (InitSpaceResponse); rpc AllocateSpace(AllocateSpaceRequest)0 码力 | 11 页 | 145.77 KB | 5 月前3
共 4 条
- 1