Merge pull request #9884 from filecoin-project/fix/update-sealer-readme

chore: docs: Update storage/readme
This commit is contained in:
Geoff Stuart 2023-01-03 11:32:27 -05:00 committed by GitHub
commit bc6afa9d59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -21,16 +21,15 @@ Please report your issues with regards to sector-storage at the [lotus issue tra
Manages is the top-level piece of the storage system gluing all the other pieces Manages is the top-level piece of the storage system gluing all the other pieces
together. It also implements scheduling logic. together. It also implements scheduling logic.
### `package stores` ### `package paths`
This package implements the sector storage subsystem. Fundamentally the storage This package implements the sector storage subsystem. Fundamentally the storage
is divided into `path`s, each path has it's UUID, and stores a set of sector is divided into `path`s, each path has it's UUID, and stores a set of sector
'files'. There are currently 3 types of sector files - `unsealed`, `sealed`, 'files'. There are currently 5 types of sector files - `unsealed`, `sealed`, `cache`, `update` and `update-cache`.
and `cache`.
Paths can be shared between nodes by sharing the underlying filesystem. Paths can be shared between nodes by sharing the underlying filesystem.
### `stores.Local` ### `paths.Local`
The Local store implements SectorProvider for paths mounted in the local The Local store implements SectorProvider for paths mounted in the local
filesystem. Paths can be shared between nodes, and support shared filesystems filesystem. Paths can be shared between nodes, and support shared filesystems
@ -38,12 +37,12 @@ such as NFS.
stores.Local implements all native filesystem-related operations stores.Local implements all native filesystem-related operations
### `stores.Remote` ### `paths.Remote`
The Remote store extends Local store, handles fetching sector files into a local The Remote store extends Local store, handles fetching sector files into a local
store if needed, and handles removing sectors from non-local stores. store if needed, and handles removing sectors from non-local stores.
### `stores.Index` ### `paths.Index`
The Index is a singleton holding metadata about storage paths, and a mapping of The Index is a singleton holding metadata about storage paths, and a mapping of
sector files to paths sector files to paths

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 74 KiB