The project is in a healthy, maintained state
Product native SDK operations through a UTF-8 JSON C ABI; driver installed separately.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 1.1, < 2
 Project Readme

Storage I/O Flight Recorder - Windows Kernel Disk Filter & C++ SDK

Explain raw scratch-disk I/O completions with bounded metadata, exact NTSTATUS and a small native integration API.

Built for virtual-storage QA, raw block-workload regression tests and OEM diagnostic integrations. The KMDF upper filter timestamps read and write requests at its own dispatch/completion boundary. The native Windows viewer displays completions, in-flight counts, errors and overwritten-log counts; explicitly export the visible metadata to CSV.

Microsoft-signed evaluation bundle for Windows x64. Application 0.1.1 includes the Microsoft-signed driver 0.1.0.0 in self-contained UI/console installers, the native viewer, CLI, two-file C++ SDK and example sources. Installation, attachment, recording, detachment and removal passed isolated Windows 10 x64 tests, normally and under Driver Verifier; see validation for the tested scope. The recorder remains limited to the explicitly selected synthetic scratch disk described below.

Native application with explicitly labelled synthetic preview data

Scope

Included Boundary
Read/write completion metadata Byte offset, requested/actual transfer length, NTSTATUS, sequence, start/completion QPC and observed in-flight depth. Flush and other requests pass through without timing records.
Explicit per-disk attachment The owned, present, unpartitioned 64 MiB Titan Storage Fault Lab synthetic disk; no DiskDrive class-wide association.
Bounded transport Up to 16 attached filters, one active recorder, 256 records per disk, at most 32 records per read.
Owner cleanup An administrator owns the exclusive control handle; closing it stops collection and clears queued metadata.
Native integration SDK/StorageRecorder.h and SDK/StorageRecorder.cpp; synchronous bounded control calls.

This edition accepts only the Virtual Storage Fault Lab synthetic disk, checking its adapter ancestor/service, opened-handle vendor/product/serial, capacity, sector size and blank layout. Physical disks and other virtual disks are read-only inventory entries, never eligible attachment targets in this preview. System disks and partitioned/unknown media are refused. This is not yet an everyday system-drive incident recorder. Keep the selected media disposable. Detachment remains available if it was partitioned after attachment.

The recorder does not inspect disk contents, collect file paths, attribute processes, modify a transfer, inject errors or impose delays. The lower stack's completion status and information are forwarded unchanged. A full log overwrites old records and reports the count; it does not queue storage traffic for the UI. Kernel filtering still has overhead and requires deployment qualification.

Install and use

  1. Download and extract the complete x64 ZIP from Releases. Release 0.1.1 contains both recorder setup executables and the matching signed scratch-disk installers under Dependencies/Virtual-Storage-Fault-Lab.
  2. Run Dependencies/Virtual-Storage-Fault-Lab/StorageFaultLabSetup.exe as administrator and install its 64 MiB virtual RAM disk. Keep this disposable disk unpartitioned; do not format it. It starts with fault injection disabled. See Virtual Storage Fault Lab for the disk's API and operating limits.
  3. Run StorageRecorderSetup.exe as administrator and choose Install package. This installs only the recorder's primitive driver package; no disk is attached automatically.
  4. In recorder setup, explicitly select the Titan Storage Fault Lab disk and choose Attach selected. Restart Windows when requested. Existing per-device filters are preserved. Setup never restarts a disk or Windows automatically. Close other device installers while editing associations; a detected concurrent change is retained and reported instead of overwritten.
  5. Open StorageRecorderApp.exe as administrator, choose the matching attached PDO and select Start recording. Generate a raw workload using your own authorized QA tool. The viewer itself never generates disk reads/writes. StorageRecorderApp.exe --preview provides a separately labelled offline tour without opening any disk.
  6. Stop recording before device maintenance. Detach selected removes only the recorder association. Restart when requested. Uninstall removes the product's associations first; if a restart is needed, run Uninstall again afterwards to remove the unused recorder package. The scratch-disk dependency has its own uninstall operation.

Console setup offers /install, /attach "exact DiskDrive instance", /detach "exact DiskDrive instance", /status and /uninstall. Both recorder setup executables contain the same signed package and verify its Microsoft production catalog, INF/SYS membership and exact product identity before installation or attachment. Exit code 3010 requests a manual restart; exit code 0 means that operation completed without a requested restart. Source builds require a separately supplied opaque signed package to create installable setup executables. Neither setup changes test-signing, Secure Boot or unrelated packages.

StorageRecorderCLI.exe --disks
StorageRecorderCLI.exe --devices
StorageRecorderCLI.exe --record 1 30

--disks is read-only Windows inventory. --devices returns IDs and PDO names of recorder filters actually loaded; use that ID for the explicit 30-second metadata session. IDs last for the current driver/device lifetime, not across reboot or reattachment. Match PDO names to SPDRP_PHYSICAL_DEVICE_OBJECT_NAME when integrating your own device selection.

Minimal C++ use

Compile the two SDK files with C++17 on Windows x64 and link setupapi.lib and cfgmgr32.lib.

#include "StorageRecorder.h"

StorageRecorder::Session recorder;
auto devices = recorder.Devices(); // Requires an attached driver and elevation.
if (!devices.empty()) {
    recorder.Start(devices.front().Id);
    auto inputs = recorder.Read(); // Immediate bounded drain; may be empty.
    for (unsigned i = 0; i < inputs.Count; ++i) {
        const auto& io = inputs.Events[i];
        double us = StorageRecorder::Microseconds(io, inputs.Stats.Frequency);
        // Inspect io.Operation, io.TransferredBytes, io.Status and us.
    }
} // Scope exit closes the owner and clears its queued metadata.

Use a worker loop for a longer recording, as shown in Examples/record.cpp. Stop all callers before destroying a Session; its individual calls are serialized. Exceptions contain an English stage and Windows error code where applicable.

Status() returns aggregate counters for the selected recording generation. Read() drains up to 32 completion records and returns the counters alongside them. Stop() closes the owner handle. Disks() inventories Windows disk identity and the current conservative attachment eligibility; it never attaches or modifies a disk.

Interpret the timing

Start QPC is taken when this filter's KMDF queue dispatches a supported request; completion QPC is taken when the lower stack returns it. The interval includes lower drivers, device/service time and scheduling. It excludes application buffering and any time before that dispatch boundary. In-flight depth describes only this filter's observed cohort.

It is not physical-media latency, a breakdown of each driver below the filter, an application end-to-end measurement, or proof of zero overhead. Completion order can differ from sequence order. A failed request can still carry completion information. Ring overflow loses diagnostic records, not the I/O itself. UI refresh cadence affects presentation only.

Windows ETW/WPR/WPA already provides rich disk tracing and is often the right first tool. This component targets teams needing a bounded, embeddable native collector with a small stable protocol at an explicitly selected filter boundary. See validation and commercial scope.

Build

Demo/evaluation driver source is available; see driver/README.md for build instructions and separate evaluation-source terms. Those terms apply to Titan-authored driver code. Third-party source licenses and existing application/SDK licenses remain applicable. Full/commercial implementation and private signing or activation material are excluded.

Visual Studio 2022 Desktop C++, CMake and a Windows SDK are required. No WDK or driver sources are needed for the public application build.

.\Build.ps1
.\Build.ps1 -Asan
# Optional: embed a separately received Microsoft-signed opaque package.
.\Build.ps1 -DriverPackageDirectory C:\Signed\TitanStorageFlightRecorder

Outputs are under obj/Build/bin/Release. Offline tests exercise protocol validation and one million reproducible malformed-record cases without opening a disk or loading a driver. Demo/evaluation driver source is documented in driver/README.md. The release installers contain the verified signed return; building the public app alone does not generate that driver. Live signed-package qualification is reported separately in validation.

OEM integration and responsible use

For paid scoped QA/integration pilots, OEM redistribution rights, a branded driver package or Windows compatibility/support, add titancsa on Discord. Bring a reproducible scratch-disk workload, target Windows builds and intended deployment volume. Acceptance tests and supported configurations are agreed before production delivery.

Public app/SDK/example/installer sources use the MIT license. Kernel binary evaluation and production redistribution have separate terms. This evaluation build has no enforced timer, online activation or payment system. Microsoft signing alone is not WHQL certification, product endorsement or evidence of universal reliability.

Use only on systems and disposable test media you own or are authorized to administer. The project is intended for lawful diagnostics and software integration. You remain responsible for your deployment and use; the applicable licenses describe the terms and warranty limitations.

Paquets et installation

Les sources, licences, guides API et exemples sont regroupes dans le depot SDK dedie. Choisis le paquet a installer puis execute sa commande dans son dossier.

Registre Paquet Installation / utilisation
vcpkg storage-io-flight-recorder vcpkg install storage-io-flight-recorder:x64-windows
Conan storage-io-flight-recorder conan install --requires=storage-io-flight-recorder/0.1.1 -r titancsa --build=missing -s compiler.cppstd=17
NuGet TitanCSA.StorageIOFlightRecorder.Native Install-Package TitanCSA.StorageIOFlightRecorder.Native -Version 0.1.1
NuGet StorageIOFlightRecorder.SDK dotnet add package StorageIOFlightRecorder.SDK --version 1.0.0
PyPI storage-io-flight-recorder Commande prevue apres publication : python -m pip install storage-io-flight-recorder==1.0.0
Conda storage-io-flight-recorder conda install --override-channels -c https://raw.githubusercontent.com/TitanCSA/sdk-packages/089bc73095aa8eda89bacbe10d0b9e58394b0207/conda-channel -c conda-forge storage-io-flight-recorder (canal TitanCSA)
crates.io storage-io-flight-recorder cargo add storage-io-flight-recorder@1.0.0
npm storage-io-flight-recorder Commande prevue apres publication : npm install storage-io-flight-recorder@1.0.0
Maven Central io.github.titancsa:storage-io-flight-recorder io.github.titancsa:storage-io-flight-recorder:1.0.0 (pom.xml / Gradle)
JitPack com.github.titanfyre:Storage-IO-Flight-Recorder com.github.titanfyre:Storage-IO-Flight-Recorder:java-sdk-v1.0.0 (avec le depot JitPack)
Go Modules github.com/titanfyre/Storage-IO-Flight-Recorder/Storage-IO-Flight-Recorder-Go-modules go get github.com/titanfyre/Storage-IO-Flight-Recorder/Storage-IO-Flight-Recorder-Go-modules@v1.0.0
pkg.go.dev github.com/titanfyre/Storage-IO-Flight-Recorder/Storage-IO-Flight-Recorder-Go-modules Documentation : https://pkg.go.dev/github.com/titanfyre/Storage-IO-Flight-Recorder/Storage-IO-Flight-Recorder-Go-modules@v1.0.0
PowerShell Gallery StorageIOFlightRecorder Install-Module StorageIOFlightRecorder -RequiredVersion 1.0.0 -Scope CurrentUser
pub.dev storage_io_flight_recorder Commande prevue apres publication : dart pub add storage_io_flight_recorder:1.0.0
RubyGems storage-io-flight-recorder gem install storage-io-flight-recorder -v 1.0.0
Packagist titancsa/storage-io-flight-recorder composer require titancsa/storage-io-flight-recorder:1.0.0

Pour vcpkg et Conan, configure d abord le registre TitanCSA avec le guide complet. Le guide explique aussi Maven/Gradle, les prerequis et le chargement des DLL. Les pilotes/applications du produit sont installes separement. Les commandes marquees prevues ne sont pas encore disponibles.

Les anciens imports Go et versions JitPack gardent leurs tags. Pour les anciennes archives SDK, utilise les liens de remplacement.

Commercial integration and support

Important

Full version and commercial licensing

Discord username: titancsa

Open Discord, choose Friends > Add Friend, enter titancsa, then send a direct message. Mention Storage I/O Flight Recorder and ask about the full / production version, commercial use or OEM redistribution.

Include your intended use and deployment size to discuss pricing, availability and the appropriate licensing / access instructions.