Garrett: ext4, application expectations and power management
Garrett: ext4, application expectations and power management
Posted Mar 16, 2009 14:25 UTC (Mon) by jamesh (guest, #1159)In reply to: Garrett: ext4, application expectations and power management by Nick
Parent article: Garrett: ext4, application expectations and power management
> the documented standards and assuming it will "honour" some semantics
> that they happen to think are reasonable.
Which standard is the application not honouring? The POSIX standard leaves behaviour over system crashes undefined so they can't rely on that one.
Absent some other standard to define the behaviour on crash, applications are left to assume that the implementation defined behaviour is sane.
Given the POSIX defined behaviour of rename() when the system isn't crashing and real world behaviour of ext3, zfs, etc, having the filesystem attempt to preserve the atomic "old content or new content" behaviour seems desirable.
