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


On Thu, 27 Jun 2002, Yves Rutschle wrote:

> Does O_NONBLOCK work when writing to JFFS2? Some measures I
> did seem to show that the write times are similar with or
> without it, and just slightly slower than actual flash write
> time (which is fair enough if you don't have O_NONBLOCK I
> guess).
> All in all, it seems to act as if O_SYNC was on all the
> time.

We don't do _any_ write-behind in JFFS2; it is entirely synchronous. You
have to wait for the writes. The garbage collection thread does GC to make
space ahead of time, so you shouldn't normally have to wait for GC to make
space for your write, though.


To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com