Project

General

Profile

Actions

Bug #61383

open

"rbd bench" always opens the image in read-write mode

Added by Ilya Dryomov 11 months ago. Updated 10 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
pacific,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This prevents it from being used with "profile rbd-read-only" OSD cap (which would be compatible only with --io-type read, of course).

Actions #1

Updated by Ilya Dryomov 11 months ago

  • Subject changed from "rbd bench to "rbd bench" always opens the image in read-write mode
  • Description updated (diff)
  • Status changed from New to In Progress
  • Assignee set to Ilya Dryomov
  • Backport set to pacific,quincy
Actions #2

Updated by Ilya Dryomov 11 months ago

  • Description updated (diff)
Actions #3

Updated by Ilya Dryomov 10 months ago

Hrm, the same goes for rbd-nbd with --read-only option -- it also opens the image in read-write mode unconditionally. Opening in read-only mode would lose the watch though and therefore the ability to detect image resizes.

May need to expand the scope here...

Actions

Also available in: Atom PDF