I am wondering if UFS v. ZFS I chose UFS - if UFS still has the old race condition.
Long ago BSD and Linux had a race condition: if you read a file before it'd been committed to disk you got the old version of the file (it was called a race condition instead of a bug!). People writing /bin/sh scripts had to be careful of that.
Recently using 12.2 and UFS filesystem I had SEVERAL problems: sometimes I'd save file in vi but file didn't change? I'd recompile check the file and it'd be the same file (without recent changes that 'vi' said were saved). On one file I had changes corrupted (my change, but only 1/2 of the change). I rebooted after seeing that but it still kept happening.
I don't want to throw a red flag because I was in a developer rush and didn't bother to confirm the incidents. But there were several.
I am wondering if UFS v. ZFS I chose UFS - if UFS still has the old race condition, if I should have been expecting (file system corruption).
Long ago BSD and Linux had a race condition: if you read a file before it'd been committed to disk you got the old version of the file (it was called a race condition instead of a bug!). People writing /bin/sh scripts had to be careful of that.
Recently using 12.2 and UFS filesystem I had SEVERAL problems: sometimes I'd save file in vi but file didn't change? I'd recompile check the file and it'd be the same file (without recent changes that 'vi' said were saved). On one file I had changes corrupted (my change, but only 1/2 of the change). I rebooted after seeing that but it still kept happening.
I don't want to throw a red flag because I was in a developer rush and didn't bother to confirm the incidents. But there were several.
I am wondering if UFS v. ZFS I chose UFS - if UFS still has the old race condition, if I should have been expecting (file system corruption).