]> git.baikalelectronics.ru Git - kernel.git/commit
dm snapshot: allow chunk size to be less than page size
authorMikulas Patocka <mpatocka@redhat.com>
Fri, 16 Oct 2009 22:18:22 +0000 (23:18 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 16 Oct 2009 22:18:22 +0000 (23:18 +0100)
commit24f605e742af9f473b8e1f6051651e3a2955313c
tree8b38c2f4f046aa3525f50fb3bd51466c547f2a22
parent6af23d813933b440646cea1bb4a159503357fc31
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