dm cache metadata: add "metadata2" feature
authorJoe Thornber <ejt@redhat.com>
Thu, 22 Sep 2016 10:15:21 +0000 (06:15 -0400)
committerMike Snitzer <snitzer@redhat.com>
Thu, 16 Feb 2017 18:12:47 +0000 (13:12 -0500)
commit629d0a8a1a104187db8fbf966e4cc5cfb6aa9a3c
treedf900a59355073aca34dd8de83d4ca631428cd6e
parentae4a46a1f60942263d6fd119fe1da49bb16d2bd5
dm cache metadata: add "metadata2" feature

If "metadata2" is provided as a table argument when creating/loading a
cache target a more compact metadata format, with separate dirty bits,
is used.  "metadata2" improves speed of shutting down a cache target.

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