[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
> Yeah. One day, write and rewrite should be merged into one single
I'm been thinking about this, and about the problems with garbage collection
taking to long. What about shifting all node writes into a kernel thread,
which also does the GC?
The jffs_file_write() function then only needs to queue the node(s) to be
written, and can return immediately. Obviously we have to implement a way
of flushing a particular file, but that shouldn't be too difficult.