* hibernate and file system/metadisk driver buffers/caches
@ 2010-11-01 22:59 Daniel Taylor
2010-11-02 3:52 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Taylor @ 2010-11-01 22:59 UTC (permalink / raw)
To: linux-kernel
>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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: hibernate and file system/metadisk driver buffers/caches
2010-11-01 22:59 hibernate and file system/metadisk driver buffers/caches Daniel Taylor
@ 2010-11-02 3:52 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2010-11-02 3:52 UTC (permalink / raw)
To: Daniel Taylor; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-02 3:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-01 22:59 hibernate and file system/metadisk driver buffers/caches Daniel Taylor
2010-11-02 3:52 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®