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=-2.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_2 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 53D99C2D0DA for ; Wed, 25 Dec 2019 09:58:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1AB182073B for ; Wed, 25 Dec 2019 09:58:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=dubeyko-com.20150623.gappssmtp.com header.i=@dubeyko-com.20150623.gappssmtp.com header.b="Sawr3RJ0" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726307AbfLYJ6v (ORCPT ); Wed, 25 Dec 2019 04:58:51 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:46140 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726025AbfLYJ6v (ORCPT ); Wed, 25 Dec 2019 04:58:51 -0500 Received: by mail-lj1-f194.google.com with SMTP id m26so20113853ljc.13 for ; Wed, 25 Dec 2019 01:58:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dubeyko-com.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=BimAE/wzLaoJ+Q76OTXF2tSOsXH3zuFfkC4OKhHyt4M=; b=Sawr3RJ0XQ4kFSYodnBYQ2C4OYnmS+dTU+GADcUfRFioyeQiYpsoojrV+bcKjvKhkr l5dBEP+1n70Gzok8JpiiQwOAZWyZN7V5YQeRXeSuBekS2vKw4/Zxn14sGbGYe6g8nYqt v8l8Rn/pmzy+OZuKWPrGBBbT4tyAe4GXN5bOSWIZ1Za4RNOlmEOYKsaaEKrl1bOG+Cpr AjrHMzLWPRePRZi4XsrgxD7ngKSSbETAa8A/oQg+/iiIBaqXioTP5j1+JeYe86C6QXxb BcIECzCTzgUgS4BC9DngU5jnB78k7UkDKW4Xsynzc++yrPCVw6RiMO7Mlzhu3VsY/epv pDSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=BimAE/wzLaoJ+Q76OTXF2tSOsXH3zuFfkC4OKhHyt4M=; b=mcOarj0byrOSVJn2j9nr2OPPw5Euh7Al1R9izgGRSBMV1E0y1dfUTg6qukzlXT3oRR BGu5RMeSrSIFBuo31Za98eTaJ0YEddMwLIYqKOihKNv0QP1VryQsu47RFIFT9hjwtXpN j8IYxFMxZg1KtAzAkoygnKWlmAuSl76SF8ON0qvIW7j3O+qd6ndcBS+3/9J/iYF5wVQL q/XDpzHtAtGvikf9h30vLHkGSBztrsHncc3roPlIqK4uT72tPDy6lKSdfPOuvhpyjK9R M3/OfX090twt1qkZ83GMmcY9muZs6PMeE5qFAltnCj9gUGuj+7Rm5SPuyxyYXodEEMk6 T8Lg== X-Gm-Message-State: APjAAAXtkZcc2FEW9twBmTqkR6oaF5RpkaRf/vvouNRM3zktJWlqfyyU E00pxTzxDZhK4qsKuRUZ5Y+gYg== X-Google-Smtp-Source: APXvYqyVCaK3RhWsqGk8ogHzgSadR0YNeuWFjHPQK3y6zRy7veQsw5x+SJ1Znlr403nf6FVtEcldXA== X-Received: by 2002:a2e:814e:: with SMTP id t14mr22412615ljg.149.1577267929007; Wed, 25 Dec 2019 01:58:49 -0800 (PST) Received: from msk1wst115n.omp.ru (mail.omprussia.ru. [5.134.221.218]) by smtp.gmail.com with ESMTPSA id t9sm11127171lfl.51.2019.12.25.01.58.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Dec 2019 01:58:48 -0800 (PST) Message-ID: <1cc2d2a093ebb15a1fc6eb96d683e918a8d5a7d4.camel@dubeyko.com> Subject: Re: [PATCH] f2fs: introduce DEFAULT_IO_TIMEOUT_JIFFIES From: Vyacheslav Dubeyko To: Geert Uytterhoeven , Chao Yu Cc: Jaegeuk Kim , linux-f2fs-devel@lists.sourceforge.net, Linux Kernel Mailing List , Chao Yu , Linux FS Devel Date: Wed, 25 Dec 2019 12:58:47 +0300 In-Reply-To: References: <20191223040020.109570-1-yuchao0@huawei.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Mon, 2019-12-23 at 09:41 +0100, Geert Uytterhoeven wrote: > Hi, > > CC linux-fsdevel > > On Mon, Dec 23, 2019 at 5:01 AM Chao Yu wrote: > > As Geert Uytterhoeven reported: > > > > for parameter HZ/50 in congestion_wait(BLK_RW_ASYNC, HZ/50); > > > > On some platforms, HZ can be less than 50, then unexpected 0 > > timeout > > jiffies will be set in congestion_wait(). > > It looks like that HZ could have various value on diferent platforms. So, why does it need to divide HZ on 50? Does it really necessary? Could it be used HZ only without the division operation? Thanks, Viacheslav Dubeyko.