Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp9337667ybl; Wed, 25 Dec 2019 19:40:28 -0800 (PST) X-Google-Smtp-Source: APXvYqzC5T0IJmy/EPGug9DIdZ9SVJZTJYlssUAKTVm4zlR9RRescJ/sWnmtzeDitrjWblWuf7ZT X-Received: by 2002:a05:6830:20d3:: with SMTP id z19mr45183474otq.330.1577331628594; Wed, 25 Dec 2019 19:40:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577331628; cv=none; d=google.com; s=arc-20160816; b=qgNg/RzVGy3qiU8dYM/vrMPYoND4pE+cKq/URkKrmlTfJIxx2TuOghTxgUb6+LExWP Gpo3JpsvNXx0SoKsObN+msZ3TOl1QSRLO8mIQsWWjaSBJOk7jCiPhIdK/n16On6UhDnv eBstfXZfFsakJvOrwlzoWQI4Iz903Wn/rpcC9cFsPqYwCzA87n/wJsgk1DrsfHNj29ms mAenyhgKcc/yuBAqOwZx3+MO+uJBDPgRALii4Ftz1OC0chjL+xjyIRj4Uk4oD7gSTrTF 4o+s58lhL53YUH0bHm5o3yLEIRcbNbiSUtxtJ1eKtKDR6ROIrxoOrns/rCMJjOydksDc psqQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=2LoNnrg8/MyU7ECXfmG6IB7BzK3+XYl9Hp6H8NLt4zM=; b=Y3zlkKmzbSb6A4NgtdLx9mrFuZsiLwGDolbost8ySDkugOXAIWzVs+v9thjdpD6KpQ ueLhCeID+k9xqrItTy4eES8yVTyIZ3iB50C3uIyrW41V055LOrZGdFoxoj8okHNyo3nk DOienXj/hYO92HEzPOI1cHZtaYZzhk5LXMQGE/2vs/Q2S2LansibhRJliAcVlvyF/W2C DFsSdecxuUHzYqTLlEYHWvtbaJH6GYo1N1CJ323LhviAIiDxhTCocke1013ja15SOOWt PIHRCIj1fKBL2XVYvr6eUZFKOJJ+ioKVrFkuinmiOK7tZs8hPk41+teoijsyWgY4RRk2 e2QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b="06/uzh3F"; 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 t7si15913512otl.133.2019.12.25.19.40.16; Wed, 25 Dec 2019 19:40:28 -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=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b="06/uzh3F"; 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 S1726976AbfLZDjf (ORCPT + 99 others); Wed, 25 Dec 2019 22:39:35 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:33317 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726911AbfLZDjf (ORCPT ); Wed, 25 Dec 2019 22:39:35 -0500 Received: by mail-pf1-f196.google.com with SMTP id z16so12615947pfk.0 for ; Wed, 25 Dec 2019 19:39:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=2LoNnrg8/MyU7ECXfmG6IB7BzK3+XYl9Hp6H8NLt4zM=; b=06/uzh3FNHZ73GGwKi0y/+9z5AlflDyf/bnCPO81hytsOKHWWLzyf0GfQ/LkCthGvU eAJsYCUeGfOO55GZbld5E9OzKBMGt/6zOTqsa6AKle4axSerM0R3kgSk1Hnxtm5bq4ZK inKAj4NtEsgrXxrn1IhGT0eewjcjtznSILKy9G57MkTpMcqLCFBKKEcFyIB4mzv457na FKyzGN+/F/EfM2VmgT9L+4wk3nz9ghBud/l5OUNnpsin+VSXmmULizET1olmaMNIFM+O JfHQRhtpAGSgT0DJ+8Sx8WLgYCb+xNfIkfhgSP4gJeFsPKOhW+ryuw2wvB8WSChojGBr THSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=2LoNnrg8/MyU7ECXfmG6IB7BzK3+XYl9Hp6H8NLt4zM=; b=gI5pAhNNcT4QvbYfyYAfr3qSmDivnSNlNgzzY4QG46V7DheARTeZOMAg5fTHRU+j1m yivm8pJ6y4yAsUgU1tVJTUwAR8kifdxOiejDzQ0jjePMogcZ9KwSGSZVssGiprH0pKjB AK/zziT1YYBLjN0F8S9hz5Sv5zIKl5iETJV74jh8S3jbaz40yTYkBFon2co5/t0q89HK aNm61CfQhRk9Q1JV0+hdwWlQ7oK5ezC5Bg0Cc0M990Thl2rm9pIjv6JRNVdAeT9Y+T+S NV97GkOJ2RLTkc6nZg7H/3ycCHiNDVvThFqEKsC9x42WY7uygbkTsxibrtApwUczF456 3VQQ== X-Gm-Message-State: APjAAAUJV0pm6Q/uG2ViexpwX1NCGYXD1bBPC+NcqusRb3XErNFFsMOg BC+HsX4Hw0vvnn81pf02TIAiww1dUYzsQg== X-Received: by 2002:a63:4e0e:: with SMTP id c14mr46160249pgb.237.1577331573938; Wed, 25 Dec 2019 19:39:33 -0800 (PST) Received: from [192.168.1.188] ([66.219.217.145]) by smtp.gmail.com with ESMTPSA id o134sm29031425pfg.137.2019.12.25.19.39.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Dec 2019 19:39:33 -0800 (PST) Subject: Re: [PATCH v2] block: make the io_ticks counter more accurate To: Wen Yang Cc: Joseph Qi , xlpang@linux.alibaba.com, Mikulas Patocka , Mike Snitzer , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org References: <20191226031014.58970-1-wenyang@linux.alibaba.com> From: Jens Axboe Message-ID: <41175786-8a02-62e0-fc79-955ec0e74aeb@kernel.dk> Date: Wed, 25 Dec 2019 20:39:31 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20191226031014.58970-1-wenyang@linux.alibaba.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/25/19 8:10 PM, Wen Yang wrote: > Instead of the jiffies, we should update the io_ticks counter > with the passed in parameter 'now'. I'm still missing some justification for this. What exactly is this patch trying to solve or improve? Your commit message says "we should", but why? -- Jens Axboe