[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: very long write times on jffs2



On Thu, Mar 28, 2002 at 11:34:03 +0100, Tino Keitel wrote:
> Hi folks,
> 
> It's me again. :-) I filled my 16 MB MTD with ca. 10 MB of some small files,
> resulting in a FS with 5 MB used. After that, I wrote a 5 MB file from
> /dev/urandom to the FS. It took 9 seconds. Writing a second 5 MB file took
> 11 seconds. The FS now has 1,4 MB unused. If I overwrite the second file with
> another 5 MB file, the dd command never returns (I waited for a few minutes).
> There are alway approx. 1-2 MB written to the file (exact size varies).
> Is this a known issue?
> 
> I'm using the CVS version that I grabbed yesterday.

Sorry, I forgot to include the log messages.

-- 
tino.keitel@xxxxxxx.com
dipl.-inf.                        Innominate Security Technologies AG
software engineer                                   networking people
tel: +49.30.6392-3308                      http://www.innominate.com/
r 28 11:38:38 tino kernel: jffs2_add_physical_node_ref(): Node at 0xa7fcac, size 0x354
Mar 28 11:38:38 tino kernel: jffs2_write_dnode wrote node at 0x00a7fcac with dsize 0x310, csize 0x310, node_crc 0x783f007e, data_crc 0x5ea4af44, totlen 0x00000354
Mar 28 11:38:38 tino kernel: jffs2_add_full_dnode_to_inode(ino #560, f c66dc544, fn c57227e0)
Mar 28 11:38:38 tino kernel: jffs2_complete_reservation()
Mar 28 11:38:38 tino kernel: thread_should_wake(): nr_free_blocks 0, nr_erasing_blocks -464, dirty_size 0x5933c8
Mar 28 11:38:38 tino kernel: increasing writtenlen by 784
Mar 28 11:38:38 tino kernel: jffs2_reserve_space(): Requested 0xc4 bytes
Mar 28 11:38:38 tino kernel: jffs2_reserve_space(): alloc sem got
Mar 28 11:38:38 tino kernel: Adding full erase block at 0x00a60000 to dirty_list (free 0x00000000, dirty 0x0000000c, used 0x0001fff4
Mar 28 11:38:38 tino kernel: Waiting for erases to complete. erasing_blocks is -464. (erasableempty: yes, erasingempty: yes, erasependingempty: no)
Mar 28 11:38:38 tino kernel: Triggering pending erases
Mar 28 11:38:38 tino kernel: jffs2_write_super(): flush_wbuf before gc-trigger
Mar 28 11:41:16 tino kernel: jffs2_clear_inode(): ino #47 mode 40755
Mar 28 11:41:16 tino kernel: jffs2_clear_inode(): ino #43 mode 40755
Mar 28 11:41:16 tino kernel: jffs2_clear_inode(): ino #9 mode 40755
Mar 28 11:41:16 tino kernel: jffs2_clear_inode(): ino #11 mode 40755
Mar 28 11:41:16 tino kernel: jffs2_clear_inode(): ino #15 mode 40755
Mar 28 11:41:16 tino kernel: jffs2_clear_inode(): ino #13 mode 40755
Mar 28 11:41:16 tino kernel: jffs2_clear_inode(): ino #61 mode 40755
Mar 28 11:41:16 tino kernel: jffs2_clear_inode(): ino #63 mode 40755
Mar 28 11:41:16 tino kernel: jffs2_clear_inode(): ino #35 mode 40755
Mar 28 11:41:16 tino kernel: jffs2_clear_inode(): ino #37 mode 40755
Mar 28 11:41:16 tino kernel: jffs2_clear_inode(): ino #53 mode 40755
Mar 28 11:41:16 tino kernel: jffs2_clear_inode(): ino #51 mode 40755
Mar 28 11:41:16 tino kernel: jffs2_clear_inode(): ino #27 mode 40755
Mar 28 11:41:16 tino kernel: jffs2_clear_inode(): ino #29 mode 40755
Mar 28 11:41:16 tino kernel: jffs2_clear_inode(): ino #23 mode 40755
Mar 28 11:41:16 tino kernel: jffs2_clear_inode(): ino #21 mode 40755
Mar 28 11:41:17 tino kernel: jffs2_clear_inode(): ino #55 mode 40755
Mar 28 11:41:17 tino kernel: jffs2_clear_inode(): ino #194 mode 100644
Mar 28 11:41:17 tino kernel: jffs2_clear_inode(): ino #57 mode 40755
Mar 28 11:41:17 tino kernel: jffs2_clear_inode(): ino #85 mode 100644
Mar 28 11:41:17 tino kernel: jffs2_clear_inode(): ino #69 mode 100644
Mar 28 11:41:17 tino kernel: jffs2_clear_inode(): ino #70 mode 100644
Mar 28 11:41:17 tino kernel: jffs2_clear_inode(): ino #31 mode 40755
Mar 28 11:41:17 tino kernel: jffs2_clear_inode(): ino #17 mode 40755
Mar 28 11:41:17 tino kernel: jffs2_clear_inode(): ino #3 mode 40755
Mar 28 11:41:17 tino kernel: jffs2_clear_inode(): ino #2 mode 40755