Atomic writes without tears
Atomic writes without tears
Posted Jun 1, 2024 2:43 UTC (Sat) by alkbyby (subscriber, #61687)In reply to: Atomic writes without tears by koverstreet
Parent article: Atomic writes without tears
> COW filesystems can do this without device support, so we'll want to plumb this into bcachefs too
My understanding is that in order to support this filesystem either needs to append some sort of checksum to each write like this and "waste" full block per such write. Or do write of data, then fsync, then write of metadata, then fsync again. So kinda close to double-writes they're trying to optimize-away in DBMS-es. Either way, it costs more.
So using hardware still seems like more attractive proposition. Unless I am missing something.
