dm-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [dm-devel] split hard read-only vs read-only policy v2
@ 2020-11-29 18:19 Christoph Hellwig
  2020-11-29 18:19 ` [dm-devel] [PATCH 1/4] block: add a hard-readonly flag to struct gendisk Christoph Hellwig
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Christoph Hellwig @ 2020-11-29 18:19 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Sagi Grimberg, Mike Snitzer, Oleksii Kurochko, Dongsheng Yang,
	linux-block, dm-devel, linux-nvme, Martin K . Petersen,
	Ilya Dryomov, ceph-devel

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.

This series is based on top of the

   "merge struct block_device and struct hd_struct v4"

series and won't apply to mainline or Jens' for-5.11 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 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

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel


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

end of thread, other threads:[~2020-12-03 14:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-29 18:19 [dm-devel] split hard read-only vs read-only policy v2 Christoph Hellwig
2020-11-29 18:19 ` [dm-devel] [PATCH 1/4] block: add a hard-readonly flag to struct gendisk Christoph Hellwig
2020-11-30  1:23   ` Alex Elder
2020-11-30  7:55   ` Hannes Reinecke
2020-12-03  4:04   ` Martin K. Petersen
2020-12-03  8:53     ` Christoph Hellwig
2020-12-03 14:01       ` Martin K. Petersen
2020-11-29 18:19 ` [dm-devel] [PATCH 2/4] rbd: remove the ->set_read_only method Christoph Hellwig
2020-11-30  7:56   ` Hannes Reinecke
2020-11-29 18:19 ` [dm-devel] [PATCH 3/4] nvme: allow revalidate to set a namespace read-only Christoph Hellwig
2020-11-29 21:13   ` Chaitanya Kulkarni
2020-11-30  7:57   ` Hannes Reinecke
2020-11-29 18:19 ` [dm-devel] [PATCH 4/4] dm: use bdev_read_only to check if a device is read-only Christoph Hellwig
2020-11-30  7:58   ` Hannes Reinecke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).