Messages in this thread | | | From | KOSAKI Motohiro <> | Subject | Re: [Bisected Regression in 2.6.35] A full tmpfs filesystem causeshibernation to hang | Date | Wed, 25 Aug 2010 17:39:17 +0900 (JST) |
| |
> > #!/bin/bash > > > > rm -vf /tmp/tmp > > dd if=/dev/zero of=/tmp/tmp bs=1024k count=1600 > > shred -vn1 /tmp/tmp > > > > exit 0 ### removed when testing hibernation > > > > read -p "Press enter to hibernate..." > > > > echo -n reboot > /sys/power/disk > > echo -n disk > /sys/power/state > > > > echo "Exit code: $?" > > > > rm -vf /tmp/tmp > > Almostly same with my test program ;)
Can you please try to avoid to use /tmp. As I said,
mount -t tmpfs none /mnt/another_tmpfs dd if=/dev/zero of=/mnt/another_tmpfs/tmp bs=1024k count=1600 shred -vn1 /mnt/another_tmpfs/tmp
That said, We need to know you issue is lots-anon-pages issue or filesystem-full issue.
| |