RFC Allow cache settings for block devices to be changed at runtime.
Get series with b4
b4 am 20110228171956.05a84fb9@zephyrVersions newest first
- v1 RFC Latest2 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Add monitor command 'set-cache' to change cache settings for a block device.blockdev.c blockdev.h hmp-commands.hx | +90 | 0 replies | |
| 2/2 | Extend monitor command 'info block' to display cache settings for block devices.block.c | +20 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [RFC][PATCH 0/2] Allow cache settings for block devices to be changed at runtime.
The following patchset introduces monitor commands:
1. set_cache DEVICE CACHE-SETTING
Change cache settings for block device, DEVICE, through the monitor. (Available options : 'none', 'writeback', 'writethrough') Eg,
(qemu)set_cache ide0-hd0 none
-> Changes cache setting for ide0-hd0 to 'none'
2. info block
Now extended to display cache settings for available block devices.
TODOS :
-------
1. Support 'unsafe' cache mode.
2. Display current cache setting for device, if the CACHE-SETTING option is not supplied by the user. Eg,
(qemu)set_cache ide0-hd0
presently errors out. Ideally, it should display current cache setting for the given device ide0-hd0
Signature · 5 lines
Prerna Saxena Linux Technology Centre, IBM Systems and Technology Lab, Bangalore, India