public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
From: Ming Lei <ming.lei@redhat.com>
To: Jens Axboe <axboe@kernel.dk>, linux-block@vger.kernel.org
Cc: Uday Shankar <ushankar@purestorage.com>,
	Caleb Sander Mateos <csander@purestorage.com>,
	Keith Busch <kbusch@kernel.org>, Ming Lei <ming.lei@redhat.com>
Subject: [PATCH v6.15 0/3] ublk: one selftest fix and two zero copy fixes
Date: Sun, 27 Apr 2025 21:49:26 +0800	[thread overview]
Message-ID: <20250427134932.1480893-1-ming.lei@redhat.com> (raw)

Hello Jens,

The 1st patch fixes UBLK_F_NEED_GET_DATA support in ublk selftest side.

The other two patches enhances check for zero copy feature.

Thanks,
Ming


Ming Lei (3):
  selftests: ublk: fix UBLK_F_NEED_GET_DATA
  ublk: decouple zero copy from user copy
  ublk: enhance check for register/unregister io buffer command

 drivers/block/ublk_drv.c                      | 59 ++++++++++++++-----
 tools/testing/selftests/ublk/Makefile         |  1 +
 tools/testing/selftests/ublk/kublk.c          | 20 ++++---
 tools/testing/selftests/ublk/kublk.h          |  1 +
 .../testing/selftests/ublk/test_generic_07.sh | 24 ++++++++
 .../testing/selftests/ublk/test_stress_05.sh  |  8 +--
 6 files changed, 86 insertions(+), 27 deletions(-)
 create mode 100755 tools/testing/selftests/ublk/test_generic_07.sh

-- 
2.47.0


             reply	other threads:[~2025-04-27 13:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-27 13:49 Ming Lei [this message]
2025-04-27 13:49 ` [PATCH v6.15 1/3] selftests: ublk: fix UBLK_F_NEED_GET_DATA Ming Lei
2025-04-28 15:51   ` Caleb Sander Mateos
2025-04-29  0:53     ` Ming Lei
2025-04-27 13:49 ` [PATCH v6.15 2/3] ublk: decouple zero copy from user copy Ming Lei
2025-04-28 16:01   ` Caleb Sander Mateos
2025-04-29  0:55     ` Ming Lei
2025-04-29  1:36       ` Ming Lei
2025-04-29  1:38         ` Caleb Sander Mateos
2025-04-27 13:49 ` [PATCH v6.15 3/3] ublk: enhance check for register/unregister io buffer command Ming Lei
2025-04-28 16:28   ` Caleb Sander Mateos
2025-04-29  1:02     ` Ming Lei
2025-04-29  1:03       ` Caleb Sander Mateos

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=20250427134932.1480893-1-ming.lei@redhat.com \
    --to=ming.lei@redhat.com \
    --cc=axboe@kernel.dk \
    --cc=csander@purestorage.com \
    --cc=kbusch@kernel.org \
    --cc=linux-block@vger.kernel.org \
    --cc=ushankar@purestorage.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