Could no one meet this problem?
--
You received this message because you are subscribed to the Google Groups "UFFS" group.
To view this discussion on the web visit https://groups.google.com/d/msg/uffs/-/qJXQkok1o5sJ.
To post to this group, send email to uf...@googlegroups.com.
To unsubscribe from this group, send email to uffs+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/uffs?hl=en.
在 2012-03-01 18:52:46,"Frédéric SERGENT" <fred.ser...@gmail.com> 写道:
Could no one meet this problem?
Hi Flame,
I just gave it a quick try (by default, I do not enable CONFIG_FLUSH_BUF_AFTER_WRITE); it seems to work here.
I don't think the parameters serial and parent are reversed:
- it seems to me that the parent of the written block is the serial number of the object (i.e., th serial number of the file you are writing to)
- the serial number fdn is computed according to the offset which you are writing to. I suppose it allows to reorder the blocks when analysing the partition at startup
- in the case you create a new block, just above ("// Flush immediately, so that the new data node will be // created and put in the tree"), uffs_BufFlushGroup is called in the exact same way. Does it work for you?
Good luck,
Fred
--
You received this message because you are subscribed to the Google Groups "UFFS" group.
To view this discussion on the web visit https://groups.google.com/d/msg/uffs/-/qJXQkok1o5sJ.
To post to this group, send email to uf...@googlegroups.com.
To unsubscribe from this group, send email to uffs+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/uffs/-/NPgaKke1owwJ.
To unsubscribe from this group, send email to uffs+uns...@googlegroups.com.
uffs_BufFlushGroup(dev, fnode->u.file.parent,fnode-
To unsubscribe from this group, send email to uffs+unsub...@googlegroups.com.