]> git.proxmox.com Git - qemu.git/commit
qed: Read/write support
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Mon, 6 Dec 2010 16:08:02 +0000 (16:08 +0000)
committerKevin Wolf <kwolf@redhat.com>
Fri, 17 Dec 2010 15:11:04 +0000 (16:11 +0100)
commiteabba580e6bb8d6b969c1368c6f90d72b4cde4f4
tree879b2822adbf7fea8d7ac7a1166f22d40d3b4d77
parent298800cae72eb2a549374189e87615b2b0b79262
qed: Read/write support

This patch implements the read/write state machine.  Operations are
fully asynchronous and multiple operations may be active at any time.

Allocating writes lock tables to ensure metadata updates do not
interfere with each other.  If two allocating writes need to update the
same L2 table they will run sequentially.  If two allocating writes need
to update different L2 tables they will run in parallel.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Makefile.objs
block/qed.c
block/qed.h
trace-events