[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fe810cf0802242348w625a7e7bj1a5476d6c79662@mail.gmail.com>
Date: Mon, 25 Feb 2008 10:48:10 +0300
From: "Alexander Belyakov" <abelyako@...glemail.com>
To: "Pavel Machek" <pavel@....cz>
Cc: "kernel list" <linux-kernel@...r.kernel.org>,
linux-mtd@...ts.infradead.org,
"David Woodhouse" <dwmw2@...radead.org>,
"Jörn Engel" <joern@...fs.org>
Subject: Re: jffs2: -ENOSPC when truncating file?!
On Sun, Feb 24, 2008 at 2:57 AM, Pavel Machek <pavel@....cz> wrote:
> Hi!
>
> I'm trying to free space by truncating big file, and I get:
>
> root@...-gta01:~# ls -al gps.nmea
> -rw-r--r-- 1 root root 2332070 Feb 19 22:13 gps.nmea
> root@...-gta01:~# > gps.nmea
> -sh: cannot create gps.nmea: No space left on device
> root@...-gta01:~# rm gps.nmea
> root@...-gta01:~# > gps.nmea
> root@...-gta01:~#
>
> :-(
>
> Kernel is not-so-ancient, on openmoko:
Hi!
JFFS2 has known bug in GC leading to -ENOSPC upon file removal. Time
ago I've sent a patch with detailed explanations of what is going on.
Probably your case is the same.
Here is the patch
http://lists.infradead.org/pipermail/linux-mtd/2007-December/020091.html
(though infradead mailing list archive is missing most of messages
from this thread)
And here are some details
http://lists.infradead.org/pipermail/linux-mtd/2007-June/018756.html
Alexander
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists