diff options
author | Omar Sandoval <osandov@fb.com> | 2017-02-06 23:52:24 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-02-06 23:55:36 +0300 |
commit | 80c6b15732f0d8830032149cbcbc8d67e074b5e8 (patch) | |
tree | ac33b85a662c850764694ce2200c528ce2858ea5 /scripts/extract-cert.c | |
parent | e980f62353c697cbf0c4325e43df6e44399aeb64 (diff) | |
download | linux-80c6b15732f0d8830032149cbcbc8d67e074b5e8.tar.xz |
blk-mq-sched: (un)register elevator when (un)registering queue
I noticed that when booting with a default blk-mq I/O scheduler, the
/sys/block/*/queue/iosched directory was missing. However, switching
after boot did create the directory. This is because we skip the initial
elevator register/unregister when we don't have a ->request_fn(), but we
should still do it for the ->mq_ops case.
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'scripts/extract-cert.c')
0 files changed, 0 insertions, 0 deletions