aboutsummaryrefslogtreecommitdiffstats
path: root/readme.md
diff options
context:
space:
mode:
authorvia8 <viaviii.gp@gmail.com>2022-03-21 20:52:31 +0300
committervia8 <viaviii.gp@gmail.com>2022-03-21 20:52:31 +0300
commitdacea75f37a15e5c0e5bc6a32e042c75e73d0872 (patch)
treec4b9079f1a61eb33d386ed5093ef814572aed327 /readme.md
parent9c1a24730a848648764c5fd7b2b9cb2a2906eda7 (diff)
downloadsbdd-dacea75f37a15e5c0e5bc6a32e042c75e73d0872.tar.gz
sbdd-dacea75f37a15e5c0e5bc6a32e042c75e73d0872.tar.bz2
sbdd-dacea75f37a15e5c0e5bc6a32e042c75e73d0872.zip
impl sbdd
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/readme.md b/readme.md
new file mode 100644
index 0000000..c3bec58
--- /dev/null
+++ b/readme.md
@@ -0,0 +1,19 @@
+# Simple Block Device Driver
+Implementation of Linux Kernel 5.4.X simple block device.
+
+## Build
+- regular:
+`$ make`
+- with blk_mq support:
+uncomment `ccflags-y += -DBLK_MQ_MODE` in `Kbuild`
+- with requests debug info:
+uncomment `CFLAGS_sbdd.o := -DDEBUG` in `Kbuild`
+
+## Clean
+`$ make clean`
+
+## References
+- [Linux Device Drivers](https://lwn.net/Kernel/LDD3/)
+- [Linux Kernel Development](https://rlove.org)
+- [Linux Kernel Teaching](https://linux-kernel-labs.github.io/refs/heads/master/labs/block_device_drivers.html)
+- [Linux Kernel Sources](https://github.com/torvalds/linux)