Jens Axboe
77f1e0a52d
bfq: update internal depth state when queue depth changes
...
A previous commit moved the shallow depth and BFQ depth map calculations
to be done at init time, moving it outside of the hotter IO path. This
potentially causes hangs if the users changes the depth of the scheduler
map, by writing to the 'nr_requests' sysfs file for that device.
Add a blk-mq-sched hook that allows blk-mq to inform the scheduler if
the depth changes, so that the scheduler can update its internal state.
Tested-by: Kai Krakow <kai@kaishome.de>
Reported-by: Paolo Valente <paolo.valente@linaro.org>
Fixes: f0635b8a41 ("bfq: calculate shallow depths at init time")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-04-13 19:08:22 -06:00
..
partitions
badblocks.c
bfq-cgroup.c
bfq-iosched.c
bfq: update internal depth state when queue depth changes
2019-04-13 19:08:22 -06:00
bfq-iosched.h
block, bfq: fix use after free in bfq_bfqq_expire
2019-04-10 07:54:38 -06:00
bfq-wf2q.c
block, bfq: fix use after free in bfq_bfqq_expire
2019-04-10 07:54:38 -06:00
bio-integrity.c
bio.c
block: do not leak memory in bio_copy_user_iov()
2019-04-10 16:14:40 -06:00
blk-cgroup.c
blkcg: Fix kernel-doc warnings
2019-03-20 14:39:09 -06:00
blk-core.c
block: Revert v5.0 blk_mq_request_issue_directly() changes
2019-04-05 09:40:46 -06:00
blk-exec.c
blk-flush.c
blk-mq: use blk_mq_put_driver_tag() to put tag
2019-03-24 10:26:16 -06:00
blk-integrity.c
blk-ioc.c
blk-iolatency.c
blk-iolatency: #include "blk.h"
2019-03-20 14:19:38 -06:00
blk-lib.c
blk-map.c
blk-merge.c
block: fix segment calculation for passthrough IO
2019-03-06 09:42:54 -07:00
blk-mq-cpumap.c
blk-mq-debugfs-zoned.c
block: Cleanup license notice
2019-01-17 21:21:40 -07:00
blk-mq-debugfs.c
SCSI misc on 20190306
2019-03-09 16:53:47 -08:00
blk-mq-debugfs.h
blk-mq-pci.c
blk-mq-rdma.c
blk-mq-sched.c
block: Revert v5.0 blk_mq_request_issue_directly() changes
2019-04-05 09:40:46 -06:00
blk-mq-sched.h
blk-mq-sysfs.c
blk-mq-tag.c
blk-mq: save queue mapping result into ctx directly
2019-02-01 08:33:04 -07:00
blk-mq-tag.h
blk-mq-virtio.c
blk-mq.c
bfq: update internal depth state when queue depth changes
2019-04-13 19:08:22 -06:00
blk-mq.h
block: Revert v5.0 blk_mq_request_issue_directly() changes
2019-04-05 09:40:46 -06:00
blk-pm.c
blk-pm.h
blk-rq-qos.c
blk-rq-qos.h
blk-settings.c
block: kill QUEUE_FLAG_FLUSH_NQ
2019-02-09 15:40:24 -07:00
blk-softirq.c
blk-stat.c
blk-stat.h
blk-sysfs.c
block: add BLK_MQ_POLL_CLASSIC for hybrid poll and return EINVAL for unexpected value
2019-03-20 14:02:07 -06:00
blk-throttle.c
blk-timeout.c
blk-wbt.c
blk-wbt: Declare local functions static
2019-01-24 11:09:21 -07:00
blk-wbt.h
blk-zoned.c
blk.h
blk-mq: save queue mapping result into ctx directly
2019-02-01 08:33:04 -07:00
bounce.c
block: bounce: make sure that bvec table is updated
2019-02-21 10:58:44 -07:00
bsg-lib.c
scsi: bsg-lib: handle bidi requests without block layer help
2019-02-05 21:27:40 -05:00
bsg.c
scsi: bsg-lib: handle bidi requests without block layer help
2019-02-05 21:27:40 -05:00
cmdline-parser.c
compat_ioctl.c
elevator.c
block: avoid setting none scheduler if it's already none
2019-02-11 08:21:40 -07:00
genhd.c
block: Replace function name in string with __func__
2019-02-28 14:09:08 -07:00
ioctl.c
ioprio.c
Kconfig
Kconfig.iosched
kyber-iosched.c
Makefile
mq-deadline.c
opal_proto.h
partition-generic.c
scsi_ioctl.c
sed-opal.c
t10-pi.c