Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3564490pxf; Mon, 5 Apr 2021 15:58:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkuWYVCyIXdfGMsaQN8R5i7iHJLIB9EAF/8X6qa9qF85bh7GSN1FEcC0jA0+eoSnasYFhA X-Received: by 2002:a6b:e312:: with SMTP id u18mr21485615ioc.58.1617663481632; Mon, 05 Apr 2021 15:58:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617663481; cv=none; d=google.com; s=arc-20160816; b=pmM1cYXj639yMAlYediZNLN6jxBtAceW8vx7rjPyNkmiPWhiPwS+dVl7ByPnILgUUf OCK5lKABIagPhL43uMbLQ6CeWrtj+Q6gp/qeDBHDg8byDpdpLDB1AJc2N62DBnsd803a 24ipStvfyldVUe7AN/Co2obJPF5zRC3EP58WjSxlC2V6a62M7Xw6JxziOQG+yL/7PXH8 P3bktHbAuUPfYI9ioBcraZR9/hvalPw9NLQ7hpMYVs+ui6gshCKzgMI/Negdxf2LbUM8 dQpgk3FCkTHk0miSqYmxSl5eCd5WhhtIQiyLsY5AgSFFy+qh03WMDfJif80tZNfiqEu3 ZgaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=4NOXG4G2LwgfB8k2iYGf1q8PLOQSZ3ZKYPbZP4yeTXA=; b=Ia8RfA0sqYgE17SxNP2/yStyZf+ylDD1zyMAleztziBQZjW8FjwjhBrRIaSKzdsbNc 0ckbquQWVXvwB+pNIxc/HYcsKfjBEiv7TmZ5vhCtcBs9muBucXBFN3z+I0NIYOzhjF5S 4jCfqalOABmmvlB44o85WVpGdPN2MvZwFL+G5eWlhFr6SeDRS21sV0n9Mf4Y/DfVmYG8 pPesav8nE47QyGPxWowAUb0QiGfMRY9gM1xo4/J4uHcHDC30AzWYagI8qU0zQx0sTG+U aF/hEIdcEN7LS/o7nZ9oOmdl31W6++1G400okc7uwWztvUqSx9xSi885dxPrG5qUqqZI Hm3w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g4si16086204ile.56.2021.04.05.15.57.48; Mon, 05 Apr 2021 15:58:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238109AbhDEP3T (ORCPT + 99 others); Mon, 5 Apr 2021 11:29:19 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:43580 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232714AbhDEP3S (ORCPT ); Mon, 5 Apr 2021 11:29:18 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 1F06D1C0B81; Mon, 5 Apr 2021 17:29:09 +0200 (CEST) Date: Mon, 5 Apr 2021 17:29:08 +0200 From: Pavel Machek To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Eric Whitney , Theodore Tso , Sasha Levin Subject: Re: [PATCH 5.10 004/126] ext4: shrink race window in ext4_should_retry_alloc() Message-ID: <20210405152908.GA32232@amd> References: <20210405085031.040238881@linuxfoundation.org> <20210405085031.189492366@linuxfoundation.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: <20210405085031.189492366@linuxfoundation.org> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > From: Eric Whitney > A per filesystem percpu counter exported via sysfs is added to allow > users or developers to track the number of times the retry limit is > exceeded without resorting to debugging methods. This should provide > some insight into worst case retry behavior. This adds new counter exported via sysfs, but no documentation of that counter... Best regards, Pavel > @@ -257,6 +259,7 @@ static struct attribute *ext4_attrs[] =3D { > ATTR_LIST(session_write_kbytes), > ATTR_LIST(lifetime_write_kbytes), > ATTR_LIST(reserved_clusters), > + ATTR_LIST(sra_exceeded_retry_limit), > ATTR_LIST(inode_readahead_blks), > ATTR_LIST(inode_goal), > ATTR_LIST(mb_stats), --=20 http://www.livejournal.com/~pavelmachek --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAmBrLMQACgkQMOfwapXb+vKcZQCfeKMu/0dzWL9OYyGgoiXHOWP0 OqsAn271Mi6QBmSukEo/oVgWp8apPipj =a/GM -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--