From patchwork Fri Jan 19 12:50:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Nefedov X-Patchwork-Id: 10175195 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1218D601E7 for ; Fri, 19 Jan 2018 12:51:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0294728685 for ; Fri, 19 Jan 2018 12:51:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E923128699; Fri, 19 Jan 2018 12:51:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5B86D28685 for ; Fri, 19 Jan 2018 12:51:57 +0000 (UTC) Received: from localhost ([::1]:47350 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecW9E-00086h-F8 for patchwork-qemu-devel@patchwork.kernel.org; Fri, 19 Jan 2018 07:51:56 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecW7o-0006lV-3L for qemu-devel@nongnu.org; Fri, 19 Jan 2018 07:50:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ecW7l-00036a-BQ for qemu-devel@nongnu.org; Fri, 19 Jan 2018 07:50:28 -0500 Received: from mail-db5eur01on072e.outbound.protection.outlook.com ([2a01:111:f400:fe02::72e]:17457 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ecW7l-000368-55; Fri, 19 Jan 2018 07:50:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=BDIxRU6I1qNtTdRgPSWJgcoFc0M+FR2FCdJRQgqPsmc=; b=aWuOAcI75iSx9wKJL/QUMlThWHUyJKj8l5dytnIDfRhRiLqgRkgdb7eITGOgK5TwJQ/qAUZYl7FXqpQWIIKAdIBuFQlkEthaIM4Df30thAJp469AdjTu9l1YkNbVsSPqF5AGVzYkRkEWZNSq1mDyC7Mb22nkIpNvXkaxnbs3ZaA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=anton.nefedov@virtuozzo.com; Received: from xantnef-ws.sw.ru (195.214.232.6) by VI1PR0801MB1999.eurprd08.prod.outlook.com (2603:10a6:800:8a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Fri, 19 Jan 2018 12:50:23 +0000 From: Anton Nefedov To: qemu-devel@nongnu.org Date: Fri, 19 Jan 2018 15:50:00 +0300 Message-Id: <1516366207-109842-2-git-send-email-anton.nefedov@virtuozzo.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516366207-109842-1-git-send-email-anton.nefedov@virtuozzo.com> References: <1516366207-109842-1-git-send-email-anton.nefedov@virtuozzo.com> MIME-Version: 1.0 X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: DB6PR0202CA0008.eurprd02.prod.outlook.com (2603:10a6:4:29::18) To VI1PR0801MB1999.eurprd08.prod.outlook.com (2603:10a6:800:8a::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: edf83017-70f7-4b36-514d-08d55f3b352f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:VI1PR0801MB1999; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0801MB1999; 3:nQN7UgVXt0jDoBf1JkO02bv21CZZGbs4CtUKbLPombUPuplXIPhQ5tBobaaXxmHWFpZ5x1CKjFNX4Cq4FYdWUEuHstcDqO4zbYTfRHpdkxaPuMpoxi14Jd2lyefo+PZtVXI5weCTzGfDJzCWbfSw9K67eTbkSp4FbcxxUxuRL9YcOdW1fz/MTNAZttJCGX/6xBqXYl7c9qSMaPjyqiC+J9tAlYQ5TDjxS0LWTsuGssBzHHCjLPUa8Xb1YigNPkgw; 25:GXxytVS/vPUh2zLfGT2BXK4ovTHZNVIelTi/wN5ECI+6oP9vaW5ny/Ucmk7nvQxbIJeyP9VGm5tft3YOm7z5x3vYUQOdXLPm66XF+yb8CPIDdPGg7uVyFnYgYi8phHYEruh1FuwURyZwYJID1TuoD8Dzv2xDkbG03wgiYcq5LxX4xB9Kg2685gourSlLs2FvUSgCJKDaIeUVRRCzXicKV2H7D43+lMIwSxjU6qTq0WtdKGecgsrdxAD9xG1WzzqzSwGmwn5+GmZLuyE6y/DKGWFfF3rFmrvZ0/5enZsRmTGBgPTJuKJ3KJ4w2VF3U7AH0ylxsyH2ely26lfvXLgNMA==; 31:W0AZzR79Mq+Xg1SGlGUELPrID51FK59OQQ920Www6T3W5rp1cMgekHlcnEIR7Alye7K4xmxHWRHCRbR4j8R/CZw2/S6+LoH+T1qnVUvMie3AXLa3IcXpAZvT+9jelkHBW1qsFOHArTqx5IU/+ob5CTs6Mlb54KMRCzbS47KAR4GkKk4ZPytDUr0EYCs9Dex44vqH79rpncYJ9L18doj8iVP8ywgWka0YAMBs7Ehm9UU= X-MS-TrafficTypeDiagnostic: VI1PR0801MB1999: X-Microsoft-Exchange-Diagnostics: 1; VI1PR0801MB1999; 20:1AaQMKkiAv82ewpC4vgPM25atk43jlCvxozw0SHHSVaANbNOmwrbDlnbUpJUgl/0VVS+5QJCuN5BCktjpuGwgDXKho3aVuxPoHOGVnNFRzbvuD4r8gzoKlqrv7VW3de63EegvhLMqyfmOmvwwpKJPwR/Z7B2imSNa6FSRHnNhy6viG4fBGqqzwsw/PGDJaYSLYDNH6k70RYA1Tuli9xkjQ64yQF9VTTklc6aKWfkGlz4TLWj0HfkGfVTgupDR2Q+Yosphx8uwunvHnoIFk2+aQsVwevIqryI87sMhSt0W9DWjEFVtn1tQ8dcM0HJPi9hAESLTuaUX6Vf6sy5W7b8yNe4xqEwE6ZHbARRGSLc7EdOtRB7URIP+YUJ0M5WUJGhMr5oOeEgrVohO01WJtXUHdRANiGalO6HUGhvuFFiXX4=; 4:U3/GecHT142cpk5INfh6+IHftlsIvf6oS9JSBIs0/q7Ee3+zDb8bJcE2gEjC2QDvXakPpxXAWUY3eYYOXOiK5J6jXY7ajkIYUlAIrtpSlWmXp6t+LOU6v6nZPc/2kQAZSElvYSRDLjEz30a53sEPCNOtDiIPADRBOFIxp5IWTFaMSLRd/j7CeqEpNa6j6KEcjAXJ0hmVe3NZu3JqmszvumjEGILbLc6y+mXO3fhH59AMfUpEgut4nNUbxNJIkBKc5hwJU8c9VL0640EuXdXroA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(3231023)(2400077)(944501161)(10201501046)(6041268)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(20161123564045)(6072148)(201708071742011); SRVR:VI1PR0801MB1999; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:VI1PR0801MB1999; X-Forefront-PRVS: 0557CBAD84 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(366004)(346002)(39850400004)(376002)(396003)(39380400002)(189003)(199004)(16586007)(5660300001)(53936002)(6666003)(6916009)(6512007)(36756003)(2950100002)(53416004)(6116002)(69596002)(105586002)(6486002)(50466002)(48376002)(2361001)(3846002)(52116002)(81166006)(106356001)(2351001)(66066001)(305945005)(47776003)(107886003)(59450400001)(7736002)(81156014)(86362001)(6506007)(478600001)(8676002)(386003)(316002)(2906002)(16526018)(76176011)(4326008)(25786009)(50226002)(68736007)(51416003)(26005)(97736004)(8936002); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0801MB1999; H:xantnef-ws.sw.ru; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0801MB1999; 23:5I2sPL4UeF0tjABunvwoH2kzV2hUij2xKmq7hCM?= =?us-ascii?Q?T5QKOAljLadRkelnveVL3hWTvpqPMj3YFu5JrX4et47nswn+EervduoWbGqJ?= =?us-ascii?Q?vu6OubJj9Avq1B43aE1vnK3fQofc/zVcMHp0FvQ7FUkBkkkW5x1SVBBIAou2?= =?us-ascii?Q?n49o2AukVFTbx1v2zJgIw9wfmxCjGcjGeRxUjFpGv0SL7sePoPhQgULjLWkU?= =?us-ascii?Q?wRiCv+e1dMMEWHSB6Ip9+g2/pUfRlRLmfxcDrDWNLdC3dOGBKxQcj6TTLcAp?= =?us-ascii?Q?LOHqIB5Nqvcl9Pa9GkURq67Br/ADoYmTC1KU9l+QMlWhxYHDdVRLBPeS9wO2?= =?us-ascii?Q?HthJ3ac9yEXiGS+fEwxEH0h6gXUueGSAg06wPuonScoGu5dtdDVX/QvVrWCd?= =?us-ascii?Q?8oBDYwtDnu8lxUa49lZnqbxkpV0WXItqiVNT217FJoiuJmA2zo8mnhD2viwq?= =?us-ascii?Q?icLpYB2Dfg0bJ1H9cQaYmTnVqab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change-CrossTenant-OriginalArrivalTime: 19 Jan 2018 12:50:23.1233 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: edf83017-70f7-4b36-514d-08d55f3b352f X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB1999 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 2a01:111:f400:fe02::72e Subject: [Qemu-devel] [PATCH v2 1/8] qapi: group BlockDeviceStats fields X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kwolf@redhat.com, Anton Nefedov , den@virtuozzo.com, qemu-block@nongnu.org, armbru@redhat.com, mreitz@redhat.com, pbonzini@redhat.com, jsnow@redhat.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Make the stat fields definition slightly more readable. Cosmetic change only. Signed-off-by: Anton Nefedov --- qapi/block-core.json | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/qapi/block-core.json b/qapi/block-core.json index e94a688..2e0665e 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -733,14 +733,26 @@ # Since: 0.14.0 ## { 'struct': 'BlockDeviceStats', - 'data': {'rd_bytes': 'int', 'wr_bytes': 'int', 'rd_operations': 'int', - 'wr_operations': 'int', 'flush_operations': 'int', + 'data': {'rd_bytes': 'int', 'wr_bytes': 'int', + + 'rd_operations': 'int', 'wr_operations': 'int', + 'flush_operations': 'int', + 'flush_total_time_ns': 'int', 'wr_total_time_ns': 'int', - 'rd_total_time_ns': 'int', 'wr_highest_offset': 'int', - 'rd_merged': 'int', 'wr_merged': 'int', '*idle_time_ns': 'int', + 'rd_total_time_ns': 'int', + + 'wr_highest_offset': 'int', + + 'rd_merged': 'int', 'wr_merged': 'int', + + '*idle_time_ns': 'int', + 'failed_rd_operations': 'int', 'failed_wr_operations': 'int', - 'failed_flush_operations': 'int', 'invalid_rd_operations': 'int', - 'invalid_wr_operations': 'int', 'invalid_flush_operations': 'int', + 'failed_flush_operations': 'int', + + 'invalid_rd_operations': 'int', 'invalid_wr_operations': 'int', + 'invalid_flush_operations': 'int', + 'account_invalid': 'bool', 'account_failed': 'bool', 'timed_stats': ['BlockDeviceTimedStats'] } }