summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2017-02-17 19:40:44 +0100
committerJens Axboe <axboe@fb.com>2017-02-17 20:35:47 +0100
commit7520872c0cf4d3df6d74242c6edfb9e70a47df4d (patch)
treee33287e1a152ee6d2f2b47f1eb3df0a6c66ae955 /drivers/md/md.c
parentblk-mq-sched: ask scheduler for work, if we failed dispatching leftovers (diff)
downloadlinux-7520872c0cf4d3df6d74242c6edfb9e70a47df4d.tar.xz
linux-7520872c0cf4d3df6d74242c6edfb9e70a47df4d.zip
block: don't defer flushes on blk-mq + scheduling
For blk-mq with scheduling, we can potentially end up with ALL driver tags assigned and sitting on the flush queues. If we defer because of an inlfight data request, then we can deadlock if that data request doesn't already have a tag assigned. This fixes a deadlock with running the xfs/297 xfstest, where thousands of syncs can cause the drive queue to stall. Signed-off-by: Jens Axboe <axboe@fb.com> Reviewed-by: Omar Sandoval <osandov@fb.com>
Diffstat (limited to 'drivers/md/md.c')
0 files changed, 0 insertions, 0 deletions