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)
commit841f0ae14e3170dbddff36660d158862565f4558
tree879b2822adbf7fea8d7ac7a1166f22d40d3b4d77
parent62f1003e7ae0d6292246f461299988ccaee34926
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