| commit | 3a881987a56b512cdfeeb539e6c62fe888ef9b49 | [log] [tgz] |
|---|---|---|
| author | Dennis Zhou <dennis@kernel.org> | Fri Mar 27 15:52:04 2020 -0700 |
| committer | Dennis Zhou <dennis@kernel.org> | Thu Apr 16 13:58:55 2020 -0700 |
| tree | c155fea7d5f9ce5c5d7af32b8bb282ec1fb2371d | |
| parent | 00086336a8d96a04aa960f912287692a258f6cf5 [diff] |
io_uring: add blkcg accounting to offloaded operations There are a few operations that are offloaded to the worker threads. In this case, we lose process context and end up in kthread context. This results in ios to be not accounted to the issuing cgroup and consequently end up as issued by root. Just like others, adopt the personality of the blkcg too when issuing via the workqueues. Signed-off-by: Dennis Zhou <dennis@kernel.org>