Project

General

Profile

Fix #11418

rbd: feature bits should be re-read during header refresh

Added by Josh Durgin almost 9 years ago. Updated over 3 years ago.

Status:
Fix Under Review
Priority:
Normal
Category:
rbd
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

The kernel client was originally assuming feature bits would not change, and just reading an image's features once during mapping. The exclusive lock and object map features can now be added by userspace dynamically.

The features should be refreshed during the usual header refresh path. It's debatable what should happen when these are added to a mapped image... The image should at least go read only, and perhaps return EIO as well.

If the features are removed, and only compatible features are left, krbd could start accepting requests again, but it may not be worth the complexity of avoiding an unmap/remap.

History

#1 Updated by Douglas Fuller almost 9 years ago

  • Status changed from New to In Progress
  • Assignee set to Douglas Fuller

#2 Updated by Josh Durgin almost 9 years ago

  • Target version set to sprint2

#3 Updated by Josh Durgin almost 9 years ago

  • Status changed from In Progress to Fix Under Review

#4 Updated by Patrick Donnelly over 3 years ago

  • Target version deleted (sprint2)

Unsetting old target version for open tickets.

Also available in: Atom PDF