Commit ff17fed1 authored by Jeremy Soller's avatar Jeremy Soller

Reimplement fmap/funmap using improvements to kernel

parent cb2bcf9f
Pipeline #3686 failed with stages
in 1 minute and 44 seconds
This diff is collapsed.
......@@ -22,7 +22,6 @@ path = "src/bin/mkfs.rs"
doc = false
[dependencies]
spin = "0.4"
redox_syscall = "0.1"
uuid = { version = "0.5", features = ["v4"] }
......
......@@ -81,6 +81,7 @@ impl<T: Disk> Disk for DiskCache<T> {
}
fn write_at(&mut self, block: u64, buffer: &[u8]) -> Result<usize> {
//TODO: Write only blocks that have changed
// println!("Cache write at {}", block);
self.inner.write_at(block, buffer)?;
......
extern crate spin;
use syscall;
use syscall::{Packet, Scheme};
use std::fs::File;
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment