qed: Read/write support
commit785c0cd4f7718819818cdf701cbb0379cef4d41a
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Wed, 22 Sep 2010 16:56:17 +0000 (22 17:56 +0100)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 10 Dec 2010 16:46:14 +0000 (10 16:46 +0000)
treec469cab169f2d723d7ba2d68d3ac0ad426ee75bd
parenta38d2fdd46bf897303acfad96a56be478e55e0c5
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>
Makefile.objs
block/qed.c
block/qed.h
trace-events