android_kernel_xiaomi_sm8350/block
Tejun Heo 15853af9f0 [BLOCK] Implement elv_drain_elevator for improved switch error detection
This patch adds request_queue->nr_sorted which keeps the number of
requests in the iosched and implement elv_drain_elevator which
performs forced dispatching.  elv_drain_elevator checks whether
iosched actually dispatches all requests it has and prints error
message if it doesn't.  As buggy forced dispatching can result in
wrong barrier operations, I think this extra check is worthwhile.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jens Axboe <axboe@suse.de>
2005-11-12 10:56:06 +01:00
..
as-iosched.c
cfq-iosched.c [BLOCK] cfq-iosched: cfq forced dispatching fix 2005-11-12 10:55:51 +01:00
deadline-iosched.c
elevator.c [BLOCK] Implement elv_drain_elevator for improved switch error detection 2005-11-12 10:56:06 +01:00
genhd.c [BLOCK] Document the READ/WRITE splitup of the disk stats 2005-11-12 10:55:21 +01:00
ioctl.c
Kconfig
Kconfig.iosched
ll_rw_blk.c
Makefile
noop-iosched.c
scsi_ioctl.c