- 15 12月, 2011 1 次提交
-
-
由 Paolo Bonzini 提交于
Initially done with the following semantic patch: @ rule1 @ expression E; statement S; @@ E = qemu_aio_get (...); ( - if (E == NULL) { ... } | - if (E) { <... S ...> } ) which however missed occurrences in linux-aio.c and posix-aio-compat.c. Those were done by hand. The change in vdi_aio_setup's caller was also done by hand. Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
-
- 11 11月, 2011 1 次提交
-
-
由 Kevin Wolf 提交于
There are two different types of flush that you can do: Flushing one level up to the OS (i.e. writing data to the host page cache) or flushing it all the way down to the disk. The existing functions flush to the disk, reflect this in the function name. Signed-off-by: NKevin Wolf <kwolf@redhat.com>
-
- 21 10月, 2011 1 次提交
-
-
由 Paolo Bonzini 提交于
Since coroutine operation is now mandatory, convert all bdrv_flush implementations to coroutines. For qcow2, this means taking the lock. Other implementations are simpler and just forward bdrv_flush to the underlying protocol, so they can avoid the lock. The bdrv_flush callback is then unused and can be eliminated. Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
-
- 20 9月, 2011 4 次提交
-
-
由 Sage Weil 提交于
The config string is variously delimited by =, @, and /, depending on the field. Allow these characters to be escaped by preceeding them with \. Signed-off-by: NSage Weil <sage@newdream.net> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
-
由 Sage Weil 提交于
librbd recently added async writeback and flush support. If the new rbd_flush() call is available, call it. Signed-off-by: NSage Weil <sage@newdream.net> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
-
由 Sage Weil 提交于
Properly document the configuration string syntax and semantics. Remove (out of date) details about the librbd implementation. Signed-off-by: NSage Weil <sage@newdream.net> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
-
由 Sage Weil 提交于
If we are reading from the default config location, ignore any failures. It is perfectly legal for the user to specify exactly the options they need and to not rely on any config file. Signed-off-by: NSage Weil <sage@newdream.net> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
-
- 12 9月, 2011 3 次提交
-
-
由 Sage Weil 提交于
Fix leak of s->snap in failure path. Simplify error paths for the whole function. Reported-by: NStefan Hajnoczi <stefanha@gmail.com> Signed-off-by: NSage Weil <sage@newdream.net> Reviewed-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
-
由 Sage Weil 提交于
No assignment in condition. Remove duplicate ret > 0 check. Signed-off-by: NSage Weil <sage@newdream.net> Reviewed-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
-
由 Sage Weil 提交于
Allow the client id to be specified in the config string via 'id=' so that users can control who they authenticate as. Currently they are stuck with the default ('admin'). This is necessary for anyone using authentication in their environment. Signed-off-by: NSage Weil <sage@newdream.net> Reviewed-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
-
- 21 8月, 2011 1 次提交
-
-
由 Anthony Liguori 提交于
qemu_malloc/qemu_free no longer exist after this commit. Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
-
- 14 6月, 2011 1 次提交
-
-
由 Stefan Weil 提交于
Variable 'snap' is assigned a value that is never used. Remove snap and the related code. Cc: Christian Brunner <chb@muc.de> Cc: Josh Durgin <josh.durgin@dreamhost.com> Cc: Kevin Wolf <kwolf@redhat.com> Signed-off-by: NStefan Weil <weil@mail.berlios.de> Reviewed-by: NJosh Durgin <josh.durgin@dreamhost.com> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
-
- 08 6月, 2011 4 次提交
-
-
由 Josh Durgin 提交于
Reviewed-by: NChristian Brunner <chb@muc.de> Signed-off-by: NJosh Durgin <josh.durgin@dreamhost.com> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
-
由 Josh Durgin 提交于
If scheduling fails, the number of outstanding I/Os must be correct, or there will be a hang when waiting for everything to be flushed. Reviewed-by: NChristian Brunner <chb@muc.de> Reported-by: NStefan Hajnoczi <stefanha@gmail.com> Signed-off-by: NJosh Durgin <josh.durgin@dreamhost.com> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
-
由 Josh Durgin 提交于
The new format is rbd:pool/image[@snapshot][:option1=value1[:option2=value2...]] Each option is used to configure rados, and may be any Ceph option, or "conf". The "conf" option specifies a Ceph configuration file to read. This allows rbd volumes from more than one Ceph cluster to be used by specifying different monitor addresses, as well as having different logging levels or locations for different volumes. Reviewed-by: NChristian Brunner <chb@muc.de> Signed-off-by: NJosh Durgin <josh.durgin@dreamhost.com> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
-
由 Josh Durgin 提交于
librbd stacks on top of librados to provide access to rbd images. Using librbd simplifies the qemu code, and allows qemu to use new versions of the rbd format with few (if any) changes. Reviewed-by: NChristian Brunner <chb@muc.de> Signed-off-by: NJosh Durgin <josh.durgin@dreamhost.com> Signed-off-by: NYehuda Sadeh <yehuda@hq.newdream.net> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
-
- 14 12月, 2010 1 次提交
-
-
由 Christian Brunner 提交于
RBD is an block driver for the distributed file system Ceph (http://ceph.newdream.net/). This driver uses librados (which is part of the Ceph server) for direct access to the Ceph object store and is running entirely in userspace (Yehuda also wrote a driver for the linux kernel, that can be used to access rbd volumes as a block device). Signed-off-by: NYehuda Sadeh <yehuda@hq.newdream.net> Signed-off-by: NChristian Brunner <chb@muc.de> Reviewed-by: NStefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
-