forked from ceph/ceph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cls_rbd: remove old assign_bid method
This method is problematic because it both writes/mutates and returns data, which means that an untimely client disconnect or peering event will result in a success to the client with no payload. It has not been used since v0.52 (18054ba) which is pre-bobtail; so this change breaks compatibility with pre-bobtail librbd clients (at least for image creation). Signed-off-by: Sage Weil <[email protected]>
- Loading branch information
Sage Weil
committed
Aug 16, 2013
1 parent
93ac92d
commit f61698d
Showing
2 changed files
with
6 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
|
||
v0.68 | ||
~~~~~ | ||
|
||
* 'ceph osd crush set <id> <weight> <loc..>' no longer adds the osd to the | ||
specified location, as that's a job for 'ceph osd crush add'. It will | ||
however continue to work just the same as long as the osd already exists | ||
in the crush map. | ||
|
||
* The OSD now enforces that class write methods cannot both mutate an | ||
object and return data. The rbd.assign_bid method, the lone | ||
offender, has been removed. This breaks compatibility with | ||
pre-bobtail librbd clients by preventing them from creating new | ||
images. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters