Message ID | 20160409093921.GB21526@phobos (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0999E9F3D1 for <patchwork-qemu-devel@patchwork.kernel.org>; Sat, 9 Apr 2016 09:39:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2D1682021B for <patchwork-qemu-devel@patchwork.kernel.org>; Sat, 9 Apr 2016 09:39:44 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 091C22014A for <patchwork-qemu-devel@patchwork.kernel.org>; Sat, 9 Apr 2016 09:39:43 +0000 (UTC) Received: from localhost ([::1]:59757 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 1aopMk-0008Tp-Fm for patchwork-qemu-devel@patchwork.kernel.org; Sat, 09 Apr 2016 05:39:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <pborzenkov@virtuozzo.com>) id 1aopMb-0008QK-L0 for qemu-devel@nongnu.org; Sat, 09 Apr 2016 05:39:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <pborzenkov@virtuozzo.com>) id 1aopMY-0005wC-Ao for qemu-devel@nongnu.org; Sat, 09 Apr 2016 05:39:33 -0400 Received: from mail-db5eur01on0105.outbound.protection.outlook.com ([104.47.2.105]:33824 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <pborzenkov@virtuozzo.com>) id 1aopMX-0005w3-Lx for qemu-devel@nongnu.org; Sat, 09 Apr 2016 05:39:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=kTTAzljsT0zVF0FMimJC8FdyYqNydAFeo+d3gG62A2c=; b=JP0oFevLp9JVy3faMkcH9nqsS4LKwf82lAZ17TYI0S5L6OrjInI6i0eyQg9kTKTLciVA6YeitBlmZzIWYCYktFFCBuVGTWZKGalyMHbq+lBFrO2LYg3w1gyZoRdnC85AxG1gvpVKZMFsxLwKZc3ovq6lYq0hQiC7YFsOkiaJ6H0= Authentication-Results: redhat.com; dkim=none (message not signed) header.d=none; redhat.com; dmarc=none action=none header.from=virtuozzo.com; Received: from localhost (195.214.232.10) by HE1PR08MB0921.eurprd08.prod.outlook.com (10.166.125.9) with Microsoft SMTP Server (TLS) id 15.1.453.26; Sat, 9 Apr 2016 09:39:26 +0000 Date: Sat, 9 Apr 2016 12:39:21 +0300 From: Pavel Borzenkov <pborzenkov@virtuozzo.com> To: Eric Blake <eblake@redhat.com> Message-ID: <20160409093921.GB21526@phobos> References: <1460153158-21612-1-git-send-email-eblake@redhat.com> <1460153158-21612-18-git-send-email-eblake@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1460153158-21612-18-git-send-email-eblake@redhat.com> User-Agent: Mutt/1.6.0 (2016-04-01) X-Originating-IP: [195.214.232.10] X-ClientProxiedBy: AMSPR04CA0041.eurprd04.prod.outlook.com (10.242.87.159) To HE1PR08MB0921.eurprd08.prod.outlook.com (10.166.125.9) X-MS-Office365-Filtering-Correlation-Id: 5fe56d7a-c7b6-4c72-6458-08d3605ad7b2 X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0921; 2:DdHdRWIWIZw7TDYBlZ33fL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Cbao18= X-Microsoft-Antispam-PRVS: <HE1PR08MB0921342892EEAAF2C6661832D5920@HE1PR08MB0921.eurprd08.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040074)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041046)(6043046); SRVR:HE1PR08MB0921; BCL:0; PCL:0; RULEID:; SRVR:HE1PR08MB0921; X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0921; 4:OR75iEP41+hZIBDx7AZawTFmUbvd89d9UC0Vh1JJy4F1drTm7crhJrgcuBK3KdP7dCFScKvosk5QDZX/ulVH8tmPFzbM/g5gW+W8bg493rL1pDUleO+1zL1gd+jR3sK6+o/W7EubGrJXedGbtQwkxMei53A6vlXsSNXu0lUyuukykESehEo/2P5yuKwhuKwTx7M6vzldnyaFg0Kfpj4S4JtX2fVvkSuKc4L2QhYYo+OW19PHSDTli61akjnrp6pFU9Z0CXlva0IA1dgP9TY1p2Fo/lSntsH0sxqtlN21LObHLEtF7tfQXtbQ9vvT+NVbXI1V+qSI3im/YV+Cl06ZRoEzCA5dMLB7txFbcAQzn26AosMVlQ10Rftfh4y95JijAYl1nLl8dq3rGvIMNmx4vSvHsyStptc9eDlj7hU1q/k= X-Forefront-PRVS: 0907F58A24 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6069001)(6009001)(24454002)(81166005)(47776003)(92566002)(2950100001)(77096005)(2906002)(83506001)(586003)(110136002)(46406003)(19580405001)(5008740100001)(9686002)(23726003)(19580395003)(189998001)(4001350100001)(33716001)(1096002)(42186005)(6116002)(1076002)(76506005)(97756001)(50466002)(3846002)(50986999)(54356999)(33656002)(66066001)(4326007)(5004730100002)(86362001)(76176999)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR08MB0921; H:localhost; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?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MRp5q4xoNkx9V?= =?us-ascii?Q?cm5lqcjSxg9oGgU4ZDaQ+xdHT2dWi2t4ZrEQzQ+pjMnkkhzwWcVe97XdV7bQ?= =?us-ascii?Q?2MUhA13fPS8thrcuFqVMTTwoNKpWQmJQTfir+2vAzRKnXyVGdD2jbDVbMxQb?= =?us-ascii?Q?ed0D6/8ep3/8jcCoUT4TSsjSxh7WB4AYWII5/Ru7YmLcQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0921; 5:o5XRImZBTPHYEAewoexo8TnI9vC12oguYN6Y/8k859YPER9qhBepr//+BikBPhtYf0iiGGt40VyUe9ylQ71ocmYDyqzXVeMdmTgiyrqYBDduQnF0+KLKqC3SLJH3vO90ehEVQMPSTV+jQrVttyRBXg==; 24:RQDsUp+CMxnOqZUJjQjgcf895B4e+bhpsUrpnJQ+fPslNFsi1Hpf1VW5TZsPC6MHvWs6FJ7HeGKvFaYNnr4OjCQYH+qW5Nv5iy+dxFl9S9Y=; 20:L047zbhfc5mbKm4v85t695LtP3WzcLmIbq8SXaqUtJ3VY8zP0lnPPq/q1BL1bS5ZeS6eJ9jkH/AMp13XFWYdc6psyHAT6Znt86PshVWcFUIi5vPHIG7Azqbmmo/Un7m2u2nRt9FOtxn3a8THlBVepDNtvElhRgwswLT278qZ/6k= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2016 09:39:26.9925 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR08MB0921 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.2.105 Subject: Re: [Qemu-devel] [RFC PATCH 17/18] nbd: Implement NBD_CMD_WRITE_ZEROES on server 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: Kevin Wolf <kwolf@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, alex@alex.org.uk, qemu-devel@nongnu.org, "open list:Block layer core" <qemu-block@nongnu.org> 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-Spam-Status: No, score=-7.0 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/block/block-backend.c b/block/block-backend.c index f0470bc..3ae4157 100644 --- a/block/block-backend.c +++ b/block/block-backend.c @@ -827,7 +827,7 @@ int blk_write_zeroes(BlockBackend *blk, int64_t sector_num, int nb_sectors, BdrvRequestFlags flags) { return blk_rw(blk, sector_num, NULL, nb_sectors, blk_write_entry, - BDRV_REQ_ZERO_WRITE); + BDRV_REQ_ZERO_WRITE | flags); } static void error_callback_bh(void *opaque)