Skip to main content

hf3fs

4 configuration options · available in Rust

Quick start
use opendal::Operator;

let operator = Operator::via_iter("hf3fs", [
])?;
All configuration options (copy & trim)
Full reference
use opendal::Operator;

let operator = Operator::via_iter("hf3fs", [
// Existing absolute directory on a mounted DeepSeek 3FS (Fire-Flyer File System) instance. Required.
// ("root".to_string(), "...".to_string()),

// USRBIO shared library path. Defaults to `libhf3fs_api_shared.so`.
// ("library_path".to_string(), "...".to_string()),

// Maximum in-flight requests per read or write ring. Defaults to 32.
// ("queue_depth".to_string(), "1000".to_string()),

// Maximum bytes per request. Defaults to 1 MiB.
// Shared memory usage is approximately `3 * queue_depth * block_size`.
// ("block_size".to_string(), "1000".to_string()),
])?;

Every option is passed as a string key; OpenDAL parses it into the right type. For a map option, pass a string containing a JSON object whose values are strings, such as {"key":"value"}. Some services may require building the binding with the matching services-* feature enabled.

Configuration reference​

General4
KeyTypeRequiredDescription
rootstringnoExisting absolute directory on a mounted DeepSeek 3FS (Fire-Flyer File System) instance. Required.
library_pathstringnoUSRBIO shared library path. Defaults to libhf3fs_api_shared.so.
queue_depthintegernoMaximum in-flight requests per read or write ring. Defaults to 32.
block_sizeintegernoMaximum bytes per request. Defaults to 1 MiB. Shared memory usage is approximately 3 * queue_depth * block_size.

Entries reflect native capabilities declared by the hf3fs backend. Language bindings expose different subsets of options and may simulate operations client-side, and protocol-compatible endpoints may support only a subset of the declared features.

Stat1
CapabilitySupportDescription
stat NativeIndicates if the operator supports metadata retrieval operations.
Read1
CapabilitySupportDescription
read NativeIndicates if the operator supports read operations.
Write3
CapabilitySupportDescription
write NativeIndicates if the operator supports write operations.
write_can_multi NativeIndicates if multiple write operations can be performed on the same object.
write_can_empty NativeIndicates if writing empty content is supported.
List1
CapabilitySupportDescription
list NativeIndicates if list operations are supported.
Delete2
CapabilitySupportDescription
delete NativeIndicates if delete operations are supported.
delete_with_recursive NativeIndicates if recursive delete operations are supported.
Other3
CapabilitySupportDescription
create_dir NativeIndicates if directory creation is supported.
rename NativeIndicates if rename operations are supported.
shared NativeIndicate if the operator supports shared access.