]> git.baikalelectronics.ru Git - kernel.git/commit
dm snapshot: reduce default memory allocation
authorMilan Broz <mbroz@redhat.com>
Thu, 24 Apr 2008 20:42:36 +0000 (21:42 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 25 Apr 2008 12:26:35 +0000 (13:26 +0100)
commit6f7813fbb2939918691140a91971104294ecaa28
treed419a324e1da7323113e8b6e0063ba94ab70fa70
parent86943f346b21804f79b52d107c6c05bba666883c
dm snapshot: reduce default memory allocation

Limit the amount of memory allocated per snapshot on systems
with a large page size.  (The larger default chunk size on
these systems compensates for the smaller number of pages reserved.)

Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-snap.c