On Tue, 2012-03-20 at 10:17 -0400, Adam Jackson wrote:
> But it still seems to me like disabling
> swap on shutdown is useless work.
So, do I file this against initscripts or something else?
--
Bojan
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/
On 3/20/12 9:19 AM, Bojan Smojver wrote:
Adam Jackson wrote:
Now as to why we disable swap on shutdown, I'm not really sure. It
certainly seems like useless work to me.
Would it help if all memory based file systems got unmounted before
swap gets disabled? That would kill these files, right?
Adam Jackson wrote:
> Now as to why we disable swap on shutdown, I'm not really sure. It
> certainly seems like useless work to me.
We want to be sure we'll be able to stop/disassemble any block
devices that are underneath it (RAID arrays etc.).
Sure, if it's a simple partition, the work is usel
Adam Jackson wrote:
>Presumably because that file got paged out.
>
>Think about it. Disabling swap doesn't know that the file exists only
>on a RAM-based file system, and even if it did, doesn't know that we're
>
>about to shut down. So swapoff has to assume that any pages currently
>in the s
On 3/19/12 11:42 PM, Bojan Smojver wrote:
Before I file a bug for this, I need to figure out which component may
be doing this. If one creates a large file (several GB) in /dev/shm and
shuts down, the system will take many minutes to shut down. Last message
before hang is "Disabling swap".
Not s
Before I file a bug for this, I need to figure out which component may
be doing this. If one creates a large file (several GB) in /dev/shm and
shuts down, the system will take many minutes to shut down. Last message
before hang is "Disabling swap".
Not sure which component is doing that and why. T