• Stefan Hajnoczi's avatar
    qed: Read/write support · eabba580
    Stefan Hajnoczi authored
    
    
    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: default avatarStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    eabba580