[dm-devel] Bisected: Massive memory leak in dm-snapshot in 3.1 development introduced

Michael Leun ml at newton.leun.net
Sun Oct 23 09:21:40 UTC 2011


Hi,

How to reproduce:

lvcreate -L30G -n testsnap vg1 # of course substitute VG as appropriate
dd if=/dev/zero of=/dev/vg1/testsnap bs=2M # to make things clear
lvcreate -L15G -s /dev/vg1/test -n testsnap
dd if=/dev/zero of=/dev/vg1/testsnap bs=2M &
watch free

I noticed roughly 1GB memory vanishing from free / -/+ buffers/cache
per 2GB copied.

Bisecting yielded a6e50b409d3f9e0833e69c3c9cca822e8fa4adbb, reverting
that from git master cures the memory leak

-- 
MfG,

Michael Leun




More information about the dm-devel mailing list