Jffs2_build_filesystem

what does the function do after i do sysupgrade -c test.bin?
if i power off the router when it is calling jffs2_build_filesystem , could it make the system cant start up?
i also have another question, writting file to /etc/test flash op will crash OS when power off?