All of lore.kernel.org
 help / color / mirror / Atom feed
* split hard read-only vs read-only policy v3
@ 2020-12-08 16:28 ` Christoph Hellwig
  0 siblings, 0 replies; 39+ messages in thread
From: Christoph Hellwig @ 2020-12-08 16:28 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Martin K . Petersen, Oleksii Kurochko, Sagi Grimberg,
	Mike Snitzer, Ilya Dryomov, Dongsheng Yang, ceph-devel, dm-devel,
	linux-block, linux-nvme

Hi Jens,

this series resurrects a patch from Martin to properly split the flag
indicating a disk has been set read-only by the hardware vs the userspace
policy set through the BLKROSET ioctl.

Note that the last patch only applies to for-next and not to
for-5.11/block.  I can hold it back for the first NVMe pull request after
Linus pulled the block tree.

A git tree is available here:

    git://git.infradead.org/users/hch/block.git block-hard-ro

Gitweb:

    http://git.infradead.org/users/hch/block.git/shortlog/refs/heads/block-hard-ro

Changes since v3:
 - rebased to the latest block tree
 - indent commit log lines starting with a "#" to make sure git commit
   doesn't eat them

Changes since v2:
 - fix a few typos
 - add a patch to propagate the read-only status from the whole device to
   partitions
 - add a patch to remove a pointless check from bdev_read_only

Changes since v1:
 - don't propagate the policy flag from the whole disk to partitions
 - rebased on top of the merge block_device and hd_struct series

^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2020-12-09  2:56 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-08 16:28 split hard read-only vs read-only policy v3 Christoph Hellwig
2020-12-08 16:28 ` [dm-devel] " Christoph Hellwig
2020-12-08 16:28 ` Christoph Hellwig
2020-12-08 16:28 ` [PATCH 1/6] dm: use bdev_read_only to check if a device is read-only Christoph Hellwig
2020-12-08 16:28   ` [dm-devel] " Christoph Hellwig
2020-12-08 16:28   ` Christoph Hellwig
2020-12-08 16:28 ` [PATCH 2/6] block: remove the NULL bdev check in bdev_read_only Christoph Hellwig
2020-12-08 16:28   ` [dm-devel] " Christoph Hellwig
2020-12-08 16:28   ` Christoph Hellwig
2020-12-08 16:45   ` Hannes Reinecke
2020-12-08 16:45     ` [dm-devel] " Hannes Reinecke
2020-12-08 16:45     ` Hannes Reinecke
2020-12-08 16:28 ` [PATCH 3/6] block: add a hard-readonly flag to struct gendisk Christoph Hellwig
2020-12-08 16:28   ` [dm-devel] " Christoph Hellwig
2020-12-08 16:28   ` Christoph Hellwig
2020-12-08 16:28 ` [PATCH 4/6] block: propagate BLKROSET on the whole device to all partitions Christoph Hellwig
2020-12-08 16:28   ` [dm-devel] " Christoph Hellwig
2020-12-08 16:28   ` Christoph Hellwig
2020-12-08 16:47   ` Hannes Reinecke
2020-12-08 16:47     ` [dm-devel] " Hannes Reinecke
2020-12-08 16:47     ` Hannes Reinecke
2020-12-09  2:51   ` Ming Lei
2020-12-09  2:51     ` [dm-devel] " Ming Lei
2020-12-09  2:51     ` Ming Lei
2020-12-08 16:28 ` [PATCH 5/6] rbd: remove the ->set_read_only method Christoph Hellwig
2020-12-08 16:28   ` [dm-devel] " Christoph Hellwig
2020-12-08 16:28   ` Christoph Hellwig
2020-12-09  2:52   ` Ming Lei
2020-12-09  2:52     ` [dm-devel] " Ming Lei
2020-12-09  2:52     ` Ming Lei
2020-12-08 16:28 ` [PATCH 6/6] nvme: allow revalidate to set a namespace read-only Christoph Hellwig
2020-12-08 16:28   ` [dm-devel] " Christoph Hellwig
2020-12-08 16:28   ` Christoph Hellwig
2020-12-08 16:49   ` Hannes Reinecke
2020-12-08 16:49     ` [dm-devel] " Hannes Reinecke
2020-12-08 16:49     ` Hannes Reinecke
2020-12-09  2:54   ` Ming Lei
2020-12-09  2:54     ` [dm-devel] " Ming Lei
2020-12-09  2:54     ` Ming Lei

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.