]> www.infradead.org Git - users/hch/blktests.git/commit
nvmeof-mp/012, srp/012: fix the scheduler list
authorYi Zhang <yi.zhang@redhat.com>
Thu, 26 Nov 2020 08:35:30 +0000 (16:35 +0800)
committerOmar Sandoval <osandov@fb.com>
Mon, 4 Jan 2021 22:41:32 +0000 (14:41 -0800)
commit4e0cd3609d1248ca461b684fe19b056cdd26fb88
treebed5365a09b184cdd839ba9b42b707966e2e6042
parent79eb2548313d410fc02a4d6e05799ec5ffac5f0b
nvmeof-mp/012, srp/012: fix the scheduler list

There is no cfq scheduler and new added kyber scheduler in lastest kernel,
introduce get_scheduler_list and fix nvmeof-mp/012 srp/012

To reproduce it:
$ ./check nvmeof-mp/012
nvmeof-mp/012 (dm-mpath on top of multiple I/O schedulers)   [passed]
    runtime  5.922s  ...  8.804s

$ cat results/nodev/nvmeof-mp/012.full  | grep -n "Changing scheduler"
31:Changing scheduler of dm-3 from mq-deadline kyber [bfq] none into cfq failed
47:Changing scheduler of dm-3 from mq-deadline kyber [bfq] none into cfq failed

Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
common/multipath-over-rdma
tests/nvmeof-mp/012
tests/srp/012