]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dm thin: grab a virtual cell before looking up the mapping
authorJoe Thornber <ejt@redhat.com>
Fri, 10 Oct 2014 08:41:09 +0000 (09:41 +0100)
committerJiri Slaby <jslaby@suse.cz>
Wed, 19 Nov 2014 17:38:20 +0000 (18:38 +0100)
commit2c49ae544b24a61a8de26c7bf0bce13151d54abf
treee3f3ba3c07fe1f73c77abc73fbbc03dd68a4df95
parentf0a72a0e7c682320fa38e71612008de3e3d796ca
dm thin: grab a virtual cell before looking up the mapping

commit c822ed967cba38505713d59ed40a114386ef6c01 upstream.

Avoids normal IO racing with discard.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/md/dm-thin.c