diff options
author | Ming Lei <[email protected]> | 2022-02-16 12:45:13 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-02-16 19:42:28 -0700 |
commit | 5a93b6027eb4ef5db60a4bc5bdbeba5fb9f29384 (patch) | |
tree | b7839a03f6554e1c3a7e4e3c58a1ebb5e5b94f25 /net/lapb/lapb_timer.c | |
parent | 9f5ede3c01f9951b0ae7d68b28762ad51d9bacc8 (diff) |
block: don't try to throttle split bio if iops limit isn't set
We need to throttle split bio in case of IOPS limit even though the
split bio has been marked as BIO_THROTTLED since block layer
accounts split bio actually.
If only throughput throttle is setup, no need to throttle any more
if BIO_THROTTLED is set since we have accounted & considered the
whole bio bytes already.
Add one flag of THROTL_TG_HAS_IOPS_LIMIT for serving this purpose.
Acked-by: Tejun Heo <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions