This commit is contained in:
abhiguptacse 2024-10-08 12:16:58 +00:00
Родитель 4f204283fb
Коммит f3b428b548
4 изменённых файлов: 10 добавлений и 4 удалений

Просмотреть файл

@ -203,6 +203,9 @@ To learn about a specific command, just include the name of the command (For exa
- CPK options:
* `AZURE_STORAGE_CPK_ENCRYPTION_KEY`: Customer provided base64-encoded AES-256 encryption key value.
* `AZURE_STORAGE_CPK_ENCRYPTION_KEY_SHA256`: Base64-encoded SHA256 of the cpk encryption key.
- Custom component options:
* `BLOBFUSE_PLUGIN_DIRECTORY`: Specifies the directory path containing the plugin .so files.
* `BLOBFUSE_PLUGIN_NAMES`: Specifies the file names as a colon-separated list of `.so` files located in plugin directory specified by `BLOBFUSE_PLUGIN_DIRECTORY`.
## Config Guide

Просмотреть файл

@ -1536,10 +1536,9 @@ func (bc *BlockCache) stageZeroBlock(handle *handlemap.Handle, tryCnt int) (stri
log.Debug("BlockCache::stageZeroBlock : Staging zero block for %v=>%v, try = %v", handle.ID, handle.Path, tryCnt)
err := bc.NextComponent().StageData(internal.StageDataOptions{
Name: handle.Path,
Data: bc.blockPool.zeroBlock.data[:],
Offset: 0,
Id: id,
Name: handle.Path,
Data: bc.blockPool.zeroBlock.data[:],
Id: id,
})
if err != nil {

Просмотреть файл

@ -11,6 +11,8 @@ import (
)
// SAMPLE EXTERNAL COMPONENT IMPLEMENTATION
// To build this component run the following command:
// "go build -buildmode=plugin -o sample_custom_component1.so"
// This is a sample external component implementation that can be used as a reference to implement external components.
// The external component should implement the external.Component interface.
const (

Просмотреть файл

@ -14,6 +14,8 @@ import (
)
// SAMPLE EXTERNAL COMPONENT IMPLEMENTATION
// To build this component run the following command:
// "go build -buildmode=plugin -o sample_custom_component2.so"
// This is a sample external component implementation that can be used as a reference to implement external components.
// The external component should implement the external.Component interface.
const (