Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add virtual file .config to show all the configurations #652

Merged
merged 5 commits into from
Jul 20, 2021
Merged

Conversation

tangyoupeng
Copy link
Contributor

@tangyoupeng tangyoupeng commented Jul 15, 2021


cat /jfs/.jfsconfig
{
 "Meta": {
  "Strict": false,
  "Retries": 10,
  "CaseInsensi": false,
  "ReadOnly": false,
  "OpenCache": 0,
  "MountPoint": "",
  "Subdir": ""
 },
 "Format": {
  "Name": "test-ce",
  "UUID": "d90ee4cb-6b93-44a7-ae56-be0a1cfea7bd",
  "Storage": "oss",
  "Bucket": "https://....aliyuncs.com",
  "AccessKey": "",
  "BlockSize": 4096,
  "Compression": "none",
  "Shards": 0,
  "Partitions": 0,
  "Capacity": 0,
  "Inodes": 0
 },
 "Chunk": {
  "CacheDir": "/var/jfsCache/d90ee4cb-6b93-44a7-ae56-be0a1cfea7bd",
  "CacheMode": 384,
  "CacheSize": 1024,
  "FreeSpace": 0.1,
  "AutoCreate": true,
  "Compress": "none",
  "MaxUpload": 20,
  "Writeback": false,
  "Partitions": 0,
  "BlockSize": 4194304,
  "GetTimeout": 60000000000,
  "PutTimeout": 60000000000,
  "CacheFullBlock": true,
  "BufferSize": 314572800,
  "Readahead": 0,
  "Prefetch": 1
 },
 "Version": "0.16-dev (2021-07-19 45ce2f1)",
 "Mountpoint": "/jfs-ce",
 "FastResolve": false,
 "AccessLog": ""
}

@SandyXSD SandyXSD linked an issue Jul 15, 2021 that may be closed by this pull request
@tangyoupeng tangyoupeng changed the title add show cmd to show all needed info of client add .jfsconfig virtual file Jul 19, 2021
pkg/vfs/internal.go Outdated Show resolved Hide resolved
@davies davies changed the title add .jfsconfig virtual file add .config virtual file Jul 20, 2021
@davies davies changed the title add .config virtual file add virtual file .config to show all the configurations Jul 20, 2021
@davies davies merged commit 3190a02 into main Jul 20, 2021
@davies davies deleted the add_show_cmd branch July 20, 2021 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an option to show environment information for bench cmd
2 participants