example

command
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

A minimal ublk block device backed by in-memory storage.

Usage (requires root and ublk_drv module):

modprobe ublk_drv
go run ./example

Directories

Path Synopsis
Chained-ublk integrity probe.
Chained-ublk integrity probe.
Fault-injection probe.
Fault-injection probe.
flushbench — diagnose *where* time is spent during fs flushes.
flushbench — diagnose *where* time is spent during fs flushes.
End-to-end demo: create a ublk device, format it with ext4, mount it, write and read a file, then enter an interactive phase where every backend I/O is logged so you can poke at the mount from another terminal and watch the page cache flush down to Backend.ReadAt / Backend.WriteAt.
End-to-end demo: create a ublk device, format it with ext4, mount it, write and read a file, then enter an interactive phase where every backend I/O is logged so you can poke at the mount from another terminal and watch the page cache flush down to Backend.ReadAt / Backend.WriteAt.
SIGKILL recovery probe.
SIGKILL recovery probe.
Stress test for ublk-go, aimed at catching data races and shutdown lifecycle bugs.
Stress test for ublk-go, aimed at catching data races and shutdown lifecycle bugs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL