aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2022-04-07 16:07:38 +0200
committerJens Axboe <[email protected]>2022-04-29 06:45:37 -0600
commit09df6a75fffa68169c5ef9bef990cd7ba94f3eef (patch)
tree6d39e476cea24dfe612dc9ea2dd6c971fe90a05d /lib/test_fortify/write_overflow-strlcpy-src.c
parent4cddeacad6d4b23493a108d0705e7d2ab89ba5a3 (diff)
bfq: Fix warning in bfqq_request_over_limit()
People are occasionally reporting a warning bfqq_request_over_limit() triggering reporting that BFQ's idea of cgroup hierarchy (and its depth) does not match what generic blkcg code thinks. This can actually happen when bfqq gets moved between BFQ groups while bfqq_request_over_limit() is running. Make sure the code is safe against BFQ queue being moved to a different BFQ group. Fixes: 76f1df88bbc2 ("bfq: Limit number of requests consumed by each cgroup") CC: [email protected] Link: https://lore.kernel.org/all/CAJCQCtTw_2C7ZSz7as5Gvq=OmnDiio=HRkQekqWpKot84sQhFA@mail.gmail.com/ Reported-by: Chris Murphy <[email protected]> Reported-by: "yukuai (C)" <[email protected]> Signed-off-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions