Skip to content

Commit 3a06b49

Browse files
committed
torture: trickfs
Introduces trickfs, a fuse filesystem for made for failure injection.
1 parent 69f9ed1 commit 3a06b49

File tree

6 files changed

+1161
-18
lines changed

6 files changed

+1161
-18
lines changed

Cargo.lock

Lines changed: 111 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[workspace]
22
resolver = "2"
3-
members = ["core", "nomt", "fuzz", "torture", "examples/*"]
3+
members = ["core", "nomt", "fuzz", "torture", "examples/*", "trickfs"]
44
exclude = ["benchtop"]
55

66
[workspace.package]

trickfs/Cargo.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[package]
2+
name = "trickfs"
3+
version = "0.1.0"
4+
authors.workspace = true
5+
homepage.workspace = true
6+
repository.workspace = true
7+
edition.workspace = true
8+
license.workspace = true
9+
10+
[dependencies]
11+
env_logger = "0.11.6"
12+
fuser = { version = "0.15.1", features = ["abi-7-23"] }
13+
libc = "0.2.169"
14+
log = "0.4.22"
15+
tempfile = "3.15.0"

trickfs/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# trickfs
2+
3+
A FUSE filesystem useful for failure injection.
4+
5+
# Building
6+
7+
Building the project requires fuse3 and fuse to be available. On Ubuntu, you can install them with
8+
the following commands:
9+
10+
```sh
11+
sudo apt update
12+
sudo apt install libfuse3-dev libfuse-dev
13+
```

0 commit comments

Comments
 (0)