qemu-img: Allow source cache mode specification
Status from this message: Thanks, applied all to the block branch.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 4 repliesApplied
- v12 patches 6 repliesSuperseded
Changes in v2 from the cover letter
- Patch 1:
- Remove superfluous space in qemu-img-cmds.hx [Eric]
- Reorder all getopt() optstrings which are touched by this patch anyway according to the subsequent switch [Eric (implicitly)]
- Patch 2:
- Reorder img_amend()'s optstring [Eric]
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | qemu-img: Allow source cache mode specificationqemu-img-cmds.hx qemu-img.c qemu-img.texi | +80 | 1 reply | |
| 2/2 | qemu-img: Allow cache mode specification for amendqemu-img-cmds.hx qemu-img.c qemu-img.texi | +18 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Eric Blake | Kevin Wolf |
|---|---|---|
| Series | R-b | |
| 1/2 | R-b | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v2 0/2] qemu-img: Allow source cache mode specification
Currently, qemu-img does not allow setting the cache mode for source images. However, it reads images generally only once, therefore a full writeback cache unnecessarily clutters the host cache. In case the user finds this undesirable, there has to be a way of disabling that cache. This series first introduces such a way for check, compare, convert and rebase and then (while at it) adds a cache mode switch to amend (which was missing so far).
Peter already tried to add a BDRV_O_SEQUENTIAL mode to qemu-img convert. If we want to add such a mode (which in my opinion would be the logical consequence of this series), we may want to make it just another cache mode which can be selected by the user.
v2:
- Patch 1:
- Remove superfluous space in qemu-img-cmds.hx [Eric]
- Reorder all getopt() optstrings which are touched by this patch anyway according to the subsequent switch [Eric (implicitly)]
- Patch 2:
- Reorder img_amend()'s optstring [Eric]
Max Reitz (2):
qemu-img: Allow source cache mode specification
qemu-img: Allow cache mode specification for amend
qemu-img-cmds.hx | 20 ++++++------ qemu-img.c | 97 ++++++++++++++++++++++++++++++++++++++++++++------------ qemu-img.texi | 16 +++++++--- 3 files changed, 98 insertions(+), 35 deletions(-)
Signature · 1 line
2.0.1