Re: [Bisected Regression in 2.6.35] A full tmpfs filesystem causeshibernation to hang
From: KOSAKI Motohiro
Date: Wed Aug 25 2010 - 04:39:36 EST
> > #!/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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/