]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dm block manager: make block locking optional
authorJoe Thornber <ejt@redhat.com>
Thu, 19 Nov 2015 13:50:32 +0000 (13:50 +0000)
committerMike Snitzer <snitzer@redhat.com>
Mon, 14 Nov 2016 20:17:47 +0000 (15:17 -0500)
commit2e8ed71102ff8fe3919dd3a2d73ac4da72686efc
tree517679ff39a4d5c3901976181cf41c76e55be3fe
parenta25f0944ba9b1d8a6813fd6f1a86f1bd59ac25a6
dm block manager: make block locking optional

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: Joe Thornber <ejt@redhat.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de> # do/while(0) macro fix
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/Kconfig
drivers/md/persistent-data/dm-block-manager.c