dm thin: switch to an atomic_t for tracking pending new block preparations
authorJoe Thornber <ejt@redhat.com>
Fri, 13 Jun 2014 12:57:09 +0000 (13:57 +0100)
committerMike Snitzer <snitzer@redhat.com>
Fri, 1 Aug 2014 16:30:31 +0000 (12:30 -0400)
Previously we used separate boolean values to track quiescing and
copying actions.  By switching to an atomic_t we can support blocks that
need a partial copy and partial zero.

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

Simple merge