Command to list active sector locks

This commit is contained in:
Łukasz Magiera
2021-12-03 12:33:23 +01:00
parent 9331714089
commit 727765b248
13 changed files with 170 additions and 0 deletions
+32
View File
@@ -138,6 +138,7 @@
* [StorageDeclareSector](#StorageDeclareSector)
* [StorageDropSector](#StorageDropSector)
* [StorageFindSector](#StorageFindSector)
* [StorageGetLocks](#StorageGetLocks)
* [StorageInfo](#StorageInfo)
* [StorageList](#StorageList)
* [StorageLocal](#StorageLocal)
@@ -2240,6 +2241,37 @@ Inputs:
Response: `null`
### StorageGetLocks
Perms: admin
Inputs: `null`
Response:
```json
{
"Locks": [
{
"Sector": {
"Miner": 1000,
"Number": 123
},
"Write": [
0,
0,
1
],
"Read": [
2,
3,
0
]
}
]
}
```
### StorageInfo
+14
View File
@@ -1941,6 +1941,7 @@ COMMANDS:
list list local storage paths
find find sector in the storage system
cleanup trigger cleanup actions
locks show active sector locks
help, h Shows a list of commands or help for one command
OPTIONS:
@@ -2050,6 +2051,19 @@ OPTIONS:
```
### lotus-miner storage locks
```
NAME:
lotus-miner storage locks - show active sector locks
USAGE:
lotus-miner storage locks [command options] [arguments...]
OPTIONS:
--help, -h show help (default: false)
```
## lotus-miner sealing
```
NAME: