]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit8ee2767a5903fde549fd3597690f64c8d951051a
treed419a324e1da7323113e8b6e0063ba94ab70fa70
parent924362629bf5645aee5f49f8a0d0d5b193e65997
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