Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | librbd: replace assign_bid with client id and random number | Josh Durgin | 2012-07-23 | 2 | -21/+0 |
| | | | | | | | | | | | | | | | The assign_bid method has issues with replay because it is a write that also returns data. This means that the replayed operation would return success, but no data, and cause a create to fail. Instead, let the client set the bid based on its global id and a random number. This only affects the creation of new images, since the bid is put into an opaque string as part of the object prefix. Keep the server side assign_bid around in case there are old clients still using it. Signed-off-by: Josh Durgin <josh.durgin@inktank.com> | ||||
* | cls_rbd: add methods for interacting with the new header format | Josh Durgin | 2012-06-08 | 2 | -0/+383 |
| | | | | | | | Add the client side (cls_rbd_client) for testing as well. librbd will use the functions in cls_rbd_client to interact with cls_rbd. Signed-off-by: Josh Durgin <josh.durgin@inktank.com> | ||||
* | make everyone use our assert #include and macro | Sage Weil | 2012-06-06 | 1 | -0/+2 |
| | | | | | | ...as detected by the previous patch. Signed-off-by: Sage Weil <sage@inktank.com> | ||||
* | librbd: allow writeback caching | Josh Durgin | 2012-04-13 | 2 | -0/+118 |
This uses the existing infrastructure of ObjectCacher for buffer management and expiry. Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com> |