Message ID | 1501518125-29851-10-git-send-email-anton.nefedov@virtuozzo.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> 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 405DE60365 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 31 Jul 2017 16:30:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2C3F228533 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 31 Jul 2017 16:30:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 20E472851E; Mon, 31 Jul 2017 16:30:37 +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 488A428537 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 31 Jul 2017 16:30:35 +0000 (UTC) Received: from localhost ([::1]:60547 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1dcDaV-0002Bw-4f for patchwork-qemu-devel@patchwork.kernel.org; Mon, 31 Jul 2017 12:30:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <anton.nefedov@virtuozzo.com>) id 1dcDSq-0004uF-JH for qemu-devel@nongnu.org; Mon, 31 Jul 2017 12:22:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <anton.nefedov@virtuozzo.com>) id 1dcDSo-0005Uf-35 for qemu-devel@nongnu.org; Mon, 31 Jul 2017 12:22:40 -0400 Received: from mail-eopbgr10091.outbound.protection.outlook.com ([40.107.1.91]:58624 helo=EUR02-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <anton.nefedov@virtuozzo.com>) id 1dcDSn-0005RO-KZ; Mon, 31 Jul 2017 12:22:38 -0400 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=vGWI/x95f3GbO7GRFfnyWCo/MtrhMHxH12AcG7Ohl/4=; b=NxpQuN4oUNcIyBUmksI/K+QbX3aEhzIo570lzGmIL8SRdKah/IVtzYxCFk/jsX9jKlXf2C6G30ts3QFTpa9HRMJFXl77/ISd2A6sobcxElfWkuCoOk43PVTirRNrOcr98BJQmiy13dJFRR0IsG2oqDIjb6TOd7dXXC9s+dltwKQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=anton.nefedov@virtuozzo.com; Received: from xantnef-ws.sw.ru (195.214.232.6) by AM5PR0801MB1987.eurprd08.prod.outlook.com (2603:10a6:203:4b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1304.22; Mon, 31 Jul 2017 16:22:33 +0000 From: Anton Nefedov <anton.nefedov@virtuozzo.com> To: qemu-devel@nongnu.org Date: Mon, 31 Jul 2017 19:22:01 +0300 Message-Id: <1501518125-29851-10-git-send-email-anton.nefedov@virtuozzo.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1501518125-29851-1-git-send-email-anton.nefedov@virtuozzo.com> References: <1501518125-29851-1-git-send-email-anton.nefedov@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: VI1PR08CA0217.eurprd08.prod.outlook.com (2603:10a6:802:15::26) To AM5PR0801MB1987.eurprd08.prod.outlook.com (2603:10a6:203:4b::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4050dc6f-a548-412e-677c-08d4d83059ed X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:AM5PR0801MB1987; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1987; 3:sk4wnqmLuWHmvTdM7t9stXbtI42wmRyIPOnkfinyGHncRU9x4R2iwNflBx9WXEANmmraJ5CjMU9pMcCK9TJrer0WP3aKYfRKCD8wzQluDv9ZQ9XEzhqI5YnL1aUeuMKlruvWm78J+Du6+5KEgU0V/mptIqVBLT+C6WACQfS2uzxlQzUUGSLkyK3HIj66y+bXY5MlNxUht3fRyyuPzRTYV0MLATx216MjeVpzXVBe/gNUV15KzJOa0kobUH7WPPk2ynA9CN8009sw+tHTMVDQ3/meH8p5RoEGtdi6gCkCu+VSJeUAJLWGqR0fuY5POtRG5r5F6Bhf26JXL8oONnJQzIbmzn42hGNPsDKFCfuPC1nXPB4Ej11pY7qSk1qRzDK8WmeoP0TK7zI5yb+L5I9Kkiv7MzEHybYll0apDlSyvYV3vdi7hXoReAvkqh1RaVAe344H5LLZZRLhrr8bo+RsWnSJQUvnYbWk7XCAr0elfw0wglzLxVwNLWa34+EIv7u9VWJInXP4OwqJYxcQTNvjcUWKsuDkVeE4o84i7WHGKPVZ8V/Kbl+53C8W+007sy8HqItVYGKSj/wA5w/JseUmgnCo54gi0cEHRAAU32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L4pOSO3lVIUXWN9DnFGQTHy8xdbEIchV8Tp7d2+fWEH8RImlrq9iHksMEbzMvel4kd93Z6WFbrBIcu3diIjBcsKyI5t1lgblyADmpXzOCb4ertVGufUReWXOFi7Zt14XhDYqM4qQ8uQEvNeSNM0s79tAp0wv5/IxJVIoKSe9VYwNI9ndtsatd4DQ+Y1jfizds1S9GrT8ZuZSSmuPNMXkNIUt8tMLBAc19+0ksqGdI+sjBoRxb2uvX+dZnf/Rek9lNu1+0MeX4z8bGuy8/nKW1rk= X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: <AM5PR0801MB198790F851262CA4D9D2C035F8B20@AM5PR0801MB1987.eurprd08.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6041248)(20161123558100)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM5PR0801MB1987; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM5PR0801MB1987; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM5PR0801MB1987; 4:U3FfVHNNElt727Uj7dNRREkkio41Zdu5FMAiA4vU?= =?us-ascii?Q?rZ/GqFqZHC4YDAjkDWrFsxXeMTkSt2U/fQ9R8sdDGTFGVisqyi0uRm6QZ4ct?= =?us-ascii?Q?Zg+GEnuM24WZEJYxDwC/7fcuy9IU4dLGKd/lBUla6a049c8Vg21KytRd41W4?= =?us-ascii?Q?XtcnfGK9q6LtEQxwvlYBszzshYNyW3GzcAhUI8rQt3NQAbieFnJcov+kMB07?= =?us-asc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ThsoohT?= =?us-ascii?Q?ebNmJ31AkdRyYWzOJDUm91lBDkpfQTjI?= X-Forefront-PRVS: 03853D523D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(7370300001)(4630300001)(979002)(6009001)(39400400002)(39410400002)(39840400002)(39450400003)(199003)(189002)(5003940100001)(66066001)(47776003)(81166006)(53936002)(48376002)(101416001)(81156014)(50466002)(6506006)(36756003)(8676002)(305945005)(2950100002)(69596002)(189998001)(6486002)(4326008)(7350300001)(6666003)(2906002)(97736004)(50226002)(107886003)(110136004)(38730400002)(105586002)(25786009)(106356001)(53416004)(478600001)(6916009)(68736007)(2351001)(42186005)(2361001)(86362001)(7736002)(33646002)(76176999)(50986999)(3846002)(6116002)(5660300001)(6512007)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM5PR0801MB1987; H:xantnef-ws.sw.ru; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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; AM5PR0801MB1987; 23:f+7MfTA6++y33qkFb1B1/GbTR556kOXWIjCNlbR?= =?us-ascii?Q?xNHZSN0J6PXTG9as0FlGFtCgtnjSw+hgxocU0PEzqhrZlZnFgFSmNmHY1TA8?= =?us-ascii?Q?0drbu6Pqp81g36a7SYLoVN3lO/vS8Bn7sRNgNT1NxXu+tZ836uhbfSN58c6B?= =?us-ascii?Q?/c9ZhV1Fj0+xBvKzZi+If9TOO1NOvcXxonDllmbgPQy0ymTApSB6TuBsItqG?= =?us-ascii?Q?lzSFMXxwYOUEFIcxJf46ZkK7vjJDyrlJQMc3M2hzh/jMipFfWkGMNAP/dnor?= =?us-ascii?Q?+Kd2BZcgrbXvfgD+qMp+qrE/hpNBSVMhdOAIYMy2EbRpKmjGwlu5d/YjJV0m?= =?us-ascii?Q?25WrOVPmIIxt//RYRSWQ0eVWzmd+SbW1g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BqXAY9bZblN9b3bcGKerYdUhvrOcUFI4JILJQMSze00u6EH9PcX?= =?us-ascii?Q?YNVYCYAxvLTYwtL+mzwsRX8tlRHsMc2VKweuwd6Hd2tD+o5X8mq4X2KF3Gqd?= =?us-ascii?Q?Mp4/3vfuFQFlkGz0jhJGvgW9LQB7vsZF8OPpTzafo1iSW+QgwNgmeUj+W2lB?= =?us-ascii?Q?16UURlVkfFQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM5PR0801MB1987; 6:QKAXjYNpFE33DEKtTtIA3n7aTsZ4JHuJeDPnFnPu?= =?us-ascii?Q?tsCywpNBWGn+s6eMKiUWcCGZeB0zmZMVife6B42yMlsMOomrnKx7a0qpEF99?= =?us-ascii?Q?lt8W4WfPtz8ibDUlShc2NETxTt2TuWN+64UNt5quyhZxL+dcTr1TzFU/CkqX?= =?us-ascii?Q?IvJXJcvedIHMiiH6isW2HyB6sVaRsHz40P+4bT9KpIyASNu8JOH7RnBObQOX?= =?us-ascii?Q?16CLlrMaQWBds9EX7yizXegADuUCtbesai5Tca6IRaFSuNkNUt0N7Z6r5gwU?= =?us-ascii?Q?Yoj1Hzxv+vpyuXPLTc4v11kmzlVE/DvZCvh75jk4G8VwlrrUuxTnLePOJQSE?= =?us-ascii?Q?tkYnooE2cHhsLQwMX9ANd3RI3jcoA41QyzCwnk+trwQVWK3hA2oRtAW0MEIV?= =?us-ascii?Q?euVj/8AOoZa1WqfXCXhMBCLtJZMzKvGrsqkcGBQe85W598Aqsfe+DtexTmZO?= =?us-ascii?Q?8wNUI82La99oS4jmgNOTzIPRjI4cBbjfyHm86JxmEsL692mD5+SYpgWBalVM?= =?us-ascii?Q?YS3M5G+S94mlm5Xgr6dCxBHNAsf28+8+xUrwx6TX7TSMF5i8t4V94Cmei4j4?= =?us-ascii?Q?glVLeEiqLGbh2ZU28xUOUws/kkL0A9wZ5ulOd+U8VhKAb0loTAkITPTae6If?= =?us-ascii?Q?qf+db7v9AhZyR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u19VjJQH0pDnuYq3kc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1987; 7:DnjMf/jjJwvsFICZCd4q9AZ3p4roWzDxBntYJLZ3Xt3H4WN5Tf+T9D1DVUMeDicSo0ZYLyYJRv2m56MXSOqlfdBc2cG/IttwwqejrdJjl94yRI0n0xSHM5YNsSmGmpTvkw7WDRIztN+ax5Ez6vUVvUgFwPcJWShhj0RaKseTnHwj6HC+xcvmq18yyzBcLfJwlxptBlzdQ7RgvKboIQzCrSv8FkTB+gseA5FTQmnaElfmn0oFy+0i2ua9gLQQ3BQlsDXNJv3FHZcUGjQeHC5eMctX3cxXvDxCcQJcR42klE33R2h38GgTtvGffQQ+ALrIaxvaZ24Cf6oX5mYHKl2vhsg5FmraC964h+giToEPsaD0nSuJroCmmB/4QYey7aqj6dZ13CxYq6Gt2T+4iJx5+8MoGSisunloKs0gFbrzR3iAhhStCpd+X5BYQ4HpQ7QvELPRmgBu2MxrlHo3UCTZ2fd/Pgmy/mUvoMMq5F51IxcCyf/CslnTigY1ZIJabBQv1daY62h83rCN59bodcId7aqj8b4oODNeUK1MX3Va4tUS6IZmnO4guLyEb9GsrCV/eAiQoxNhtnDVG8UGcL4NNDdfdxlt+xUMZtMsrmOz/J5B4Cf20Q8soh5aehFEn8ezIr5cnOMwolb9aaa6TXXduWvZtJ0Okn9KP4/laIO8Xq3nYVyqFvVf8dY877akz7I6J1YkHemBER5awMiYNFCEYGKEDhWANWR8gvZzqfHKhDTxTvYB3ej5bGVxcLq0qjiNz1/6TqSlMj1y1uNADmXsF0wFq//qgRjEsZ5MOSXvFig= X-Microsoft-Exchange-Diagnostics: 1; AM5PR0801MB1987; 20:TXJczX4TH6GzOckrZ2KKgiuq2DY0405L4O9D/XTQ/IyEu8QaNN+Ib/8CAtWL1AcBPE1E1BQoovkKAadhGLtdnkT1TpLo//NPu0i1pUnK9dHZ23s0/EemU1nAWlrUfWPsvkuLK1Aihscs9X9mqQgq/5tRq0BxtSSPl3MQHsmcSDA= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2017 16:22:33.7343 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0801MB1987 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 40.107.1.91 Subject: [Qemu-devel] [PATCH v3 09/13] qcow2: move is_zero_sectors() up X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: kwolf@redhat.com, Anton Nefedov <anton.nefedov@virtuozzo.com>, den@virtuozzo.com, qemu-block@nongnu.org, mreitz@redhat.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
On 07/31/2017 11:22 AM, Anton Nefedov wrote: > To be used in the following commit without a forward declaration. > > Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com> > --- > block/qcow2.c | 39 +++++++++++++++++++-------------------- > 1 file changed, 19 insertions(+), 20 deletions(-) This conflicts with my byte-based block status work; do you want to rebase on top of my posts?
On 07/31/2017 10:13 PM, Eric Blake wrote: > On 07/31/2017 11:22 AM, Anton Nefedov wrote: >> To be used in the following commit without a forward declaration. >> >> Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com> >> --- >> block/qcow2.c | 39 +++++++++++++++++++-------------------- >> 1 file changed, 19 insertions(+), 20 deletions(-) > > This conflicts with my byte-based block status work; do you want to > rebase on top of my posts? > sure! will send the v4 soon /Anton
diff --git a/block/qcow2.c b/block/qcow2.c index 0f4de40..5c7c2b5 100644 --- a/block/qcow2.c +++ b/block/qcow2.c @@ -1943,6 +1943,25 @@ static bool merge_cow(uint64_t offset, unsigned bytes, return false; } +static bool is_zero_sectors(BlockDriverState *bs, int64_t start, + uint32_t count) +{ + int nr; + BlockDriverState *file; + int64_t res; + + if (start + count > bs->total_sectors) { + count = bs->total_sectors - start; + } + + if (!count) { + return true; + } + res = bdrv_get_block_status_above(bs, NULL, start, count, + &nr, &file); + return res >= 0 && (res & BDRV_BLOCK_ZERO) && nr == count; +} + /* * If the specified area is beyond EOF, allocates it + prealloc_size * bytes ahead. @@ -3086,26 +3105,6 @@ finish: return ret; } - -static bool is_zero_sectors(BlockDriverState *bs, int64_t start, - uint32_t count) -{ - int nr; - BlockDriverState *file; - int64_t res; - - if (start + count > bs->total_sectors) { - count = bs->total_sectors - start; - } - - if (!count) { - return true; - } - res = bdrv_get_block_status_above(bs, NULL, start, count, - &nr, &file); - return res >= 0 && (res & BDRV_BLOCK_ZERO) && nr == count; -} - static coroutine_fn int qcow2_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int bytes, BdrvRequestFlags flags) {
To be used in the following commit without a forward declaration. Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com> --- block/qcow2.c | 39 +++++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 20 deletions(-)