Message ID | 1501597152-25342-6-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 1390660361 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 1 Aug 2017 14:23:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 05C6E2817F for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 1 Aug 2017 14:23:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE528283C9; Tue, 1 Aug 2017 14:23:46 +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 892802817F for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 1 Aug 2017 14:23:46 +0000 (UTC) Received: from localhost ([::1]:42855 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 1dcY5J-0002xi-O9 for patchwork-qemu-devel@patchwork.kernel.org; Tue, 01 Aug 2017 10:23:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <anton.nefedov@virtuozzo.com>) id 1dcY1G-0000Ol-SS 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 <anton.nefedov@virtuozzo.com>) id 1dcY1E-0002Q6-Tv 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 <anton.nefedov@virtuozzo.com>) id 1dcY1E-0002MM-MZ; Tue, 01 Aug 2017 10:19:32 -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=TvMdfK43P2Ixg+Pc8KMEPwqr7QQHnTWWvW45kR6LPbc=; b=I3XB1FMJMTUyzDeBy/QArfkrsFVnkLy1ScBRP/kBNpuqym2OxkuWVgl8Xo/xaAljwr02LX4bjm+eywBvqEzqYFBrzQip3WkQjXMM/YM2zUNbP2Ng8FZpzpnOS0D8bArt4YW/Na+61YaL8uZ257/v5sItmd2QNAd01ZrmQ7DiJNE= 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:28 +0000 From: Anton Nefedov <anton.nefedov@virtuozzo.com> To: qemu-devel@nongnu.org Date: Tue, 1 Aug 2017 17:19:02 +0300 Message-Id: <1501597152-25342-6-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 Content-Type: text/plain 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: 303eafab-1bf8-4c31-7ee7-08d4d8e8524c 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:7mok6PSqbOVHBC4LjChvWxhLDLo6qodkR1BaoOivKlnJArlvDiO1avsTrjPfTdtZBX7X2KjVSLTds0wk718S6o0HFiNFBT+cjLXeTks59vBeqwM6hD15Ak/eyQKhRLyRa0PQ7zC1H96X29vmdsvfSvY3iGnHvyBzKhmyab3E7UsmiotLaiFIpVzrwfA53gVmH31yYXdA+mwJ9R4zXGEr+Xc0g0lC5LscOilAa21spVPllOjDl30+tPmv2EsAQC2WhP4gawZ5XS5M9UFBSIdvESjcaBcb74DaMCD8l4c9QI/fxLCrZRCLX6656afXPl/Fo4XHvA7m9zARjwy0YhIBOM0mzoDyB/ZwTKB1n8q58yNGIR/+AyX3Tx9fXdfOYc6iXyIQsRxmP41WwkIX3yAo+ak9sY6LbAljZ6h/CdyC60f8i+5AQwxXwLbF8Al8OKXVG79r0A/cy+oUnsGUJyTzNJ3rcvV/Lmk7onhXcbEdOVg0w6ypTy3bOgOI5smH8HCX0I0ohgDvNRD946EXoHf3N88b78HrfrCh77zcXn8OwXjPkuSHhOqRV/cX1tK1yvjI5B/a3DSuVMDDA+tsF7ZU0IvQ4D0xe0Rk2hKesP5/xLi9TX2IGFhHc1AZ2BPbvj9SHoVLT6CWBW8qWftrl6OxsMaNKDYb3jtb7213Zx3P4P2B36TlMdWpyS88ulylYSuL8CxH0uYkyO089HwdaWaZKjcqG6OuIw+PBbXpEIED1DY5aK1uY7tCJfjnEuGMBVXAsjMEyokSjtvu0knq82NDpAih4rtFbweIDcqyZkoBWmqOx2ANvappbzYcEMmoje6A X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HE1PR0801MB1996: X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB1996; 25:ybbI34eJmw1NkPS778LnERvER+VqPSLZZQRm1i99YUT7tAzjHw2CdAkVjRSy4ULpLsURA1viGe+SnvL+tFpY1rH/1DLXMrd3ZZX/75N3kCSqmJGw8xbm9v2ufxiroriuOA8ysM1WHBoJvDeWLY/06StpeQEIcApQPzhrIZuMLctfBF0SjluObB0FFCXiwdAXATRhWw4cOq/8+QZpfrGXW9W9pOxTobCw2DxbcOkUyPG0lV5TThY+pU08Bh4/s+DV7GuNbWp1SEqgc4RZOWPnI1Mm6a1N0b6W9u696dPfG9pURwZhlGP3owGJ5IwV3Nabg8mzuYCY4orzk+gq1LttLpZswQ7vtMIReW4Nc5HJkJyH5yvSU+abExPe8XDVMWKkHtgl4RiJ+2hadHzlGsmZ3Gq8JIutpbSCMJeF/jsmWPWIfjCIvx2Ce0pnd5SnIVlkolXS1ftvWGv5nkl7f22+adEYqYHEx1N8nshlC6Mm00eb9OQviQu33/vCK+oQnV80sNEgPMa+ygsoM62UAp+tIoiRlcFxoRIu3c62Fsp3c6XCMLW6N3i2kF3HTiCFLPjNlcsqBqQhir7ehgGya6OEH4IrcIqaJwGYkclN00+oa36NOspLIcPjgQ33IaTaSsyAsmgJkBIR3J349g17mx09BJLRFlUivKc20vgojciubeziASuwyJ7xhHvF9MFqbsmSANMpGYDN4RWO+INLx+QmwhCR/QNnnA7YSQqwTLOm+tP3K8iKgFz+zEAUBfSWzat88c+cLTZpBIDzXToo5xm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hLv5iT1AdZfwcFzeveRcYHc47qxzjes7YYiTt5YTzefpcS8PK1fzRE/0BIjwweqjgR6w10+1DRzRbjCysmArHPqNEG1XcVax8x9HHtPWyHQsfR09XDE/oqhO8apSo4g4NUGC/BbBsaQKwyUKffPioV70w7mImPAB2BMl+LsrLdrxFjM/BSy9F4kWxegC82wLkqAN2FNBZuDmjuuRM0BguHW4tPmUorP82bU7pSUymncZ9x/E+4k+z+lZw1ZODd8yETAOyuuiEiiWHkzb9zXrMOGg= X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: <HE1PR0801MB199675EDA5713CB03BCB154DF8B30@HE1PR0801MB1996.eurprd08.prod.outlook.com> 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:OmzRiDVPR9H4PQ7A3Dih+Mj57TaXh6yR7pLWPldx?= =?us-ascii?Q?S04mp7Bd4gMy+7NMycXO9ytusyfZfvb/Ok+gyJzR3aJAJFosJPNxP8gh+pUE?= =?us-ascii?Q?M7MQqpWHg4ByASYw6jkI8I/0ryItCKr+SmxV4riojlnUsN5D5SBy6F9Lqxxh?= =?us-ascii?Q?Fba5rxAjWGBv3lN/8TZYzyHnBpZzaK0PcQL4+3nt/x30QLD/7xqvnlTlmSGr?= =?us-ascii?Q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1Wv0fmz6tU6IrzH0YQ7D29KnFWMmh+fSi61ZB?= =?us-ascii?Q?FbsZ1dzf33k3ir+OwXOsZ+NCZwcoNWJF?= 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:6NamBH0qYNKzpwO3wlA/OiV8/TZF2AlsIn7/+Fy?= =?us-ascii?Q?CasG2vWHuTaOpI5KGeaDCYBWZ8/Q/JX0AWRtbBHdr4h6a1QZrGYx0vPobDa6?= =?us-ascii?Q?mXlyHW+vU1TlvNOBbUpYUDkPdY77KSSUlbCghQh3/mruPY+I2e7hx6KaEEGU?= =?us-ascii?Q?vBjgrAhwD5wiqtZ50RU2os2rgSJiVNa4OGqKVLbjZnMWaE/8/Tnq6XijrWrq?= =?us-ascii?Q?PoVWx+K6Kvqq7aiUdANAnkJz1ovS5jEWLNl8Xs2DsXEUZaBHioL3BPZPWokl?= =?us-ascii?Q?qFDcNOgzUV7GHgh47jtezhfi1is++8eMDyz72n35S6irwpuvUEzP8xnxTFpg?= =?us-ascii?Q?W+NBGd9m2smFp80rLKv4iVZ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ii?Q?IbdyjmFOo2I6Ie7OCoFr+s0QRPcEAib1CcHCE406mysVl/G8ifg8GguldEr1?= =?us-ascii?Q?crjMB/o4bqspg8UkzYcw3Eec=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0801MB1996; 6:ABDeyhVQtHmUeNixzS9MtfKoChDH6Mhdi4TkDVW+?= =?us-ascii?Q?uECiZs/3bFekgsiD+lXJFPt4DVYmq3lT4974CCH+vGbMwqet7QQUrJsUBcw4?= =?us-ascii?Q?LjewxPcRBCSDawSXtXZSGgO4gVT2/jUywh3U19L0j2RqRG0v4Ctvi7L52XV0?= =?us-ascii?Q?MNq6gwKqrHoKhUv/TYD3G5AtCzRJlx2we/tQHbZGHofi8UHJfmSnbF4kpKGN?= =?us-ascii?Q?WWQDw6SucXxpnK/2ds4VLIOVq26qkRQIcTCFxfRHvmD9SByVHY8u+digURyK?= =?us-ascii?Q?K2w0YjmRMQzq+SOHw5dDL7eVyzMOmNzX6VGOryLmANEIkOrzv8K42wGpyYr6?= =?us-ascii?Q?fPSbYmM1s+e20GE/mLZwYc1kV6oDSICOSGe/3/zXXV6Og5fJmpBNKW5isTp1?= =?us-ascii?Q?26vfU622bBs3GPqfo/ouMOhl4VN3opRbvfj40lTZF/SZKn9e9wiErtcFlm95?= =?us-ascii?Q?OSWUqOAJFv3n1PmVpltM/mkUB4ZUjYAdN2jIWV/FSZu2RGFwsFZnyWVrpEid?= =?us-ascii?Q?nWDAifG0qHNyWEDg1UgPZ0+lazJyQTE+2669ArlB2HsPY1nKW3pg2YFlyNf+?= =?us-ascii?Q?kQCWCj0mP2v4K8GQ0NyC6cv3283njV58hqClU9sN7euDb9TddKR2smSW55Tz?= =?us-ascii?Q?NGadx/+Qy1jKWNkdSgNCXKsAdAf9arLCj3Yh4kEiXDzD5eAlyImtlaCL4x2t?= =?us-ascii?Q?v84n0wHJrL9wx2r4AWaIaRZd2oxTS5Rwb0xgirHXkqO2+F3nwtwkK/plPJCe?= =?us-ascii?Q?MSQchts7e1aYn5cGuYr53PgMzS4dn00OEn6jlkSChN07oDmhNoLp9EaoXtiT?= =?us-ascii?Q?uHCxdxVuXZf3H7E4cFryhZxj2thJrV5gbqtms4wkb+f8exCp3uQYtdUHZAV8?= =?us-ascii?Q?0If+mpIX37MJhCe2qAXp01b8YIeuxB3IsSDus7TDVCB2/XZNlma5O0UyIxiN?= =?us-ascii?Q?CFsAEe2nfrYz1doNZcJKKpSsaZWMr4xZK2BA9RQFZ3xmU/T3yZ0YM+dPV6ib?= =?us-ascii?Q?zdc=3D?= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB1996; 5:IOlsFoLkKNOa27+Jj5C+tva4OiBWlbvIKOdR8kIrIJyNXcbzg9841MO8/8FUvDnWIeoWAgZCYtZuI/Cl3R0z9LGRrpCth6hWCoeIasw4qUQ8M/gp9FwEMIHDXdil4vcSrGG7oMKPUvXRHhs3PfC/nJXN2X9onYEH3MXMM68ljAPMAWxKTBNXp8auU2jRpA9MnfIHmfIWW/Qp4jmhZsjN8xv2HtKpamml4IDaRKBXAZHuKtKxAnpl6+9QHBVEg8flJmw57Ku+QW78kkkD8XXbxJ35UEx1Nnmzr1Ek2yP5MZJ23G6xjUcnt8Eh27v7F2xpPhAPDiZZ+4gPWUakj87k0eg21ssXf/ejFUNRbyUDXo7Tv4ujX41HZk2Th3D6e9W4RF/vmdNTD7yu+Okvx+ZXjlA1GQv/r8VXnycVV/gzr4jHEv8Nm6WmcALQQUDnAGJ14okuPthF6QeeDRd6HegwWtxBypY+lKnsdfa+TjBm0+ceMbpVX8/Dw3NQViMf8MC0; 24:5NYNyrk2qsCx7DtkXUUJ/7hfiCeEys4x61cLts6TO90QTbWBQy229eqI0Ptyq828D5+e5CRckf8/ntYlpZMQf1etViIh+YuzB+SpkE4GnMc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB1996; 7:Bj69Y4bva7aLs0xdM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996 (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 05/15] file-posix: support BDRV_REQ_ALLOCATE 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 Tue 01 Aug 2017 04:19:02 PM CEST, Anton Nefedov wrote: > Current write_zeroes implementation is good enough to satisfy this flag too > > Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com> Reviewed-by: Alberto Garcia <berto@igalia.com> Berto
diff --git a/block/file-posix.c b/block/file-posix.c index 765a440..4ef1b1d 100644 --- a/block/file-posix.c +++ b/block/file-posix.c @@ -539,7 +539,10 @@ static int raw_open_common(BlockDriverState *bs, QDict *options, } if (S_ISREG(st.st_mode)) { s->discard_zeroes = true; +#ifdef CONFIG_FALLOCATE s->has_fallocate = true; + bs->supported_zero_flags |= BDRV_REQ_ALLOCATE; +#endif } if (S_ISBLK(st.st_mode)) { #ifdef BLKDISCARDZEROES @@ -574,6 +577,7 @@ static int raw_open_common(BlockDriverState *bs, QDict *options, #ifdef CONFIG_XFS if (platform_test_xfs_fd(s->fd)) { s->is_xfs = true; + bs->supported_zero_flags |= BDRV_REQ_ALLOCATE; } #endif @@ -1388,6 +1392,10 @@ static ssize_t handle_aiocb_write_zeroes(RawPosixAIOData *aiocb) } s->has_fallocate = false; } + + if (!s->has_fallocate) { + aiocb->bs->supported_zero_flags &= ~BDRV_REQ_ALLOCATE; + } #endif return -ENOTSUP;
Current write_zeroes implementation is good enough to satisfy this flag too Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com> --- block/file-posix.c | 8 ++++++++ 1 file changed, 8 insertions(+)