From patchwork Tue Aug 1 14:19:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Nefedov X-Patchwork-Id: 9874753 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 5179860361 for ; Tue, 1 Aug 2017 14:23:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4382F223A5 for ; Tue, 1 Aug 2017 14:23:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 37B1A274B4; Tue, 1 Aug 2017 14:23:44 +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 A78A7223A5 for ; Tue, 1 Aug 2017 14:23:43 +0000 (UTC) Received: from localhost ([::1]:42854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcY5G-0002vc-PL for patchwork-qemu-devel@patchwork.kernel.org; Tue, 01 Aug 2017 10:23:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcY1G-0000OC-Co for qemu-devel@nongnu.org; Tue, 01 Aug 2017 10:19:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcY1F-0002Qc-DW for qemu-devel@nongnu.org; Tue, 01 Aug 2017 10:19:34 -0400 Received: from mail-he1eur01on0108.outbound.protection.outlook.com ([104.47.0.108]:54560 helo=EUR01-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 ) id 1dcY1F-0002MM-5y; Tue, 01 Aug 2017 10:19:33 -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=OZEfgvAYrTtDxEVkignv+ZS7eRR+cUbZcimEMs9pswg=; b=WBPepv3e8Xzk09nSy9eX0s14lyLtglTxODUiRZl7sNX2o0IxgO+iPxJGZ1HhU0wp0G/rtBlOxGWsUZbsC/JgN0boZIxLUoUutvsq3sb236AQMzsu5/j4ZTp56RiFVGQK43yZiM5JezDRrc08HmOQ/wkpjRV+8XzH63sIU0h31t8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=anton.nefedov@virtuozzo.com; Received: from xantnef-ws.sw.ru (195.214.232.6) by HE1PR0801MB1996.eurprd08.prod.outlook.com (2603:10a6:3:50::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1304.22; Tue, 1 Aug 2017 14:19:29 +0000 From: Anton Nefedov To: qemu-devel@nongnu.org Date: Tue, 1 Aug 2017 17:19:03 +0300 Message-Id: <1501597152-25342-7-git-send-email-anton.nefedov@virtuozzo.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1501597152-25342-1-git-send-email-anton.nefedov@virtuozzo.com> References: <1501597152-25342-1-git-send-email-anton.nefedov@virtuozzo.com> MIME-Version: 1.0 X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: HE1PR0202CA0002.eurprd02.prod.outlook.com (2603:10a6:3:8c::12) To HE1PR0801MB1996.eurprd08.prod.outlook.com (2603:10a6:3:50::9) X-MS-Office365-Filtering-Correlation-Id: 6b8a9407-035b-4b9d-3e1a-08d4d8e852cd 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:HE1PR0801MB1996; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB1996; 3:dkCTEtATwKaX9vI+n3Cp/FtTH5PEeBP9XfDp5g+XYC9WkifldqfVYXVUXirqCQPJhSctd/BxXze4YHvw+E+2toWqz27uWlcL3t+UqIwFdv+32qLmF2GSiWw+Od/Ouw+5FqnHG4ZWcmCfFOSTyzohdlkYJWUbTJMk58z2rob/Gc+YeJ/COKSM3Qv5OTaN/m2HRcSOhgB91LExvKLKrXhBVJcuql7nF9zFulXYrvFI1Pdb7WAFD36Pfo9LbM6eeq5uJIuXJt3wruAKTICPPYokpwMp0X2ZorRHhi60eKT46w4MOTn5q/aCbG98F+j91zEsszzoPI9bZpeV2nJLMZRWUa2f6xPIQ0HaDAP7mVNwEzVcQdMtgDfnPY+dzIZi2pQazf0tm879LHhcfJYC+o7yhmu4+0p5iLfn3DLudBSNnNDdbTg/TiSWZxm1vRSSsYi2hrGsevxMPcoHgcbutOMp2e+3/bvJk2Y2Y3NRAR/s3vFB7sMybDaGXJbSM/6HSD1wDiUEa2g4mK1vON7w0wmEQvZmnbFWU9gqYE6zHLMRNXOdprUFt4MWMlb7biPhy7Gd+fA5A+I62yDkalwcaGvCEfX8+H7F0xis3NM6Y9G5rozLsta72tIwwTBP9fYfV3WHQR3091w8qFUijdSHHoOXyHpjwp6DTUaERS9DPtKuht70jaLLgcmBqAyTmLBUd2eYWmrX+Bd2fQXPMGoC/2IFztq3XFH/8c8syOIw3iIsDAV3acPHG+uCENhHx0Z1KqCNFscSuAA6yDaCPM+eoZTzFq7H/v5Xi0J259FCBDsbm2FDDktqYb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YJLeyFC/Y0HreVnb3U86dnNJN4FnrVwk2obaEwcmrXK9/xRemVRdDXVm7Hwt6D8d85y7k5wsA27KQgXPura6HfpJodHv71mU= X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(100000703101)(100105400095)(3002001)(10201501046)(6041248)(20161123555025)(20161123558100)(20161123562025)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR0801MB1996; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR0801MB1996; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0801MB1996; 4:RoAe8MR73QuofyOKLGCRLisqJhKf9A+Wf/rAif4l?= =?us-ascii?Q?3+DXaySYPUXk8GtYlsTmxmbRne6NlmukxVcfXN9+le1BAAr9en3nJ3EVyNc0?= =?us-ascii?Q?vxVG3WMl1LrcvOck7XXeD85kuM4RdTLYP2QiVj7R9bzhpFIQBPJc0TkYMbLp?= =?us-ascii?Q?r/9hbH7/9WpiVucEG+R4jRFETW56wCWJOJzbCJjcVCNgRmmJ+hqZsKtcOdtk?= =?us-ascii?Q?BNofbf4yCY0jp01/Z7lHToMrtFqLZp3gDP1EtFTAwf2ATs5xv60ARpIRWUkl?= =?us-ascii?Q?617oY2ZsOEbox0EU3UfMloLqyOyuAfVegjo4JWvX1yIS09FUMWGSywdpE/VN?= =?us-ascii?Q?AVN4fIgwO9x4YKbNlXfm7v1tAsRrGV7WS39T4hIf2O+BGw4rxmzvocS99gSl?= =?us-ascii?Q?x3EEnisYtuqJykGz8k+IsVy0RQO3AFBFdpyxSCYGwa/iJgLW3nR8KN+hSK/w?= =?us-ascii?Q?8ZWObNTI5qTEpHCXJG4HbD2kt7q7REZb2kuvlHTVGxXgkuHop5rd1Ln99HKw?= =?us-ascii?Q?QDdvCVhqb9TVLopQVCH/BpIoAvhuTiz4HdO54I6FYjYjn+tRIhxpqQ+jSuFO?= =?us-ascii?Q?R9GQfCFIK1LxJDHWNw3g4p89xmphP9irJfyhLgpZYzkDJ3KyLQyR5DeSlz8+?= =?us-ascii?Q?9N1WAsI44NTuHXr0wXQlKURbFE5WJESgFFvjXSPH5h5DIthLQ4l1G7pA5ITv?= =?us-ascii?Q?hrPnQgb45Y1r9Nd/PmN/IRHnZQ/Y2v3EArARy6LhS3tYaTeZUW7nrAQLBifd?= =?us-ascii?Q?h/BZ0gZJANlXOIhHDZPXiZJaneFUUpIRQUZq2+FfOXaXYmIGzKWgGt9jJbsA?= =?us-ascii?Q?7e7XobRB+gIxcrn5yPsGyQ0JORLOiJDWFNYC8gwT75kH44BvoHJR/Fv1caey?= =?us-ascii?Q?WXVKmKObhqh+J1Hf8X6h2U8kyTMVmv+9t4VsQBREKfV/A/jb25z1BZ8w8GCb?= =?us-ascii?Q?4CeS3H+bcSRVQ5vWZh5xsZu+kT34nslDiFU6EQNzGIGjN6E5NAbsb42vlzao?= =?us-ascii?Q?c7fFWA6qOJo2Sqh12m+n8uUZ5OY60sSbX03aDP7NZEpXkQuhjh5bgKdIJumB?= =?us-ascii?Q?INwFwl1iBg6V0ansL3ilXm2CbTlkyRL+WYMxH+B09SW1a+KiBrP7rYIWUSad?= =?us-ascii?Q?iN664cTgjMr7n/9JJ0RU/qKCovcz/dn0?= X-Forefront-PRVS: 0386B406AA X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(7370300001)(6009001)(39840400002)(39450400003)(39400400002)(39410400002)(189002)(199003)(81166006)(53416004)(42186005)(7350300001)(2351001)(106356001)(2361001)(105586002)(33646002)(25786009)(50466002)(7736002)(38730400002)(189998001)(305945005)(97736004)(48376002)(6512007)(107886003)(53936002)(86362001)(5003940100001)(110136004)(66066001)(6666003)(6486002)(2950100002)(6916009)(50986999)(76176999)(4326008)(68736007)(478600001)(101416001)(8676002)(6506006)(81156014)(2906002)(36756003)(5660300001)(3846002)(6116002)(50226002)(47776003)(69596002); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0801MB1996; 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; HE1PR0801MB1996; 23:fZ5M0dxxd8eBMA6Sumzavil4EXsVaJopliJlw6m?= =?us-ascii?Q?rt5aBr3UIKJKOW3ZtxU+oZaAQZDg9ki02fXVgc85h/MyjotsKdxQNuVEE3Om?= =?us-ascii?Q?lWJ0rzeaUlqSdlRn8J/0jqCgksoKBzis/gkTBE53YvI5QyZaCYZiV/tMJJw6?= =?us-ascii?Q?kQaYKlbBV6dvvGdyBx3IQKDXtwD3A3kIdoFINhWvvCPMmIyUSFckaX8JeW1z?= =?us-ascii?Q?mOkz9WRnIAWrSklOwkgvYa9igWok4eNZEavP7ZwoAXcZqr/sglGQAmDskW1w?= =?us-ascii?Q?5b3QQbcFv/tgNgN2i+r0kPKy6kYV+5CILfENf3YbRN9fIclnG4C2uChVohC2?= =?us-ascii?Q?7llhL0zwXt0ZbQbC4nxrkNeE4Ok4gZLkcRgm4ELX3hGrV7ch9d8oEIcQgR3A?= =?us-ascii?Q?VVzDXc4hrFACCCeVji2Q3qxVuVoCWFACDJAVznVM+u2/T55MiKZBS4YFQlgY?= =?us-ascii?Q?QF63M6yrX9C1iQP2Y5QYJtVFqMRf9ffM+wxIPwpfFN8bHXKNT276v6/prG7K?= =?us-ascii?Q?XMYpWR+IOV3MzMxl/6+xCVmWjdPJ61kRCOo1cMj6uXXiHmSs+g8YvIZE7S20?= =?us-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hJItviVlaD09xncGNcYU38wLffbTm4j3/eJMkWZPEOwPgMUv/8/i5FOw/jM7/ZRZTXamg95kDwULdTtTiZuxwT5rr8tKFhsUndhNbci6rmfBdFMo9iCu+eTihYhvr1Gtdz0gefXq4V8hdMPgwWWio6zV8PQZlbrBfQ3orQapfeuKqD2cxm4GbsOEeevRJysZyYpjm7FZWhpovof2rc/LYEQKy7adL//VpMyN9H8YcK6d0QQEUypFPLyVf7gPPwvGIYQHtU4ckXyEipp+AfOeMJKXaWtSfcYiDsU8JPB5CDElSEaLczASi3uybC36dxuVAif+M7KaRYKPHOJSqtf9vUHTDyuctvR4bJFKgoNFY1HTwKeSH8i+ftg54koniX7fpvSeOft8z5McuUtHWwCXA/ZIKydCbwX9FG/kZUUwSpj6kgb7txQRTsjjRi83il5A3MN1kWigdFmSXyJRdq5II0taJkYVbodfgUFx89b39IFajUeblesHHMifeYenFvm6MOo7kpZlzfGbvKWZEgtqGtE= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB1996; 20:cWbwjPcanT5GHvTQhVbCVyhkjZZwhDvH7WQR3ltESz4BzqB+837wDaRDxjJYgS/HAMq3hwunxRojwJJen1Ez+f7wfloOAMbQhPIwV2473S265ToqfGczYismr62wsd63b0pnSLBEyt72CdaGW37zePZoE/l3nU06neuQ5PPziTY= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2017 14:19:29.4433 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1996 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.0.108 Subject: [Qemu-devel] [PATCH v4 06/15] block: support BDRV_REQ_ALLOCATE in passthrough drivers 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, mreitz@redhat.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Support the flag if the underlying BDS supports it Signed-off-by: Anton Nefedov Reviewed-by: Alberto Garcia --- block/blkdebug.c | 3 ++- block/blkverify.c | 2 +- block/mirror.c | 2 +- block/raw-format.c | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/block/blkdebug.c b/block/blkdebug.c index 234c8fb9..2ac3e12 100644 --- a/block/blkdebug.c +++ b/block/blkdebug.c @@ -414,7 +414,8 @@ static int blkdebug_open(BlockDriverState *bs, QDict *options, int flags, bs->supported_write_flags = BDRV_REQ_FUA & bs->file->bs->supported_write_flags; - bs->supported_zero_flags = (BDRV_REQ_FUA | BDRV_REQ_MAY_UNMAP) & + bs->supported_zero_flags = + (BDRV_REQ_FUA | BDRV_REQ_MAY_UNMAP | BDRV_REQ_ALLOCATE) & bs->file->bs->supported_zero_flags; ret = -EINVAL; diff --git a/block/blkverify.c b/block/blkverify.c index 9ba65d0..b249636 100644 --- a/block/blkverify.c +++ b/block/blkverify.c @@ -145,7 +145,7 @@ static int blkverify_open(BlockDriverState *bs, QDict *options, int flags, s->test_file->bs->supported_write_flags; bs->supported_zero_flags = - (BDRV_REQ_FUA | BDRV_REQ_MAY_UNMAP) & + (BDRV_REQ_FUA | BDRV_REQ_MAY_UNMAP | BDRV_REQ_ALLOCATE) & bs->file->bs->supported_zero_flags & s->test_file->bs->supported_zero_flags; diff --git a/block/mirror.c b/block/mirror.c index 7e539f1..5510776 100644 --- a/block/mirror.c +++ b/block/mirror.c @@ -1059,7 +1059,7 @@ static void bdrv_mirror_top_refresh_filename(BlockDriverState *bs, QDict *opts) bs->supported_write_flags = BDRV_REQ_FUA & bs->backing->bs->supported_write_flags; bs->supported_zero_flags = - (BDRV_REQ_FUA | BDRV_REQ_MAY_UNMAP) & + (BDRV_REQ_FUA | BDRV_REQ_MAY_UNMAP | BDRV_REQ_ALLOCATE) & bs->backing->bs->supported_zero_flags; } diff --git a/block/raw-format.c b/block/raw-format.c index 22c7e98..434af74 100644 --- a/block/raw-format.c +++ b/block/raw-format.c @@ -417,7 +417,8 @@ static int raw_open(BlockDriverState *bs, QDict *options, int flags, bs->sg = bs->file->bs->sg; bs->supported_write_flags = BDRV_REQ_FUA & bs->file->bs->supported_write_flags; - bs->supported_zero_flags = (BDRV_REQ_FUA | BDRV_REQ_MAY_UNMAP) & + bs->supported_zero_flags = + (BDRV_REQ_FUA | BDRV_REQ_MAY_UNMAP | BDRV_REQ_ALLOCATE) & bs->file->bs->supported_zero_flags; if (bs->probed && !bdrv_is_read_only(bs)) {