Re: [PATCH v2 0/3] blkcg: sync() isolation

2019-03-08 Thread Andrea Righi
On Fri, Mar 08, 2019 at 12:22:20PM -0500, Josef Bacik wrote: > On Thu, Mar 07, 2019 at 07:08:31PM +0100, Andrea Righi wrote: > > = Problem = > > > > When sync() is executed from a high-priority cgroup, the process is forced > > to > > wait the completion of the entire outstanding writeback I/O,

Re: [PATCH v2 0/3] blkcg: sync() isolation

2019-03-08 Thread Josef Bacik
On Thu, Mar 07, 2019 at 07:08:31PM +0100, Andrea Righi wrote: > = Problem = > > When sync() is executed from a high-priority cgroup, the process is forced to > wait the completion of the entire outstanding writeback I/O, even the I/O that > was originally generated by low-priority cgroups

[PATCH v2 0/3] blkcg: sync() isolation

2019-03-07 Thread Andrea Righi
= Problem = When sync() is executed from a high-priority cgroup, the process is forced to wait the completion of the entire outstanding writeback I/O, even the I/O that was originally generated by low-priority cgroups potentially. This may cause massive latencies to random processes (even those