All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ming Lei <ming.lei@redhat.com>
To: Jared Holzman <jholzman@nvidia.com>
Cc: "linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
	Jens Axboe <axboe@kernel.dk>
Subject: Re: [PATCH v6] ublk: Add UBLK_U_CMD_UPDATE_SIZE
Date: Mon, 21 Apr 2025 20:15:07 +0800	[thread overview]
Message-ID: <aAY2y7-XRAnOcKIi@fedora> (raw)
In-Reply-To: <2a370ab1-d85b-409d-b762-f9f3f6bdf705@nvidia.com>

On Mon, Apr 21, 2025 at 01:59:50PM +0300, Jared Holzman wrote:
> 
> From: Omri Mann <omri@nvidia.com>
> 
> Currently ublk only allows the size of the ublkb block device to be
> set via UBLK_CMD_SET_PARAMS before UBLK_CMD_START_DEV is triggered.
> 
> This does not provide support for extendable user-space block devices
> without having to stop and restart the underlying ublkb block device
> causing IO interruption.
> 
> This patch adds a new ublk command UBLK_U_CMD_UPDATE_SIZE to allow the
> ublk block device to be resized on-the-fly.
> 
> Feature flag UBLK_F_UPDATE_SIZE is also added to indicate support.
> 
> Signed-off-by: Omri Mann <omri@nvidia.com>

Looks good,

Reviewed-by: Ming Lei <ming.lei@redhat.com>


Thanks,
Ming


  reply	other threads:[~2025-04-21 12:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20250421105708.512852-1-jholzman@nvidia.com>
2025-04-21 10:59 ` [PATCH v6] ublk: Add UBLK_U_CMD_UPDATE_SIZE Jared Holzman
2025-04-21 12:15   ` Ming Lei [this message]
2025-04-21 15:25     ` Jared Holzman
2025-04-21 15:26   ` Jens Axboe

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=aAY2y7-XRAnOcKIi@fedora \
    --to=ming.lei@redhat.com \
    --cc=axboe@kernel.dk \
    --cc=jholzman@nvidia.com \
    --cc=linux-block@vger.kernel.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.