From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5985C2BA80 for ; Mon, 6 Apr 2020 23:42:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A168B206C0 for ; Mon, 6 Apr 2020 23:42:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726370AbgDFXmt (ORCPT ); Mon, 6 Apr 2020 19:42:49 -0400 Received: from mx2.suse.de ([195.135.220.15]:41108 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725933AbgDFXmt (ORCPT ); Mon, 6 Apr 2020 19:42:49 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id CDCD8ADD7; Mon, 6 Apr 2020 23:42:46 +0000 (UTC) From: NeilBrown To: Trond Myklebust , "Anna.Schumaker\@Netapp.com" , Andrew Morton , Jan Kara , Michal Hocko Date: Tue, 07 Apr 2020 09:42:39 +1000 Cc: linux-mm@kvack.org, linux-nfs@vger.kernel.org, LKML Subject: Writeback fixes for NFS - V2 In-Reply-To: <87v9miydai.fsf@notabene.neil.brown.name> References: <87tv2b7q72.fsf@notabene.neil.brown.name> <87v9miydai.fsf@notabene.neil.brown.name> Message-ID: <87ftdgw58w.fsf@notabene.neil.brown.name> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain This is a second version of my patches to improve writeback over NFS. This was prompted by a customer report of very slow throughput to a server running Ganesha NFS server which was taking about 200ms to handle COMMIT requests. While slow COMMIT requests do exacerbate the problem, there are still problems when COMMIT is comparatively fast. Latest test results from customer are that these changes provide substantial improvements. Changes over first version include improvements to the explanation in the commit message, and preservation of "NFS Unstable" counts in various statistics files, despite that fact that the internal accounting is completely gone (merged with writeback accounting). Thanks, NeilBrown --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG8Yp69OQ2HB7X0l6Oeye3VZigbkFAl6LvnAACgkQOeye3VZi gbnpchAAs6Rn9ODgpd2j4JYoTGGJPUCyxj5jebMTzK6o7OhjDYVu139Oup/Q3yKo TtK111MO0k8XRtMAc0syVjma6kePW4UxDyNnrqUhid3QBu6q76DqpsceqaiK055t zZ9OUZ97ndOcL2ikmEIcmCDOF+9UU5tW+eI9CXrYjPU33X0420Vhhdi53bUfaXy+ Vnd5iIPFECE/fBk7R3lVs5v1vh+ozpCUFNogJwFVz6UqIXauWgl6KSnPT4lEPERc 9rqQaObolGctvzMkpiBXGxk275asvKWcy9mTxDHf7IGEGd6N1Oo9DQXQqhxpElfy 4HaISHx8D98RotYX/q8QEXQZjD3b85e5ExsmJlrlZXimsK3AC/2RdvqJVV8lKmvV s7G6q3rSL3LtSLTKcXtBPrcYk1JohfHOTN1zw6fV1jG8j0svJYgyKSHntVv2ugb6 VwJ8K3EUULu/LeU3hJUMNLZqK0cTxMgnZQdlnG6dUuo6KyFuwZcnmBCXvP8u+O+y wqS8zaw83XgMnoNBCm+DH4FOIE2b9tkzeu4HAgjKJ/8PGiNhP1vpZn1+HbrpBQSM 1AISumJWxzV1EM3rIPOpQ6kxnTRHhWv3V4rYG5CHF3GffnPQAAVa8U4yU01ZEIJr an6pZ1iMlLaC7Nk0H2LQur8G1Lxcv/7uydppPiWhQywPjXZpmZ4= =y3d/ -----END PGP SIGNATURE----- --=-=-=--