Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8584197ybl; Wed, 25 Dec 2019 02:01:32 -0800 (PST) X-Google-Smtp-Source: APXvYqy01uDe/murZBcsSgoASsLCLE0qNIaRYyzcKV/zfXx0NbviRzUdKKtUioRqv8z6v6Qg9x5t X-Received: by 2002:a05:6830:155a:: with SMTP id l26mr44927842otp.339.1577268092178; Wed, 25 Dec 2019 02:01:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577268092; cv=none; d=google.com; s=arc-20160816; b=k1WMN7/B8RNv7M9Rl43726YXK545ekbLEQOZzpajiW0E1yqzM12P4iAUFGxc7738UU J9Ob6WxVihMrBQDlDshYGQcHYPKi32REkpWtna4DsdnruIJSk+JhzRjn+EwRizX2MDJY EUyVXPPqnMJ/Z4Wkm++TNDr7s0WZnOpY9nt3+2gkWbURuvwPUvvH4XJq1HTgxYAbk0GL 8jd/7+kbYPDhO8NyDt3u012wJibPwYjKFLEqV+CPJ9YOCXsJ7p5HQrXTGe38XkseYtaq XBFKkM93ZPKgog6ORVzJLzR1M5Ps7tpbwTz49AHj9e1faO8lbDM1fOc6YeBtruuI8Nsg ujVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=BimAE/wzLaoJ+Q76OTXF2tSOsXH3zuFfkC4OKhHyt4M=; b=RQWbT8PttxNAy+53ERUJt5niMTSS/HRVgVd5lnv7j28gOFr9J4rHChYu/scaTXJn4k dvAAz8nEhzSEyeAaTKsedvcde8jh91VVnFHbwgwfIgFVH63mtLfbH82qXH5aDPlI7x2N z9HI6nlUdzh06YQLCeZcwcEkAelkBMlmRht88+6YZchEgl86mnIFPwzFsdZVtWAq7eI2 ZbSSWHs+O69j2iVPDfuxUy7JApqwP4gi4YAeLt6w2aAuA7sLdcMWmnBLDF4P3WHPYjh2 G+6JpgR0tp+U2ThYLmISMQd2f2tBpuqnPtyxwm7/3X9IoJLABI6th/9n79oKD0N7zmVi 1t6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dubeyko-com.20150623.gappssmtp.com header.s=20150623 header.b=Sawr3RJ0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 l132si6914503oib.192.2019.12.25.02.01.17; Wed, 25 Dec 2019 02:01:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@dubeyko-com.20150623.gappssmtp.com header.s=20150623 header.b=Sawr3RJ0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726397AbfLYJ6w (ORCPT + 99 others); Wed, 25 Dec 2019 04:58:52 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:39109 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726106AbfLYJ6w (ORCPT ); Wed, 25 Dec 2019 04:58:52 -0500 Received: by mail-lj1-f195.google.com with SMTP id l2so22543867lja.6 for ; Wed, 25 Dec 2019 01:58:50 -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=fbauhgWH7hdRGWLJqw60fyd+FeLckn8Rhnt7kDKSKjRbGuWYNPwfyxDHq9+NFGmjet kAeFXEHOux7f89eAGZ1VVakMtrJdhlNLb2HXWVq91/Sin+mZYs6pUcCLe5BmB1f9/ZCg O5tCIZLhRMJJkTszwGUY+avaNj+qaV9vroalYmcVkH2BST0ksWtp+K5H2p9orl8MyCJm pd/ZEUCFAv5IW4u+WxW4FP3XRZvsFltaG6hHcm0DOSvf5aLx8WwrVX5llrEP92QqvUNX FHbjzKdpKUJhs/U0eUrAI6ZksHBJJG6RkA8wOSvFMnRNm6ZwVQAxRPfmkSlqa1PFCVN9 x5CQ== X-Gm-Message-State: APjAAAXjhCOsxwMxF2Ip3rjPMycTjCUxxeFi1W6ywRT4wzsyTuFjJhPQ UzMmHfRKrR4WUiDFJ6gN+GwuLA== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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.