lkml.org 
[lkml]   [2000]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectFilesystem question
Hi,

I have minix/ext2fs running on top a 'flashdisk' on
an ep7211 based system. Writes to the flash have to
follow an erase of the corresponding sector. (Most
of the flash sectors are 128K). Filesystem syncs
sends down 1024 byte chunks to my flashdisk driver.
So I am facing the prospect of erasing an entire
flash sector, store the contents and swap them back after
writing the 1024 chunk. Needless to say, this
process is extremely slow.

How do I get fsync to pass me down big chunks of
data at a time?

I tried changing the BLOCK_SIZE (fs.h) and
changed the 'blocksize_size[MAJOR_NO]'.
This does'nt work. ext2fs supports only a max
of PAGESIZE blocks I guess, and the filesystem
type itself is not recognized during bootup for minix.

Thanks & Regards,
Sreekrishnan V


-------------------------------------------------------------------------------
Get a free mail address from http://www.indiainfo.com


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.031 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site