From: Liu Yuan <namei.unix@gmail.com>
To: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>
Cc: Kevin Wolf <kwolf@redhat.com>,
sheepdog@lists.wpkg.org,
MORITA Kazutaka <morita.kazutaka@gmail.com>,
qemu-devel@nongnu.org, Stefan Hajnoczi <stefanha@redhat.com>,
Teruaki Ishizaki <ishizaki.teruaki@lab.ntt.co.jp>
Subject: Re: [Qemu-devel] [sheepdog] [PATCH] sheepdog: serialize requests to overwrapping area
Date: Tue, 28 Jul 2015 16:50:08 +0800 [thread overview]
Message-ID: <20150728085008.GA4291@ubuntu-trusty> (raw)
In-Reply-To: <1437151464-5458-1-git-send-email-mitake.hitoshi@lab.ntt.co.jp>
On Sat, Jul 18, 2015 at 01:44:24AM +0900, Hitoshi Mitake wrote:
> Current sheepdog driver only serializes create requests in oid
> unit. This mechanism isn't enough for handling requests to
> overwrapping area spanning multiple oids, so it can result bugs like
> below:
> https://bugs.launchpad.net/sheepdog-project/+bug/1456421
I'm a bit late to review the patch since I'm not on the cc list, but I'd like to
get the idea how the mentioned bug relates to the serialization of requests?
The mentioned bug looks to me more a bug of sheepdog because the create and
write request will only unref a single oid. The bug report is unclear about
why the object idx in inode becomes zero, at least not pointing that it relates
to QEMU.
But this patch assume QEMU send the requests the wrong way and just vaguely
says it is just wrong without reason.
What is overrapping requests? As far as I understand, the request that stride
over two objects will be split into two, to make sure all the requests fit the
sheepdog object size. Allow requests run concurrently on different SD objects is
way achieving high performance. This patch mutes this feature, to me, without a
decent reason.
Probably I miss something hidden, but I'd like someone enlighten me about it
because this patch might slow down QEMU VM over sheepdog.
Thanks,
Yuan
next prev parent reply other threads:[~2015-07-28 8:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-17 16:44 [Qemu-devel] [PATCH] sheepdog: serialize requests to overwrapping area Hitoshi Mitake
2015-07-17 16:49 ` Vasiliy Tolstov
2015-07-20 15:46 ` Stefan Hajnoczi
2015-07-27 15:23 ` Jeff Cody
2015-07-27 15:36 ` Vasiliy Tolstov
2015-07-28 14:31 ` Liu Yuan
2015-07-28 14:47 ` Liu Yuan
2015-07-28 8:50 ` Liu Yuan [this message]
2015-07-28 9:35 ` [Qemu-devel] [sheepdog] " Liu Yuan
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=20150728085008.GA4291@ubuntu-trusty \
--to=namei.unix@gmail.com \
--cc=ishizaki.teruaki@lab.ntt.co.jp \
--cc=kwolf@redhat.com \
--cc=mitake.hitoshi@lab.ntt.co.jp \
--cc=morita.kazutaka@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=sheepdog@lists.wpkg.org \
--cc=stefanha@redhat.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: link
Be 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).