All of lore.kernel.org
 help / color / mirror / Atom feed
From: Niklas Cassel <cassel@kernel.org>
To: daejun7.park@samsung.com
Cc: qemu-devel@nongnu.org, Jeuk Kim <jeuk20.kim@samsung.com>,
	Paolo Bonzini <pbonzini@redhat.com>, Fam Zheng <fam@euphon.net>,
	Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>,
	qemu-block@nongnu.org, Fabiano Rosas <farosas@suse.de>,
	Laurent Vivier <lvivier@redhat.com>,
	Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>,
	Damien Le Moal <dlemoal@kernel.org>,
	Sam Li <faithilikerun@gmail.com>,
	Stefan Hajnoczi <stefanha@redhat.com>,
	Stanley Jhu <stanleyjhu@google.com>,
	Keoseong Park <keosung.park@samsung.com>
Subject: Re: [PATCH v4 0/5] Support for Zoned UFS
Date: Thu, 26 Nov 2026 09:25:19 +0100	[thread overview]
Message-ID: <awfs77qbgRszXuM3@ryzen> (raw)
In-Reply-To: <20261126-zoned-ufs-v4b-v4-0-f90239d12a55@samsung.com>

Hello Daejun,

On Thu, Nov 26, 2026 at 11:02:08AM +0900, Daejun Park via B4 Relay wrote:
> This series makes a ufs-lu on a host-managed zoned qcow2 image a ZBC
> host-managed device, so that f2fs and other zoned software can be
> tested on UFS. As Niklas asked [1], the zones live in the image and the
> logical unit uses the zoned block layer API.
> 
> The ZBC commands are emulated in hw/ufs on top of scsi-hd, which stays
> a direct-access device, as scsi-disk serves its mode and VPD pages to
> those only. They can move to scsi-disk if the SCSI maintainers prefer.
> 
> Tested with the UFS qtests (also under ASan and UBSan) and Linux 7.3-rc7
> and android17-6.18 guests, legacy doorbell and MCQ: fio --zonemode=zbd
> with verification, blkzone, sg_raw, and f2fs on android17-6.18. One
> early android17-6.18 MCQ run retried unaligned writes (data verified),
> fourteen later ones did not. Zoned host block devices are untested.
> 
> Two qcow2 v18 problems show with qemu-io alone. With detect-zeroes
> on, a zero write at the write pointer does not move it, so the next
> write fails as unaligned. A resized zoned image overflows its write
> pointer table on a write past the old end, and qemu-img resize leaves
> it unopenable.

Here you mention two problems with the qcow2 v18 series.
It would be nice if you could report these, including steps to reproduce,
to the qcow2 v18 thread.

qemu-io is a way to send commands directly to the backend without any
frontend, so I'm guessing that the problems you mention cannot be
reproduced if there is a frontend involved?
Regardless, the qcow2 series should probably get a v19 to address these
problems.


Kind regards,
Niklas


      parent reply	other threads:[~2026-11-26  8:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26  2:02 [PATCH v4 0/5] Support for Zoned UFS Daejun Park
2026-11-26  2:02 ` Daejun Park via B4 Relay
2026-11-26  2:02 ` [PATCH v4 1/5] block: add an accessor for the active zone limit Daejun Park
2026-11-26  2:02   ` Daejun Park via B4 Relay
2026-11-26  2:02 ` [PATCH v4 2/5] scsi-disk: Report zone errors with their ZBC sense codes Daejun Park
2026-11-26  2:02   ` Daejun Park via B4 Relay
2026-11-26  2:02 ` [PATCH v4 3/5] docs/system: Document zoned UFS logical units Daejun Park
2026-11-26  2:02   ` Daejun Park via B4 Relay
2026-11-26  2:02 ` [PATCH v4 4/5] hw/ufs: Support for Zoned UFS Daejun Park
2026-11-26  2:02   ` Daejun Park via B4 Relay
2026-11-26  2:02 ` [PATCH v4 5/5] tests/qtest: Add tests " Daejun Park
2026-11-26  2:02   ` Daejun Park via B4 Relay
2026-11-26  8:25 ` Niklas Cassel [this message]

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=awfs77qbgRszXuM3@ryzen \
    --to=cassel@kernel.org \
    --cc=daejun7.park@samsung.com \
    --cc=dlemoal@kernel.org \
    --cc=faithilikerun@gmail.com \
    --cc=fam@euphon.net \
    --cc=farosas@suse.de \
    --cc=hreitz@redhat.com \
    --cc=jeuk20.kim@samsung.com \
    --cc=keosung.park@samsung.com \
    --cc=kwolf@redhat.com \
    --cc=lvivier@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=pierrick.bouvier@oss.qualcomm.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stanleyjhu@google.com \
    --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 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.