qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: qemu-devel@nongnu.org, jsnow@redhat.com, kwolf@redhat.com
Cc: stefanha@redhat.com, mreitz@redhat.com
Subject: [Qemu-devel] ahci-test failures with 'Failed to get "write" lock'
Date: Thu, 15 Jun 2017 16:28:52 +0100	[thread overview]
Message-ID: <20170615152852.GB2399@work-vm> (raw)

Hi,
  Peter noticed that there were some hangs in the ahci-test;
I can reproduce them on my laptop as long as the laptop has
some other load on it (a few md5sum /dev/zero's help).

/x86_64/ahci/flush/migrate: qemu-system-x86_64: Failed to get "write" lock
Is another process using the image?
OK
/x86_64/ahci/migrate/sanity: qemu-system-x86_64: Failed to get "write" lock
Is another process using the image?

and that hangs in sanity.

That seems to be the common case, I've also had one:

/x86_64/ahci/migrate/ncq/halted: qemu-system-x86_64: Failed to get "write" lock
Is another process using the image?
qemu-system-x86_64: /home/dgilbert/git/qemu/block/io.c:1352: bdrv_aligned_pwritev: Assertion `child->perm & BLK_PERM_WRITE' failed.


Neither of these always fail.

Dave
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

             reply	other threads:[~2017-06-15 15:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-15 15:28 Dr. David Alan Gilbert [this message]
2017-06-15 16:16 ` [Qemu-devel] ahci-test failures with 'Failed to get "write" lock' John Snow
2017-06-16  9:23   ` Peter Maydell
2017-06-16 16:07     ` Fam Zheng

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=20170615152852.GB2399@work-vm \
    --to=dgilbert@redhat.com \
    --cc=jsnow@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=mreitz@redhat.com \
    --cc=qemu-devel@nongnu.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).