Re: ramfs leak

W Christopher Martin (wcm@catnap.com)
Fri, 9 Nov 2001 15:40:43 -0500 (EST)


Padraig Brady writes:
> When I remove files from a ramfs the space is not reclaimed?
> What am I doing wrong? Details below.

Nothing. We've noticed the same thing. It's a bug and was
first reported back in July, but no one has provided a fix yet.
I've had a brief look at the source code, but nothing obvious
pops out at me.

As you mention, this problem is trivially reproducable by
creating and then deleting a file. Doing that over and over
eventually leads to the ramfs becoming full. Only a reboot
(or perhaps a umount/mount) makes it usable again.

Chris Martin
Catnap Consultants
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/