All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Artem B. Bityutskiy" <dedekind@yandex.ru>
To: linux-mtd@lists.infradead.org
Cc: luyang_ly@hotmail.com
Subject: [Fwd: Re: a problem about jffs2]
Date: Thu, 10 Nov 2005 14:55:16 +0300	[thread overview]
Message-ID: <43733524.4030402@yandex.ru> (raw)

Just forwarding to the appropriate mailing list.

		Artem.

-------- Original Message --------
Subject: Re: a problem about jffs2
Date: Wed, 9 Nov 2005 20:02:02 -0800 (PST)
From: Linus Torvalds <torvalds@osdl.org>
To: Thomas Gleixner <tglx@linutronix.de>,	David Woodhouse 
<dwmw2@infradead.org>,	"Artem B. Bityutskiy" <dedekind@infradead.org>, 
Todd Poynor <tpoynor@mvista.com>,	Ferenc Havasi <havasi@inf.u-szeged.hu>
References: <BAY114-F29E1CCEFBD64791D2C1DC28D660@phx.gbl>


Just forwarding to people who are more appropriate.

		Linus
--
YangLu YangLu <luyang_ly@hotmail.com>
On Thu, 10 Nov 2005, YangLu YangLu wrote:
>
> Dear Linus:
> 
> 	I recently meet a problem about jffs2.
> 
> 	There have three sectors in my mobilephone(OMAP730):
> 	/dev/mtdblock3           16384      3276     13108  20% /System
> 	/dev/mtdblock4            2048       388      1660  19% /Sysdisk
> 	/dev/mtdblock5            5120       388      4732   8% /Appdisk
> 
> 	I built new file(ph_bk) in /Sysdisk dirctory. 	I write a test
> program, as follows:
> 	1) open it.
> 	fd = fopen(argv[1], "r+");
> 	2) fseek with a random number, then write a number
> 	for (;;) {
> 		offset = rand();
> 		fseek(fd, offset % (1024*1024), SEEK_SET);
> 		fwrite(&offset,sizeof(int), 1, fd);
> 	}
> 
> 	I want to limit the file with 1M size, but when the test program run
> in background,
> 	this file maintain 1M size, but available space on /dev/mtdblock4
> continue to reduce, as below:
> 	Filesystem           1k-blocks      Used Available Use% Mounted on
> 	/dev/mtdblock4            2048       512      1536  25% /Sysdisk
> /dev/mtdblock4            2048       688      1360  34% /Sysdisk
> 	/dev/mtdblock4            2048       792      1256  39% /Sysdisk
> 	/dev/mtdblock4            2048       856      1192  42% /Sysdisk
> 	/dev/mtdblock4            2048      1212       836  59% /Sysdisk
> 	/dev/mtdblock4            2048      1516       532  74% /Sysdisk
> 	/dev/mtdblock4            2048      1920       128  94% /Sysdisk
> 
> 	Is it jffs2 filesystem's bug?
> 
> 	Thanks!
> 
> Best Regards,
> Richard
> 

             reply	other threads:[~2005-11-10 11:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-10 11:55 Artem B. Bityutskiy [this message]
2005-11-11  3:32 ` [Fwd: Re: a problem about jffs2] zhao, forrest
2005-11-11  5:30   ` YangLu YangLu

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=43733524.4030402@yandex.ru \
    --to=dedekind@yandex.ru \
    --cc=linux-mtd@lists.infradead.org \
    --cc=luyang_ly@hotmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.