[dm-devel] [PATCH RFC 0/4] dm thin: support blk-throttle on data and metadata device

2017-01-20 Thread Hou Tao
Hi all, We need to throttle the O_DIRECT IO on data and metadata device of a dm-thin pool and encounter some problems. If we set the limitation on the root blkcg, the throttle works. If we set the limitation on a child blkcg, the throttle doesn't work well. The reason why the throttle doesn't wor

Re: [dm-devel] [PATCH RFC 0/4] dm thin: support blk-throttle on data and metadata device

2017-01-20 Thread Jeff Moyer
Hou Tao writes: > Hi all, > > We need to throttle the O_DIRECT IO on data and metadata device > of a dm-thin pool and encounter some problems. If we set the > limitation on the root blkcg, the throttle works. If we set the > limitation on a child blkcg, the throttle doesn't work well. > > The rea

Re: [dm-devel] [PATCH RFC 0/4] dm thin: support blk-throttle on data and metadata device

2017-01-20 Thread Mike Snitzer
On Fri, Jan 20 2017 at 10:19am -0500, Jeff Moyer wrote: > Hou Tao writes: > > > Hi all, > > > > We need to throttle the O_DIRECT IO on data and metadata device > > of a dm-thin pool and encounter some problems. If we set the > > limitation on the root blkcg, the throttle works. If we set the >

Re: [dm-devel] [PATCH RFC 0/4] dm thin: support blk-throttle on data and metadata device

2017-01-20 Thread Vivek Goyal
On Fri, Jan 20, 2017 at 10:19:22AM -0500, Jeff Moyer wrote: > Hou Tao writes: > > > Hi all, > > > > We need to throttle the O_DIRECT IO on data and metadata device > > of a dm-thin pool and encounter some problems. If we set the > > limitation on the root blkcg, the throttle works. If we set the