lkml.org 
[lkml]   [2021]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] cancel all throttled bios in del_gendisk()
Date
If del_gendisk() is done when some io are still throttled, such io
will not be handled until the throttle is done, which is not
necessary.

This patch series handle such io in del_gendisk().

Yu Kuai (4):
Revert "blk-throttle: remove tg_drain_bios"
blk-throtl: don't warn in tg_drain_bios()
blk-throtl: introduce blk_throtl_cancel_bios()
block: cancel all throttled bios in del_gendisk()

block/blk-throttle.c | 68 +++++++++++++++++++++++++++++++++++++++++---
block/blk-throttle.h | 2 ++
block/genhd.c | 2 ++
3 files changed, 68 insertions(+), 4 deletions(-)

--
2.31.1

\
 
 \ /
  Last update: 2021-11-27 11:01    [W:2.316 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site