Block layer
Block layer is an interface that provides a
software queue
Different from the document and paper, the software queue is only used if q->elevator is not NULL you can see in blk-mq.c
elevator_switch
Reference
- Linux Block layer
- Linux block IO: introducing multi-queue SSD access on multi-core systems(https://kernel.dk/blk-mq.pdf)