michael chang wrote:

Surely we don't want this.  Look at the papers on Namesys's websites,
about the atomicaty and the banking example.  But that's just my
personal opinion.  Besides, I believe it's more likely that usually
the power gets lost than the SCSI or IDE cable gets disconnected,
AFAIK...
A write() syscall with the O_SYNC flag must ensure that not only file data block but also journal (meta-data update) are written to a disk when this syscall end. But, current implementation of Reiserfs does not do that. If a system crashes, a filesystem recovers from the journal transaction log. But, Reiserfs may not
recover in some cases.
I checked other filesystems like ext3, jfs, xfs. Those filesystem write transactions to a disk everytime write() with the O_SYNC is performed. In those filesystem,
I have no trouble mentioned above.
I should say, the Reiserfs would be "un"reliable filesystem..........

Reply via email to