commit | 086fbbbda9b743b149b0294e0feec257e2c311d5 | [log] [tgz] |
---|---|---|
author | Joe Thornber <ejt@redhat.com> | Mon Dec 07 14:48:04 2015 +0000 |
committer | Mike Snitzer <snitzer@redhat.com> | Thu Dec 10 10:38:55 2015 -0500 |
tree | 5a08a70b85eed4495d73ff469060ad7fd1754443 | |
parent | 3d5f67332ad9a500857a45397b69a27198720410 [diff] |
dm thin metadata: make dm_thin_find_mapped_range() atomic Refactor dm_thin_find_mapped_range() so that it takes the read lock on the metadata's lock; rather than relying on finer grained locking that is pushed down inside dm_thin_find_next_mapped_block() and dm_thin_find_block(). Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>