Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3816480ybb; Mon, 6 Apr 2020 16:43:07 -0700 (PDT) X-Google-Smtp-Source: APiQypKDx/Jnadh0FR74b3exWM7nTYPcGp8wUdxQNtZAjwNn/9QWq8oYvUv8jSS3j4GWGSl7rIGr X-Received: by 2002:a4a:e78b:: with SMTP id x11mr1348099oov.45.1586216587008; Mon, 06 Apr 2020 16:43:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586216587; cv=none; d=google.com; s=arc-20160816; b=LjUJNheEms5OM71bIybVYIM1XCZl1quaWAVYoPuS8yBw5yCtLq3tZxvARB1gTN8W6n ZiEJo2KZLspLeOttCYxTUFAFGKD2tRPy96lonq4a2tOeYDXN3by6Nw6+XqLUoVutRsTQ ahj5ZzhKhHDFnm1ZX2TxJWo/wUlJJf87Iq7wS/qZodTzK5aelGs6cHzSEwyGHW3eweFG B/Ikua44DUzyrFQqPRFPqC9lD0+kOo+J5/smPUPRciNOVHNXnIxWJOAR0HARjxBD+RBv oq9+m/8oKXCynUi7rfETI3iBBToypm9DzFGQFZK8sVuNsD30s+QfZbOak5Va3jzIeIW/ efdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:references :in-reply-to:subject:cc:date:to:from; bh=ifAXuKiEsN/dRCHrbWn7WzaQiqGgl79/F1yFJApsrD0=; b=TTnokZ8MCFffLnNWhI4DWrw3a9EjACnZ/U7/7VflCsBoyG4dvWgm8aHWGxjWr4ttvs Zr2N3eQIWwURqCWB81NfNd6bmyo9+bMSNKtv05DAnDw3ImeBOYusfaZnjUcTX9SsosdC YMKbyACcvSi8xrZ2u/9Rqo1yQBy91sOnWmd7cnXEkCLdsucWs9bv3LIhcKGvlPhyWvs8 yvfwMgFDhNcBYbMfyX1bd9gfokSzg4b4E74UDXvfmCehKSo3BEnXFaAXL8y0JW7ftWxB GFXaypQe4CqZmTBMNHBWC5E+J36QcrHmhwOXvq1qePJwHu93FPXckse/dGuDbxgRlVE8 0zdA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e22si488956otp.138.2020.04.06.16.42.50; Mon, 06 Apr 2020 16:43:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726277AbgDFXmt (ORCPT + 99 others); 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-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@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----- --=-=-=--