Skip to content

Commit

Permalink
torture: trickfs
Browse files Browse the repository at this point in the history
Introduces trickfs, a fuse filesystem for made for failure injection.
  • Loading branch information
pepyakin committed Jan 31, 2025
1 parent 6ff0f15 commit e323b4a
Show file tree
Hide file tree
Showing 6 changed files with 1,161 additions and 18 deletions.
128 changes: 111 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace]
resolver = "2"
members = ["core", "nomt", "fuzz", "torture", "examples/*"]
members = ["core", "nomt", "fuzz", "torture", "examples/*", "trickfs"]
exclude = ["benchtop"]

[workspace.package]
Expand Down
15 changes: 15 additions & 0 deletions trickfs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[package]
name = "trickfs"
version = "0.1.0"
authors.workspace = true
homepage.workspace = true
repository.workspace = true
edition.workspace = true
license.workspace = true

[dependencies]
env_logger = "0.11.6"
fuser = { version = "0.15.1", features = ["abi-7-23"] }
libc = "0.2.169"
log = "0.4.22"
tempfile = "3.15.0"
13 changes: 13 additions & 0 deletions trickfs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# trickfs

A FUSE filesystem useful for failure injection.

# Building

Building the project requires fuse3 and fuse to be available. On Ubuntu, you can install them with
the following commands:

```sh
sudo apt update
sudo apt install libfuse3-dev libfuse-dev
```
Loading

0 comments on commit e323b4a

Please sign in to comment.