• Joe Thornber's avatar
    dm block manager: make block locking optional · 2e8ed711
    Joe Thornber authored
    The block manager's locking is useful for catching cycles that may
    result from certain btree metadata corruption.  But in general it serves
    as a developer tool to catch bugs in code.  Unless you're finding that
    DM thin provisioning is hanging due to infinite loops within the block
    manager's access to btree nodes you can safely disable this feature.
    Signed-off-by: default avatarJoe Thornber <ejt@redhat.com>
    Signed-off-by: Arnd Bergmann <arnd@arndb.de> # do/while(0) macro fix
    Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
    2e8ed711
dm-block-manager.c 13.6 KB