commit | 2c323017e381c55c5ce2a603b8305bb18c1162cc | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@toxicpanda.com> | Tue Jul 31 12:39:04 2018 -0400 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Aug 01 09:16:04 2018 -0600 |
tree | dec6e7ee5c6b022966a69e4422d4e33a3adfbcba | |
parent | cc7ecc258562b065ef638c4b45e20953d57fb564 [diff] |
blk-cgroup: clear the throttle queue on fork We were hitting a panic in production where we put too many times on the request queue. This is because we'd get the throttle_queue of the parent if we fork()'ed while we needed to be throttled, but we didn't have a reference on it. Instead just clear these flags on fork so the child doesn't pay for the sins of its father. Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>