From dacea75f37a15e5c0e5bc6a32e042c75e73d0872 Mon Sep 17 00:00:00 2001 From: via8 Date: Mon, 21 Mar 2022 20:52:31 +0300 Subject: impl sbdd --- readme.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 readme.md (limited to 'readme.md') 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) -- cgit v1.2.3-18-g5258