rbd: existence check or layered writes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | libceph: kill off osd data write_request parametersdrivers/ fs/ fs/ +2 more | +2 | 0 replies | |
| 2/7 | libceph: clean up osd data field access functionsnet/ | +0 | 0 replies | |
| 3/7 | libceph: support raw data requestsinclude/ net/ | +1 | 0 replies | |
| 4/7 | rbd: adjust image object request ref countingdrivers/ | +0 | 0 replies | |
| 5/7 | rbd: always check IMG_DATA flagdrivers/ | +14 | 0 replies | |
| 6/7 | rbd: add target object existence flagsdrivers/ | +2 | 0 replies | |
| 7/7 | rbd: issue stat request before layered writedrivers/ | +25 | 2 replies |
Reviews trailers per patch
None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Josh Durgin |
|---|---|
| Series | R-b |
| 1/7 | |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] rbd: existence check or layered writes
I've broken these patches into three groups.
The first two are sort of cleanup from prior patches.
The next one adds support for simple ops that contain a single data item, which I've termed "raw data."
The next two are some more refinements but they were done intentionally to prepare for the last one.
The sixth puts in place flags on object requests that allow the last patch to determine whether it needs to issue a STAT call for a target object before doing a layered write request.
The layered write request ends up being fairly simple. Existence flags are recorded for the target of object requests. If it is unknown whether the object exists, a new standalone object request is created to do a STAT on the object. The result (success or ENOENT) is recorded in a flag in the original request,
at which point the original request is re-submitted.
This is the first step in doing layered writes.
-Alex
[PATCH 1/7] libceph: kill off osd data write_request parameters [PATCH 2/7] libceph: clean up osd data field access functions
[PATCH 3/7] libceph: support raw data requests
[PATCH 4/7] rbd: adjust image object request ref counting [PATCH 5/7] rbd: always check IMG_DATA flag
[PATCH 6/7] rbd: add target object existence flags [PATCH 7/7] rbd: issue stat request before layered write