On 01/02/2018 09:20 AM, tang.junhui@xxxxxxxxxx wrote: > From: Tang Junhui <tang.junhui@xxxxxxxxxx> > > When I saw the code "int64_t error = dirty - cache_dirty_target", I was > totally lost, I will try my best to get out. Don't waste your time, let me think about this more. I think the previous version was correct and now I screwed it up. I need to really read how the dirty block accounting happens to do this properly. I will send a v3, and make sure that I'm fully confident in it. > And this patch dependent on your earlier patch(PI controller), did that > patch have applied to upstreams branch? I searched in 4.14 branch, > and did not find it. It's 1d316e658374f700fdfff9299c70ce65d8d145e6 on linus/master. Mike