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=-10.4 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable 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 B10E4C56201 for ; Tue, 27 Oct 2020 18:11:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5DE6F20723 for ; Tue, 27 Oct 2020 18:11:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=toxicpanda-com.20150623.gappssmtp.com header.i=@toxicpanda-com.20150623.gappssmtp.com header.b="z4qApQkf" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1825420AbgJ0SLf (ORCPT ); Tue, 27 Oct 2020 14:11:35 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:33888 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1825415AbgJ0SLC (ORCPT ); Tue, 27 Oct 2020 14:11:02 -0400 Received: by mail-qt1-f195.google.com with SMTP id h12so1711653qtu.1 for ; Tue, 27 Oct 2020 11:11:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toxicpanda-com.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=/dpwqPuJKVc4PuSdGfhLa6ddfo/1kSUn/kVHSfMrWNQ=; b=z4qApQkflA4Zvage2l4skqB/aYmQNJ+ILyDeWcbIffpgM38Z3/euK5CCLUZ+gJoqFW zFIcjbVPUNqetEz59BouZ4JTfvu93GTVBkL8RIuJ2uoHprcwxJVNWqt3kDX+tY+KnHNw 1dvLz7PtTJIYBRx/RvfRJD5iQSRhMhN+jvSYRqXKYegYRxBpK3VBWXY1yLxThecpyYzk qSlIFotCQJTFFEvCdY0IecCuX5oYwN3IPrkHTQB96JyvlPSGf3TMAq3ZVjD8XGS8KAQo DBUh5jexsNwwu6etuNggJDt1BN8iVePsiGNfAi+KYPcWkX6BRjyZkf4ajfhjBNPSip0X Vnrw== 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=/dpwqPuJKVc4PuSdGfhLa6ddfo/1kSUn/kVHSfMrWNQ=; b=lfnEtRNGWYFUhO9usSZXzg6EZ6kvx/9P/17BoIlj3h2tGCTUpZRFZJs6rT/Kutlw73 qT0DxQLXYGClyei47KCnV8hRjaYfGfTf5m8XlAkfZ1t7H17+dIef0mJyssuWikfbAFHF VMZm7c4rQl7QT4W3i5/9LOfneeJUrnnz8nKDjAG9N7ywvrt1j3oxbF6UMmq5syYXZFgf B24U0+vWDdXpbkO6SykHBFTqpzU2DN1Fg+NcZS+MpsbKuktWbiF9yzszVyqrnVlTIH3h ynarWYgzQFHQF+Yhvs1iBNIc8+qTYrf04SY88/11oJZZLErn9itnI+h2Ij1uZa3RxE14 P87Q== X-Gm-Message-State: AOAM533xnxdaXvs9I2W0okJRHbNKeVG8txoNL/aV/0AjWzc+l3U9b0kt T0P46Q7uV0g2ecrZJk/xr0XAdA== X-Google-Smtp-Source: ABdhPJyD6rYmpEwDZjRbmHthki4s/f3ww3q4WEkDV2z83ZzS4JkYq5EscyWBc8YBsGtjKpeAdGKpsA== X-Received: by 2002:ac8:3a64:: with SMTP id w91mr3443174qte.86.1603822261170; Tue, 27 Oct 2020 11:11:01 -0700 (PDT) Received: from [192.168.1.45] (cpe-174-109-172-136.nc.res.rr.com. [174.109.172.136]) by smtp.gmail.com with ESMTPSA id c12sm1339419qtp.14.2020.10.27.11.11.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Oct 2020 11:11:00 -0700 (PDT) Subject: Re: [PATCH RFC 2/7] block: export part_stat_read_inflight To: Anand Jain , linux-btrfs@vger.kernel.org Cc: linux-block@vger.kernel.org References: <187d1f02f82019d48f66c97c0d1b99c9a58cd553.1603751876.git.anand.jain@oracle.com> From: Josef Bacik Message-ID: <7e98c923-d484-d05e-b5de-4eb85114ba4d@toxicpanda.com> Date: Tue, 27 Oct 2020 14:10:59 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <187d1f02f82019d48f66c97c0d1b99c9a58cd553.1603751876.git.anand.jain@oracle.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On 10/26/20 7:55 PM, Anand Jain wrote: > The exported function part_in_flight() returns commands in-flight in the > given block device. > > Cc: linux-block@vger.kernel.org > Signed-off-by: Anand Jain This is much more internal to block and I'd rather not rely on it, I feel like getting the average latency is good enough. Thanks, Josef