rbd bug fix and discard support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | rbd: access snapshot context and mapping size safelydrivers/ | +19 | 0 replies | |
| 2/11 | rbd: skip the copyup when an entire object writingdrivers/ | +34 | 0 replies | |
| 3/11 | rbd: extend the operation typedrivers/ | +60 | 0 replies | |
| 4/11 | rbd: add discard support for rbddrivers/ | +92 | 0 replies | |
| 5/11 | rbd: read image size for discard check safelydrivers/ | +12 | 0 replies | |
| 6/11 | rbd: fix snapshot context reference count for discardsdrivers/ | +2 | 0 replies | |
| 7/11 | rbd: tolerate -ENOENT for discard operationsdrivers/ | +3 | 0 replies | |
| 8/11 | rbd: make discard trigger copy-on-writedrivers/ | +2 | 0 replies | |
| 9/11 | rbd: extract a method for adding object operationsdrivers/ | +77 | 0 replies | |
| 10/11 | rbd: use helpers to handle discard for layered images correctlydrivers/ | +19 | 0 replies | |
| 11/11 | rbd: set the remaining discard properties to enable supportdrivers/ | +2 | 0 replies |
Reviews trailers per patch
3 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Josh Durgin | Alex Elder |
|---|---|---|
| 1/11 | ||
| 2/11 | R-b | R-b |
| 3/11 | R-b | R-b |
| 4/11 | R-b | R-b |
| 5/11 | ||
| 6/11 | ||
| 7/11 | ||
| 8/11 | ||
| 9/11 | ||
| 10/11 | ||
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/11] rbd bug fix and discard support
The first patch in this series fixes a potential race, which may have been related to http://tracker.ceph.com/issues/7465, though there's not enough information to tell. I put it before the discard-related patches so it could be cherry-picked to older kernels as needed.
The next three patches are rebased versions of Guangliang's discard patches, which have already been reviewd.
The rest are bug fixes which made discard work in my testing for format 1 and layered format 2 images.
Guangliang Zhao (3):
rbd: skip the copyup when an entire object writing
rbd: extend the operation type
rbd: add discard support for rbd
Josh Durgin (8):
rbd: access snapshot context and mapping size safely
rbd: read image size for discard check safely
rbd: fix snapshot context reference count for discards
rbd: tolerate -ENOENT for discard operations
rbd: make discard trigger copy-on-write
rbd: extract a method for adding object operations
rbd: use helpers to handle discard for layered images correctly
rbd: set the remaining discard properties to enable support
drivers/block/rbd.c | 385 +++++++++++++++++++++++++++++++++++---------------- 1 file changed, 269 insertions(+), 116 deletions(-)
Signature · 1 line
1.7.10.4