From: Jens Axboe <axboe@kernel.dk>
To: Christoph Hellwig <hch@lst.de>
Cc: bp@suse.de, damien.lemoal@wdc.com, linux-block@vger.kernel.org
Subject: Re: [PATCH] block: allow partitions on host aware zone devices
Date: Sun, 26 Jan 2020 09:59:27 -0700 [thread overview]
Message-ID: <21da6aad-107e-e053-bec9-574faaabc265@kernel.dk> (raw)
In-Reply-To: <20200126130543.798869-1-hch@lst.de>
On 1/26/20 6:05 AM, Christoph Hellwig wrote:
> Host-aware SMR drives can be used with the commands to explicitly manage
> zone state, but they can also be used as normal disks. In the former
> case it makes perfect sense to allow partitions on them, in the latter
> it does not, just like for host managed devices. Add a check to
> add_partition to allow partitions on host aware devices, but give
> up any zone management capabilities in that case, which also catches
> the previously missed case of adding a partition vs just scanning it.
>
> Because sd can rescan the attribute at runtime it needs to check if
> a disk has partitions, for which a new helper is added to genhd.h.
Applied, thanks.
--
Jens Axboe
prev parent reply other threads:[~2020-01-26 16:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-26 13:05 [PATCH] block: allow partitions on host aware zone devices Christoph Hellwig
2020-01-26 16:59 ` Jens Axboe [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=21da6aad-107e-e053-bec9-574faaabc265@kernel.dk \
--to=axboe@kernel.dk \
--cc=bp@suse.de \
--cc=damien.lemoal@wdc.com \
--cc=hch@lst.de \
--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.