MAINTAINERS: add sheepdog development mailing list
This will help people find mailing list relevant to sheepdog.
Cc: Stefan Hajnoczi <stefanha@redhat.com>Cc: Kevin Wolf <kwolf@redhat.com>Signed-off-by: Liu Yuan <namei.unix@gmail.com>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
qdict: Fix memory leak in qdict_do_flatten()
Reported-by: Laszlo Ersek <lersek@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
qdict: Optimise qdict_do_flatten()
Nested QDicts used to be both entered recursively in order to move theirentries to the target QDict and also be moved themselves to the targetQDict like all other objects. This is harmless because for the toplevel, qdict_do_flatten() will encounter the (now empty) QDict for a...
sheepdog: refactor do_sd_create()
We can actually use BDRVSheepdogState *s to pass most of the parameters.
Cc: Kevin Wolf <kwolf@redhat.com>Cc: Stefan Hajnoczi <stefanha@redhat.com>Signed-off-by: Liu Yuan <namei.unix@gmail.com>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
sheepdog: support user-defined redundancy option
Sheepdog support two kinds of redundancy, full replication and erasure coding.
qemu-iotests: Drop local version of cancel_and_wait from 040
iotests.py already has one.
Signed-off-by: Fam Zheng <famz@redhat.com>Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
qapi: Change BlockDirtyInfo to list
We have multiple dirty bitmaps in BDS now, switch QAPI to allow queryit (BlockInfo.dirty_bitmaps), and also drop old BlockInfo.dirty.
Signed-off-by: Fam Zheng <famz@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
COW: Speed up writes
Process a whole sector's worth of COW bits by reading a sector, settingthe bits after skipping any already set bits, then writing it out again.Make sure we only flush once before writing metadata, and only if weneed to write metadata....
COW: Extend checking allocated bits to beyond one sector
cow_co_is_allocated() only checks one sector's worth of allocated bitsbefore returning. This is allowed but (slightly) inefficient, so extendit to check all of the file's metadata sectors.
Signed-off-by: Charlie Shepherd <charlie@ctshepherd.com>...
block: per caller dirty bitmap
Previously a BlockDriverState has only one dirty bitmap, so only onecaller (e.g. a block job) can keep track of writing. This changes thedirty bitmap to a list and creates a BdrvDirtyBitmap for each caller, thelifecycle is managed with these new functions:...
View all revisions | View revisions
Also available in: Atom