summaryrefslogtreecommitdiff
path: root/documentation/kernel/storage.txt
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/kernel/storage.txt')
-rw-r--r--documentation/kernel/storage.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/documentation/kernel/storage.txt b/documentation/kernel/storage.txt
new file mode 100644
index 0000000..4fe8ea3
--- /dev/null
+++ b/documentation/kernel/storage.txt
@@ -0,0 +1,7 @@
+a block_device is a block device such as a disk or a partition that has been
+seen since the last boot. when a driver detects a device, it should check if
+a block_device with that id has already been created, and if so, reuse it.
+
+eventually, i would like to implement kernel-space exceptions and
+use those instead of having functions return bd_result or fs_result,
+since it's a bit unwieldy to propogate those results as is.