ceph/qa/rbd
Ilya Dryomov d72fca26ed qa: krbd_blkroset.t: update for separate hw and user read-only flags
Since kernel 5.12, hardware read-only state and user read-only
policy (BLKROGET/SET ioctls) are tracked separately in the block
layer.  As the purpose of our ->set_read_only() method was exactly
that, it was removed.

As a side effect, BLKROSET no longer returns EROFS on an attempt
to make a read-only mapping read-write with "blockdev --setrw".
The policy gets updated, but the device remains read-only as before
because the hardware (== mapping) state is controlled by the driver.

Fixes: https://tracker.ceph.com/issues/49858
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2021-03-17 11:00:33 +01:00
..
common.sh
krbd_blkroset.t qa: krbd_blkroset.t: update for separate hw and user read-only flags 2021-03-17 11:00:33 +01:00
krbd_deep_flatten.t qa: update krbd tests for snap create 2020-08-12 17:49:00 +02:00
krbd_discard_4M.t qa: update krbd tests for snap create 2020-08-12 17:49:00 +02:00
krbd_discard_512b.t qa: update krbd tests for snap create 2020-08-12 17:49:00 +02:00
krbd_discard_granularity.t
krbd_discard.t qa: update krbd tests for snap create 2020-08-12 17:49:00 +02:00
krbd_get_features.t qa: update krbd tests for snap create 2020-08-12 17:49:00 +02:00
krbd_huge_image.t
krbd_modprobe.t
krbd_msgr_segments.t
krbd_parent_overlap.t qa: update krbd tests for snap create 2020-08-12 17:49:00 +02:00
krbd_whole_object_zeroout.t qa: update krbd tests for snap create 2020-08-12 17:49:00 +02:00
krbd_zeroout.t qa: update krbd tests for snap create 2020-08-12 17:49:00 +02:00
rbd.sh