dm cache: improve efficiency of quiescing flag management
authorJoe Thornber <ejt@redhat.com>
Wed, 30 Oct 2013 17:29:30 +0000 (17:29 +0000)
committerMike Snitzer <snitzer@redhat.com>
Sat, 9 Nov 2013 23:19:59 +0000 (18:19 -0500)
commit238f8363b6661fd9dd9aae854917ab9c661f3652
treec1ea27daf3c5b2b0ff37f2ee2037bd74458f1d23
parent66cb1910df17b38334153462ec8166e48058035f
dm cache: improve efficiency of quiescing flag management

Make the quiescing flag an atomic_t and stop protecting it with a spin
lock.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-cache-target.c