diff options
author | Joe Thornber <ejt@redhat.com> | 2015-12-07 14:48:04 +0000 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-12-10 10:38:55 -0500 |
commit | 086fbbbda9b743b149b0294e0feec257e2c311d5 (patch) | |
tree | 5a08a70b85eed4495d73ff469060ad7fd1754443 /drivers/md/dm-snap.c | |
parent | 3d5f67332ad9a500857a45397b69a27198720410 (diff) | |
download | linux-stable-086fbbbda9b743b149b0294e0feec257e2c311d5.tar.gz linux-stable-086fbbbda9b743b149b0294e0feec257e2c311d5.tar.bz2 linux-stable-086fbbbda9b743b149b0294e0feec257e2c311d5.zip |
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>
Diffstat (limited to 'drivers/md/dm-snap.c')
0 files changed, 0 insertions, 0 deletions