dm snapshot: allow chunk size to be less than page size
commitc1cc65caa19bb8a1b2e371000ef2719581db1691
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 16 Oct 2009 22:18:22 +0000 (16 23:18 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 16 Oct 2009 22:18:22 +0000 (16 23:18 +0100)
tree8b38c2f4f046aa3525f50fb3bd51466c547f2a22
parentdf96eee679ba28c98cf722fa7c9f4286ee1ed0bd
dm snapshot: allow chunk size to be less than page size

Allow the snapshot chunk size to be smaller than the page size
The code is now capable of handling this due to some previous
fixes and enhancements.

As the page size varies between computers, prior to this patch,
the chunk size of a snapshot dictated which machines could read it:
Snapshots created on one machine might not be readable on another.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Reviewed-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-exception-store.c