]> 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)
commit717cfbc47008e3f6922269625b14d49d4efd6870
treefe7f5014b55b2130615d699a80b04427b4f1d3c2
parentdde486549e8f7dff58718fc7635a60ad4a0b4048
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