>From what I have found in Documentation/power, I should be
able to hibernate a system to a partition on flash, and
resume it, preserving its entire state.
In case I missed something, though, does anyone know if,
in particular, MD stripe buffers are preserved, as well
as the EXTn/XFS buffers/caches? I think I read that I/O
buffers in use by drivers are saved only if the driver
has the appropriate suspend() interfaces.
Dan Taylor
On Monday, November 01, 2010, Daniel Taylor wrote:
> From what I have found in Documentation/power, I should be
> able to hibernate a system to a partition on flash, and
> resume it, preserving its entire state.
>
> In case I missed something, though, does anyone know if,
> in particular, MD stripe buffers are preserved, as well
> as the EXTn/XFS buffers/caches? I think I read that I/O
> buffers in use by drivers are saved only if the driver
> has the appropriate suspend() interfaces.
The entire contents of memory at the moment the image is created are saved.
However, we need room for the image, so we free approximately 50% of memory
before creating the image by creating artificial memory pressure.
Thanks,
Rafael