]> git.baikalelectronics.ru Git - kernel.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)
committerMike Snitzer <snitzer@redhat.com>
Tue, 4 Nov 2014 18:05:53 +0000 (13:05 -0500)
commitb9c99656b9be64873885a66c7246bcfdeb35a38a
treefe7f5014b55b2130615d699a80b04427b4f1d3c2
parent5f95c862fa968b21ebf3dc46368c143dec6ef024
dm thin: grab a virtual cell before looking up the mapping

Avoids normal IO racing with discard.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Cc: stable@vger.kernel.org
drivers/md/dm-thin.c