[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multiple jffs_file_write calls
On Wed, 19 Jul 2000, Rogelio M. Serrano Jr. wrote:
> Does the VFS layer do the subdivision of large file writes such that it
> calls jffs_file_write multiple times with count exactly equal to
That was what I thought from the beginning as well. (Or instead of
MAX_CHUNK_SIZE perhaps a page size of two.) But no. Right now there
is no check whether the chunk of data is too large or not. The code
just assumes that the data chunk is not big. As I stated in the last
mail, this is something that's about to be changed.
> When jffs_file_write writes the chunk it appends the
> name and header to it and we end up with a chunk bigger than
Correct. This is a thing I will look into.
> Should we make VFS aware of mtd like what I think should
> be done or handle it in another way? What do you think?
I think this is something JFFS should handle.