Thanks for the explanation. I'm curious as to what will be the contents of my
file, assuming the system panics right after the metadada of my file is logged
to the log_map (on-disk map). If the contents of the file itself are
unpredictable when a panic occurs, what will the lufs do during mount/re-mount?
The log_map indicates the transaction has been done. However, we don't know
whether the content update is completed. Are we rolling the metadata changes to
the inode anyway or do we discard it? Hypothetically, the content of the file
can either contain updated data or the old stuff. We understand that the block
address will not be changed because this is just an update operation but the
contents of the block will be unpredictable. At minimum, the file may have size
inconsistency issue because the block can be replaced with 500 bytes instead of
512.
This message posted from opensolaris.org
_______________________________________________
ufs-discuss mailing list
[email protected]