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

Re: I/O error copying file to jffs, no obvous problem in jffs log?




vmalik@xxxxxxx.com said:
>  Ok, here it is. It seems (from the log) that only intergral number of
> 4096 bytes get written. Any data write less than this number (which
> would be the last write) fails. 

On an arch with 4KiB pages, yes? Looks like commit_write() is failing if it 
doesn't write a complete page. Can you add debugging printks to the start 
and end of readpage, prepare_write and commit_write()?

--
dwmw2



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