|
|
To improve performance, most filesystems do not synchronously update data and inode changes to disk. If the system crashes, files that have been updated within the past minute are in danger of losing data.
In addition to the standard mount mode, the vxfs filesystem provides the mincache option. With the mincache=closesync mode, if the system crashes or is switched off, only files that are currently being written can lose data. A mincache=closesync mode filesystem is somewhat slower than a standard mode vxfs filesystem, depending on the workload.
The mincache=closesync mode is useful in desktop environments where users are likely to shut off the power on the machine without halting it first. In this mode, any unlogged changes to the file are flushed to disk when the file is closed.