From: Eric Blake <eblake@redhat.com> To: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>, "qemu-devel@nongnu.org" <qemu-devel@nongnu.org> Cc: "jsnow@redhat.com" <jsnow@redhat.com>, "qemu-block@nongnu.org" <qemu-block@nongnu.org>, Kevin Wolf <kwolf@redhat.com>, Max Reitz <mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH 4/7] iotests: Update 241 to expose backing layer fragmentation Date: Wed, 10 Apr 2019 15:44:58 -0500 [thread overview] Message-ID: <77387fd3-3265-b48a-c2f6-a8a0613dfbb1@redhat.com> (raw) In-Reply-To: <7f20c0df-5ff3-cd2f-391f-3dae1a4cb51c@virtuozzo.com> [-- Attachment #1: Type: text/plain, Size: 1769 bytes --] On 4/8/19 8:51 AM, Vladimir Sementsov-Ogievskiy wrote: > 03.04.2019 6:05, Eric Blake wrote: >> Previous commits have mentioned that our NBD server still sends >> unaligned fragments when an active layer with large advertised minimum >> block size is backed by another layer with a smaller block >> size. Expand the test to actually cover this scenario, by using qcow2 >> encryption (which forces 512-byte alignment) with an unaligned raw >> backing file. >> >> The test passes, but only because the client side works around the >> server's non-compliance; if you repeat the test manually with tracing >> turned on, you will see the server sending a status for 1000 bytes >> data then 1048 bytes hole, which is not aligned. But reverting commit >> 737d3f5244 shows that it is indeed the client working around the bug >> in the server. >> >> Signed-off-by: Eric Blake <eblake@redhat.com> > > Oops, 241 fails for me: > > -WARNING: Image format was not specified for '/home/eblake/qemu/tests/qemu-iotests/scratch/t.raw' and probing guessed raw. > +WARNING: Image format was not specified for '/work/src/qemu/eric/tests/qemu-iotests/scratch/t.raw' and probing guessed raw. > > We forget to filter output :( The filter bug is pre-existing; separate patch for that is now posted. > > Tested-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> I saw this email before -rc3, but thought I had only introduced the problem in this patch which I omitted from my rc3 pull request. Oh well, the actual break in iotests came earlier; if there's an -rc4 for other reasons, we'll get the test fixed then. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 488 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Eric Blake <eblake@redhat.com> To: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>, "qemu-devel@nongnu.org" <qemu-devel@nongnu.org> Cc: Kevin Wolf <kwolf@redhat.com>, "jsnow@redhat.com" <jsnow@redhat.com>, "qemu-block@nongnu.org" <qemu-block@nongnu.org>, Max Reitz <mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH 4/7] iotests: Update 241 to expose backing layer fragmentation Date: Wed, 10 Apr 2019 15:44:58 -0500 [thread overview] Message-ID: <77387fd3-3265-b48a-c2f6-a8a0613dfbb1@redhat.com> (raw) Message-ID: <20190410204458.WVF-2lhm8GqKfiTZTMKKK20QVUdBn1OsxQvCvZ25KF8@z> (raw) In-Reply-To: <7f20c0df-5ff3-cd2f-391f-3dae1a4cb51c@virtuozzo.com> [-- Attachment #1: Type: text/plain, Size: 1769 bytes --] On 4/8/19 8:51 AM, Vladimir Sementsov-Ogievskiy wrote: > 03.04.2019 6:05, Eric Blake wrote: >> Previous commits have mentioned that our NBD server still sends >> unaligned fragments when an active layer with large advertised minimum >> block size is backed by another layer with a smaller block >> size. Expand the test to actually cover this scenario, by using qcow2 >> encryption (which forces 512-byte alignment) with an unaligned raw >> backing file. >> >> The test passes, but only because the client side works around the >> server's non-compliance; if you repeat the test manually with tracing >> turned on, you will see the server sending a status for 1000 bytes >> data then 1048 bytes hole, which is not aligned. But reverting commit >> 737d3f5244 shows that it is indeed the client working around the bug >> in the server. >> >> Signed-off-by: Eric Blake <eblake@redhat.com> > > Oops, 241 fails for me: > > -WARNING: Image format was not specified for '/home/eblake/qemu/tests/qemu-iotests/scratch/t.raw' and probing guessed raw. > +WARNING: Image format was not specified for '/work/src/qemu/eric/tests/qemu-iotests/scratch/t.raw' and probing guessed raw. > > We forget to filter output :( The filter bug is pre-existing; separate patch for that is now posted. > > Tested-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> I saw this email before -rc3, but thought I had only introduced the problem in this patch which I omitted from my rc3 pull request. Oh well, the actual break in iotests came earlier; if there's an -rc4 for other reasons, we'll get the test fixed then. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2019-04-10 20:45 UTC|newest] Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-04-03 3:05 [Qemu-devel] [PATCH for-4.0? 0/7] Final round of NBD alignment fixes Eric Blake 2019-04-03 3:05 ` [Qemu-devel] [PATCH 1/7] nbd/server: Fix blockstatus trace Eric Blake 2019-04-05 14:13 ` Vladimir Sementsov-Ogievskiy 2019-04-05 14:13 ` Vladimir Sementsov-Ogievskiy 2019-04-03 3:05 ` [Qemu-devel] [PATCH 2/7] nbd/server: Trace server noncompliance on unaligned requests Eric Blake 2019-04-05 14:39 ` Vladimir Sementsov-Ogievskiy 2019-04-05 14:39 ` Vladimir Sementsov-Ogievskiy 2019-04-05 20:04 ` Eric Blake 2019-04-05 20:04 ` Eric Blake 2019-04-08 12:14 ` Vladimir Sementsov-Ogievskiy 2019-04-08 12:14 ` Vladimir Sementsov-Ogievskiy 2019-04-08 14:32 ` Eric Blake 2019-04-08 14:32 ` Eric Blake 2019-04-03 3:05 ` [Qemu-devel] [PATCH 3/7] nbd/server: Don't fail NBD_OPT_INFO for byte-aligned sources Eric Blake 2019-04-05 15:34 ` Vladimir Sementsov-Ogievskiy 2019-04-05 15:34 ` Vladimir Sementsov-Ogievskiy 2019-04-03 3:05 ` [Qemu-devel] [PATCH 4/7] iotests: Update 241 to expose backing layer fragmentation Eric Blake 2019-04-08 13:51 ` Vladimir Sementsov-Ogievskiy 2019-04-08 13:51 ` Vladimir Sementsov-Ogievskiy 2019-04-10 20:44 ` Eric Blake [this message] 2019-04-10 20:44 ` Eric Blake 2019-04-03 3:05 ` [Qemu-devel] [PATCH 5/7] block: Fix BDRV_BLOCK_RAW status to honor alignment Eric Blake 2019-04-03 13:03 ` Kevin Wolf 2019-04-03 14:02 ` Eric Blake 2019-04-03 3:05 ` [Qemu-devel] [PATCH 6/7] nbd/server: Avoid unaligned read/block_status from backing Eric Blake 2019-04-03 3:05 ` [Qemu-devel] [PATCH for-4.1 7/7] nbd/server: Avoid unaligned dirty-bitmap status Eric Blake 2019-04-04 14:52 ` [Qemu-devel] [PATCH for-4.0? 8/7] nbd/client: Fix error message for server with unusable sizing Eric Blake 2019-04-04 15:22 ` [Qemu-devel] [Qemu-block] " Kevin Wolf
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=77387fd3-3265-b48a-c2f6-a8a0613dfbb1@redhat.com \ --to=eblake@redhat.com \ --cc=jsnow@redhat.com \ --cc=kwolf@redhat.com \ --cc=mreitz@redhat.com \ --cc=qemu-block@nongnu.org \ --cc=qemu-devel@nongnu.org \ --cc=vsementsov@virtuozzo.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).