From: Andrew Morton <akpm@osdl.org>
To: Olaf Hering <olh@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: ramdisk contents lost with 2.6
Date: Mon, 24 Nov 2003 12:07:14 -0800 [thread overview]
Message-ID: <20031124120714.75aa91fd.akpm@osdl.org> (raw)
In-Reply-To: <20031124174934.GA32112@suse.de>
Olaf Hering <olh@suse.de> wrote:
>
> Good morning,
>
> is it only me or is the file really gone with 2.6?
>
> umount -v /mnt
> /sbin/mkfs.ext2 /dev/ram3
> mount -v /dev/ram3 /mnt
> cp /etc/hosts /mnt
> sync
> umount -v /mnt
> mount -v /dev/ram3 /mnt
> ls -l /mnt/hosts
> umount -v /mnt
>
>
> works ok with 2.4.
>
Yup. Because the kernel considers the ramdisk as being "memory backed" it
doesn't do writeback into the blockdev pagecache. If you remove the
memory-backed flag, ramdisk contributes to dirty memory in undesirable
ways. That memory-backed flag is too overloaded and needs to be split up.
It's something I need to fix, but nobody seemed to be hurting from it up to
now so I figured it could wait until after 2.6.0.
prev parent reply other threads:[~2003-11-24 20:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-24 17:49 Olaf Hering
2003-11-24 20:07 ` Andrew Morton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031124120714.75aa91fd.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=olh@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®