Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp527628pxf; Wed, 7 Apr 2021 05:43:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwf23wg67TwIUib7O9Z3Fpk0lx9flO5A6dZHWISyYWSxh+SFMbozGBEliJzMvdUmfOyQ/Wo X-Received: by 2002:a17:906:6882:: with SMTP id n2mr3543373ejr.50.1617799390288; Wed, 07 Apr 2021 05:43:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617799390; cv=none; d=google.com; s=arc-20160816; b=tWac18L9MtI5wVAzRCFpS4eS4lHQm5Cs7hkJOa8nuoeTLWjr9VrCRC1CktUAIFDFl1 0mJuhxApBeJ7sErCyj8Yvf4NW8EUuQE0NFknmZLtpDNNxsBY0caw24B9ZSiLHpE89I3+ yAlX9AmfdI822nMdzvZo7gLJYs4FaCMBBx+WpNu8uuhFB+9nr5gxDuBWW8GIAm5I65rl On3jRenB4UYGMf0kXkTqhPkHLk6RZzvdOFVagT2J32X5BHwBOmHT0N4Uj315mlMj0lxB WTtCLLxXw4v+yLgij/E71w4cQ82TJ9ycqviiJeYAYpJ7EumbOZQ+nW9aF/VQYkmJs4dU u+gA== 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 :dkim-signature; bh=5oMy+AxrchMa7qNBGPpnhH2Zlo695zWTE08uCBLDOgg=; b=aXihW9YkizyMkpe/7Rfh1R7Vz4iFdsuvT6xe/rrn+9WZB/Ed79H1IakY2GvYZWt0fB ROVriTHoNZVQT3nPt8u3ra5ue3xrQWPhCFdaq1DCFA/eXh4I/MVIUWXdMztbI7yVrs0B Q4Ebz2QxEonLTaPqwHLI8KHebCfUCH4yye667KCefzKIKv7kleq1l0VE6v0P/7TSGzJt Rxuou7vVvj2W5rMQ8RP8owMr5wpYdoB6cEx4h82CH6XH03soOaQyZyEzEXQgZRBhb8Rb F04tXFKEftqM4HG7zkJcJw8h+a3ElxtSvf51vh7H5QKrqTIu+oT8f0mtBd1aDoM/uZXp Detg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=U7AOIAme; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c15si18569741ede.264.2021.04.07.05.42.43; Wed, 07 Apr 2021 05:43:10 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=U7AOIAme; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234363AbhDFVLi (ORCPT + 99 others); Tue, 6 Apr 2021 17:11:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232861AbhDFVLi (ORCPT ); Tue, 6 Apr 2021 17:11:38 -0400 Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11F6AC06174A; Tue, 6 Apr 2021 14:11:30 -0700 (PDT) Received: by mail-qt1-x834.google.com with SMTP id h7so12275285qtx.3; Tue, 06 Apr 2021 14:11:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=5oMy+AxrchMa7qNBGPpnhH2Zlo695zWTE08uCBLDOgg=; b=U7AOIAmeZPyMFndmbgGGctXp4tWrR8AQhS7TppV+/uYwTJP5cFEbyNQfCMAR4oEog4 t8Xz0bOszImDDSa3CHGL5amtMUzI7G7cqW7vikEeqi7txTiBytmLYcv3pXlJKaO0GEWL jUybfMPQkGF1PC7pQ+MFQtD3U6CwBNabjzP7Yz6wlMyeuBHc+8QCVNM1m1Nadr+UNoLz pNagOYHVa3beUM9DfFTX/a/V5jiNAXKR2WztQJmY4ACQz12TDV+yiB6RASW25W/dk1Xh BF5tO/uSK3CXs0qrnsfYoidAhatH3PJALHyTOyX2z03NrR6eWj7zWeZm/MxNZQq746PZ /SfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=5oMy+AxrchMa7qNBGPpnhH2Zlo695zWTE08uCBLDOgg=; b=R0Evn1+IcYxqNotBhEmM7wcgTh1hb1XJzeaTZDXIyYjq+xqaknwEjFfeUMiOoWAWuI eoJUmJyaoqMNZKNc23BRZ6rpcpYt90UNukFX7RdZrQ7i8KA+kwB0UObYtjtb7wAucsA6 1CRi28s/NWy/0vP4FRRigNAu9oiQ2DmpVIQ06yVTYIGH1CFUVVXhHgHRYUuEx/AfKzmr WUVEvOACuSULAB/9j9PrR+pWb8SEVTqzrFCVvP3xW84wZwV99c3YJTMqKKnd+J9YcPLl VVQvZlRkqsOKT1PgwKutbgdiKxM8DEeA2LF6jd8B6Ce8+OiI+3oFsVcVvbfMP1/v93kD ylxw== X-Gm-Message-State: AOAM530J09SQDHGOBBf8pemC8fnqU/uwuFjVDnFq7f4arVv1aqTFnuij /IPXMOaMQ1mnjOo7UvDcbkU= X-Received: by 2002:ac8:7fcc:: with SMTP id b12mr28732609qtk.343.1617743489361; Tue, 06 Apr 2021 14:11:29 -0700 (PDT) Received: from localhost.localdomain (c-73-60-226-25.hsd1.nh.comcast.net. [73.60.226.25]) by smtp.gmail.com with ESMTPSA id g2sm15933477qtu.0.2021.04.06.14.11.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 14:11:28 -0700 (PDT) Date: Tue, 6 Apr 2021 17:11:26 -0400 From: Eric Whitney To: Pavel Machek Cc: Greg Kroah-Hartman , 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: <20210406211126.GA14411@localhost.localdomain> References: <20210405085031.040238881@linuxfoundation.org> <20210405085031.189492366@linuxfoundation.org> <20210405152908.GA32232@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210405152908.GA32232@amd> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Pavel Machek : > 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 > Thanks for the observation. I'll check with Ted to see what he'd like. Eric > > @@ -257,6 +259,7 @@ static struct attribute *ext4_attrs[] = { > > 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), > > -- > http://www.livejournal.com/~pavelmachek