This long thread on linux-mm and linux-fsdevel has been discussing writeback, throttling, cgroups etc. This post reminded me that we should look more carefully at the cifs bdi implementation, compare to nfs, and also check what needs to be improved in the bdi implementation to handle smb2 credits. It will be interesting to see if that will help writeback. On Sat, Apr 14, 2012 at 6:53 AM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote: > > On Wed, 2012-04-04 at 11:49 -0700, Tejun Heo wrote: > > > - How to handle NFS. > > > > As said above, maybe through network based bdi pressure propagation, > > Maybe some other special case mechanism. Unsure but I don't think > > this concern should dictate the whole design. > > NFS has a custom bdi implementation and implements congestion control > based on the number of outstanding writeback pages. > > See fs/nfs/write.c:nfs_{set,end}_page_writeback > > All !block based filesystems have their own BDI implementation, I'm not > sure on the congestion implementation of anything other than NFS though. > _______________________________________________ > Lsf mailing list > Lsf@xxxxxxxxxxxxxxxxxxxxxxxxxx > https://lists.linuxfoundation.org/mailman/listinfo/lsf -- Thanks, Steve -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html