commit | 7c9a09f56a91c4ee5636703d3a95c72710917718 | [log] [tgz] |
---|---|---|
author | Chris Mason <clm@fb.com> | Wed Oct 04 12:05:46 2017 -0700 |
committer | Chris Mason <clm@fb.com> | Wed Dec 20 14:11:04 2017 -0800 |
tree | e2e7a04f9fbf7fd0cf9f280897feace1b1e427b2 | |
parent | 3c0ac24b4e67239776a64f4eb036aa5cbd15a029 [diff] |
btrfs: don't use async helpers for crcs when under IO limits We want to avoid priority inversions from btrfs' async helpers when using cgroups to control IO. The least complicated way is to avoid the async helpers completely when we're not in the root cgroup for IO. On modern hardware with crc32c acceleration, this has a very small impact, but we want to do more benchmarks to make sure. Signed-off-by: Chris Mason <clm@fb.com> Signed-off-by: Tejun Heo <tj@kernel.org>