dm bio prison: introduce support for locking ranges of blocks
authorJoe Thornber <ejt@redhat.com>
Wed, 17 Sep 2014 09:17:39 +0000 (10:17 +0100)
committerMike Snitzer <snitzer@redhat.com>
Mon, 10 Nov 2014 20:25:30 +0000 (15:25 -0500)
commit5f274d886598c9fd26d2499bf3f68306f170e9db
treeaf0ded19382c65e832ea51e2b01efb40581c81dd
parentf1afb36a6102b52949c2c6d8eb250eddcce3fc5f
dm bio prison: introduce support for locking ranges of blocks

Ranges will be placed in the same cell if they overlap.

Range locking is a prerequisite for more efficient multi-block discard
support in both the cache and thin-provisioning targets.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-bio-prison.c
drivers/md/dm-bio-prison.h
drivers/md/dm-cache-target.c
drivers/md/dm-thin.c