From: David Woodhouse <dwmw2@infradead.org>
To: Frederic Giasson <fgiasson@mediatrix.com>
Cc: "'linux-mtd@lists.infradead.org'" <linux-mtd@lists.infradead.org>
Subject: Re: Append does not return error on full disks
Date: Tue, 28 May 2002 14:20:55 +0100 [thread overview]
Message-ID: <1274.1022592055@redhat.com> (raw)
In-Reply-To: <F1BED55F35F4D3118C0F00E0295CFF4D014ECF72@mail.mediatrix.com>
fgiasson@mediatrix.com said:
> I have observed that jffs2 nevers returns a 'disk full' error when an
> application appends data to an existing file. I have setup a test
> which opens an existing file for appending, and fwrite() data to it
> until fwrite() returns error. My test never stopped! So when I
> manually stoppped it, the file system was corrupted. I was unable to
> unmount it, and neither I could remount it after reboot. I have setup
> a second test which is a script instead of being a program, using the
> append '>>' command. Same results.
Eep. Can you reproduce this with the current code from either the trunk or
the jffs2-2_4-branch, and with CONFIG_JFFS2_FS_DEBUG=1, logging all the
messages via a serial console?
> During my test, I did'nt open the file with OSYNC flag though, maybe
> it could patch the problem. I will try it.
Doesn't matter. O_SYNC does nothing -- it's always synchronous anyway.
--
dwmw2
next prev parent reply other threads:[~2002-05-28 13:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-28 12:30 Append does not return error on full disks Frederic Giasson
2002-05-28 13:09 ` tkeitel
2002-05-28 13:20 ` David Woodhouse [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-05-29 14:55 Frederic Giasson
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=1274.1022592055@redhat.com \
--to=dwmw2@infradead.org \
--cc=fgiasson@mediatrix.com \
--cc=linux-mtd@lists.infradead.org \
/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