On 22 Mar 2018, at 17:11, Shaohua Li wrote:
From: Shaohua Li <shli@xxxxxx>
Basically this is a copy of commit 001e4a8775f6(ext4: implement cgroup
writeback support). Tested with a fio test, verified writeback is
throttled against cgroup io.max write bandwidth, also verified moving
the fio test to another cgroup and the writeback is throttled against
new cgroup setting.
This only controls the file data write for cgroup. For metadata, since
xfs dispatches the metadata write in specific threads, it's possible
low
prio app's metadata could harm high prio app's metadata. A while back,
Tejun has a patch to force metadata belonging to root cgroup for
btrfs.
I had a similiar patch for xfs too. But Since Tejun's patch isn't in
upstream, I'll delay post the xfs patch.
I think we've worked out all the problems on the btrfs/generic patch
set, we'll get those sent out shortly.
-chris
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html