Project

General

Profile

Actions

Feature #14700

closed

rbd map should optionally support the advisory locking and blacklisting

Added by Jason Dillaman about 8 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Original proposal:

 - On Map; rbd lock add <image>
         - If no success; then
                 - "rbd status <image>": check for Watchers, 3 times each 15 secs
                         - If found, ABORT the mapping. The image is still in use in a host that is healthy
                 - "ceph osd blacklist add <previous lock holder>". Image locked without a watcher
                 - steal the lock in <image>
         - map the image

 - On Unmap;
         - rbd lock remove

http://permalink.gmane.org/gmane.comp.file-systems.ceph.devel/29403

Actions #1

Updated by Jason Dillaman over 6 years ago

  • Status changed from New to Rejected

krbd now supports the exclusive-lock feature which handles this transparently.

Actions

Also available in: Atom PDF