# test_c **Repository Path**: cs_lzy/test_c ## Basic Information - **Project Name**: test_c - **Description**: c语言实现的测试脚本仓库 - **Primary Language**: C++ - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-02-24 - **Last Updated**: 2023-02-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # test_c #### 介绍 c语言测试脚本仓库 large_file_write_once.cpp: 测试向cubefs中写入大文件,并且一次性将文件数据写入 #### 安装教程 1. mkdir build 2. cd build 3. cmake .. 4. make #### 使用说明 1. cd build 2. `./large_file_write_once -p {file_path} -s {file_size} -t {FUSE|SDK}` 其中-p指定文件路径,-s指定写入的文件大小,-t指定写入方式(FUSE表示利用用户态文件系统客户端写入,SDK表示利用libcfs库进行数据写入)