[git pull] device-mapper fixes for 3.9

From: Alasdair G Kergon
Date: Wed Mar 20 2013 - 22:26:41 EST


Please pull from:

git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-dm tags/dm-3.9-fixes

to get the following device-mapper fixes for 3.9.

Thanks,
Alasdair

----------------------------------------------------------------
A set of device-mapper fixes for 3.9.

Fix reported data loss with discards and thin snapshots; avoid a
deadlock observed in dm verity; fix a race in the new dm cache code
along with some other minor bugs; store the cache policy version on disk
to make the stored hints format future-proof.

----------------------------------------------------------------
Heinz Mauelshagen (2):
dm cache: detect cache_create failure
dm cache: avoid calling policy destructor twice on error

Joe Thornber (5):
dm thin: fix discard corruption
dm thin: fix non power of two discard granularity calc
dm cache: avoid 64 bit division on 32 bit
dm cache: metadata clear dirty bits on clean shutdown
dm cache: fix race in writethrough implementation

Mike Snitzer (2):
dm cache: policy change version from string to integer set
dm cache: policy ignore hints if generated by different version

Mikulas Patocka (1):
dm verity: avoid deadlock

drivers/md/dm-bufio.c | 2 +
drivers/md/dm-cache-metadata.c | 64 ++++++++--
drivers/md/dm-cache-metadata.h | 2 +-
drivers/md/dm-cache-policy-cleaner.c | 7 +-
drivers/md/dm-cache-policy-internal.h | 2 +
drivers/md/dm-cache-policy-mq.c | 8 +-
drivers/md/dm-cache-policy.c | 8 ++
drivers/md/dm-cache-policy.h | 2 +
drivers/md/dm-cache-target.c | 169 +++++++++++++++++---------
drivers/md/dm-thin.c | 11 +-
drivers/md/dm-verity.c | 39 +++++-
drivers/md/persistent-data/dm-btree-remove.c | 46 +++----
12 files changed, 252 insertions(+), 108 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/