All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: qemu-block@nongnu.org
Cc: kwolf@redhat.com, hreitz@redhat.com, jsnow@redhat.com,
	qemu-devel@nongnu.org, qemu-stable@nongnu.org
Subject: [PATCH 0/7] ide: Fix deadlock between TRIM and drain
Date: Tue, 21 Apr 2026 18:11:25 +0200	[thread overview]
Message-ID: <20260421161132.99878-1-kwolf@redhat.com> (raw)

Patches 2 and 4 are the core of the fix, see their commit message for
details.

Kevin Wolf (7):
  blkdebug: Add 'delay-ns' option
  block: Add blk_co_start/end_request() and BDRV_REQ_NO_QUEUE
  block: Add flags parameter to blk_*_pdiscard()
  ide: Minimal fix for deadlock between TRIM and drain
  ide: Clean up ide_trim_co_entry() to be idiomatic coroutine code
  ide-test: Factor out wait_dma_completion()
  ide-test: Test reset during TRIM

 qapi/block-core.json              |   4 +
 include/block/block-common.h      |  11 ++-
 include/system/block-backend-io.h |   6 +-
 block/blkdebug.c                  |  15 +++-
 block/block-backend.c             |  47 +++++++---
 block/export/virtio-blk-handler.c |   2 +-
 block/mirror.c                    |   4 +-
 hw/ide/core.c                     | 110 +++++++++++-------------
 nbd/server.c                      |   2 +-
 qemu-io-cmds.c                    |   2 +-
 tests/qtest/ide-test.c            | 137 ++++++++++++++++++++++++------
 tests/unit/test-block-iothread.c  |   4 +-
 12 files changed, 236 insertions(+), 108 deletions(-)

-- 
2.53.0



             reply	other threads:[~2026-04-21 16:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-21 16:11 Kevin Wolf [this message]
2026-04-21 16:11 ` [PATCH 1/7] blkdebug: Add 'delay-ns' option Kevin Wolf
2026-04-21 16:11 ` [PATCH 2/7] block: Add blk_co_start/end_request() and BDRV_REQ_NO_QUEUE Kevin Wolf
2026-04-21 16:11 ` [PATCH 3/7] block: Add flags parameter to blk_*_pdiscard() Kevin Wolf
2026-04-21 16:11 ` [PATCH 4/7] ide: Minimal fix for deadlock between TRIM and drain Kevin Wolf
2026-04-21 16:11 ` [PATCH 5/7] ide: Clean up ide_trim_co_entry() to be idiomatic coroutine code Kevin Wolf
2026-04-21 16:11 ` [PATCH 6/7] ide-test: Factor out wait_dma_completion() Kevin Wolf
2026-04-21 16:11 ` [PATCH 7/7] ide-test: Test reset during TRIM Kevin Wolf
2026-05-12 11:58 ` [PATCH 0/7] ide: Fix deadlock between TRIM and drain 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=20260421161132.99878-1-kwolf@redhat.com \
    --to=kwolf@redhat.com \
    --cc=hreitz@redhat.com \
    --cc=jsnow@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-stable@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.