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

Re: max_chunk_size

On Tue, 11 Jul 2000, Nick Ivanter wrote:

> [...]

> > Okey. Then one should compute how large the chunk of data should be
> > in jffs_file_write(), set that size in the raw_inode struct and
> > return the size written. The calling process should then make another
> > write() with the rest of the data. How about that?
> It is acceptable, but I think it is better if jffs_file_write() would split large
> amount of data into several nodes of apropriate length and write them all. It is my
> only (humble ;) ) opinion.

You're right of course. It's an easy fix.

> Nick.