loopデバイスのスケジュラってどうなっているのかチェックしてみた。 Ubuntu 20.04 LTS の Linuxカーネル 5.4.0 ではこうなっていた。備忘録として。
Ubuntu 20.04.1 LTS (Focal Fossa)
$ for i in /sys/block/*/queue/scheduler; do echo -n $i ' ' ; cat $i; done
/sys/block/loop0/queue/scheduler [mq-deadline] none
/sys/block/loop1/queue/scheduler [mq-deadline] none
/sys/block/loop2/queue/scheduler [mq-deadline] none
/sys/block/loop3/queue/scheduler [mq-deadline] none
/sys/block/loop4/queue/scheduler [mq-deadline] none
/sys/block/loop5/queue/scheduler [mq-deadline] none
/sys/block/loop6/queue/scheduler [mq-deadline] none
/sys/block/loop7/queue/scheduler [mq-deadline] none
/sys/block/loop8/queue/scheduler [mq-deadline] none
/sys/block/loop9/queue/scheduler [mq-deadline] none
/sys/block/nvme0n1/queue/scheduler [none] mq-deadline
$ cat /proc/version
Linux version 5.4.0-54-generic (buildd@lcy01-amd64-024) (gcc version
9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #60-Ubuntu SMP Fri Nov 6 10:37:59
UTC 2020