On Thu, 2013-09-05 at 16:36 -0500, Quentin Barnes wrote: > On Thu, Sep 05, 2013 at 08:02:01PM +0000, Myklebust, Trond wrote: > > On Thu, 2013-09-05 at 14:11 -0500, Quentin Barnes wrote: > > > On Thu, Sep 05, 2013 at 12:03:03PM -0500, Malahal Naineni wrote: > > > > Neil Brown posted a patch couple days ago for this! > > > > > > > > http://thread.gmane.org/gmane.linux.nfs/58473 > > > > > > I tried Neil's patch on a v3.11 kernel. The rebuilt kernel still > > > exhibited the same 1000s of WRITEs/sec problem. > > > > > > Any other ideas? > > > > Yes. Please try the attached patch. > > Great! That did the trick! > > Do you feel this patch could be worthy of pushing it upstream in its > current state or was it just to verify a theory? It should be safe to merge this. It is a valid optimisation in the case where there are no locks applied. -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@xxxxxxxxxx www.netapp.com ��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥