Project

General

Profile

Fix #11418

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

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

Status:
Need Review
Priority:
Normal
Category:
rbd
Target version:
Start date:
04/16/2015
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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 over 3 years ago

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

#2 Updated by Josh Durgin over 3 years ago

  • Target version set to sprint2

#3 Updated by Josh Durgin over 3 years ago

  • Status changed from In Progress to Need Review

Also available in: Atom PDF