Skip to content

Commit a872454

Browse files
committed
chore: development v0.2.68 - comprehensive testing complete [auto-commit]
1 parent c61c368 commit a872454

File tree

12 files changed

+32
-32
lines changed

12 files changed

+32
-32
lines changed

Cargo.lock

Lines changed: 8 additions & 8 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
@@ -38,7 +38,7 @@ exclude = [
3838
# Workspace Package Metadata (inherited by all crates)
3939
# ─────────────────────────────────────────────────────────────────────────────
4040
[workspace.package]
41-
version = "0.2.67"
41+
version = "0.2.68"
4242
edition = "2024"
4343
rust-version = "1.85"
4444
license = "MPL-2.0 OR LicenseRef-UFFS-Commercial"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Traditional file search tools (including `os.walk`, `FindFirstFile`, etc.) work
2121

2222
**UFFS reads the MFT directly** - once - and queries it in memory using Polars DataFrames. This is like reading the entire phonebook once instead of looking up each name individually.
2323

24-
### Benchmark Results (v0.2.67)
24+
### Benchmark Results (v0.2.68)
2525

2626
| Drive Type | Records | Time | Throughput |
2727
|------------|---------|------|------------|
@@ -33,7 +33,7 @@ Traditional file search tools (including `os.walk`, `FindFirstFile`, etc.) work
3333

3434
| Comparison | Records | Time | Notes |
3535
|------------|---------|------|-------|
36-
| **UFFS v0.2.67** | **18.7 Million** | **~142 seconds** | All disks, fast mode |
36+
| **UFFS v0.2.68** | **18.7 Million** | **~142 seconds** | All disks, fast mode |
3737
| UFFS v0.1.30 | 18.7 Million | ~315 seconds | Baseline |
3838
| Everything | 19 Million | 178 seconds | All disks |
3939
| WizFile | 6.5 Million | 299 seconds | Single HDD |

crates/uffs-mft/src/io.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6814,7 +6814,6 @@ impl MultiVolumeIocpReader {
68146814
overlapped: windows::Win32::System::IO::OVERLAPPED,
68156815
buffer: AlignedBuffer,
68166816
op: MultiVolumeIoOp,
6817-
volume_idx: usize,
68186817
}
68196818

68206819
// Create buffer pools and in-flight tracking per volume
@@ -6842,7 +6841,7 @@ impl MultiVolumeIocpReader {
68426841

68436842
for slot_idx in 0..initial_count {
68446843
if let Some(op) = vol.io_queue.pop_front() {
6845-
let mut buffer = buffer_pools[vol_idx]
6844+
let buffer = buffer_pools[vol_idx]
68466845
.pop()
68476846
.unwrap_or_else(|| AlignedBuffer::new(vol.io_chunk_size));
68486847

@@ -6860,7 +6859,6 @@ impl MultiVolumeIocpReader {
68606859
},
68616860
buffer,
68626861
op: op.clone(),
6863-
volume_idx: vol_idx,
68646862
});
68656863

68666864
let overlapped_ptr = std::ptr::addr_of_mut!(in_flight_op.overlapped);
@@ -6996,7 +6994,6 @@ impl MultiVolumeIocpReader {
69966994
},
69976995
buffer,
69986996
op: next_op.clone(),
6999-
volume_idx: vol_idx,
70006997
});
70016998

70026999
let overlapped_ptr = std::ptr::addr_of_mut!(new_in_flight.overlapped);

crates/uffs-mft/src/main.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3623,8 +3623,7 @@ async fn cmd_index_load(input: &Path) -> Result<()> {
36233623
println!();
36243624

36253625
let start = Instant::now();
3626-
let (index, header) = MftIndex::load_from_file(input)
3627-
.map_err(|e| anyhow::anyhow!("{}", e))?;
3626+
let (index, header) = MftIndex::load_from_file(input).map_err(|e| anyhow::anyhow!("{}", e))?;
36283627
let load_time = start.elapsed();
36293628

36303629
let file_size = std::fs::metadata(input)?.len();
@@ -3865,9 +3864,9 @@ async fn cmd_cache_clear(drive: Option<char>, all: bool) -> Result<()> {
38653864
async fn cmd_index_update(drive: char, force_full: bool, ttl: Option<u64>) -> Result<()> {
38663865
use std::time::Instant;
38673866

3867+
use uffs_mft::VolumeHandle;
38683868
use uffs_mft::cache::{CacheStatus, INDEX_TTL_SECONDS, check_cache_status, save_to_cache};
38693869
use uffs_mft::usn::{aggregate_changes, query_usn_journal, read_usn_journal};
3870-
use uffs_mft::{MftReader, VolumeHandle};
38713870

38723871
let ttl_seconds = ttl.unwrap_or(INDEX_TTL_SECONDS);
38733872
let start = Instant::now();

0 commit comments

Comments
 (0)