some questions regarding the write operation on JFFS2

David Woodhouse dwmw2 at infradead.org
Wed Jan 19 13:53:40 EST 2005


On Wed, 2005-01-19 at 10:43 -0800, Vahid Fereydunkolahi wrote:
> If the application calls a write system call, which is more than the
> VFS page size, then the VFS will break this write operation based on
> the size of the page. this means that JFFS2 does not have any
> knowledge about the whole write operation. If power failure happens
> during the write operation, the data can be written partially.

Please don't top-post. Read http://david.woodhou.se/email.html

What you say is true -- the data can be written partially. This is true
for all file systems, and doesn't even need a power failure -- if you
ask them to write a certain amount, they may write less than that and
then return.

-- 
dwmw2





More information about the linux-mtd mailing list