Fong Vang wrote:
I just read the following article:
Near the end, this line caught my attention: "the delay means that
while a crash will not destroy FS, it might result in significant loss
of data that has not yet been written to the disc."
I'm just wondering if this delay parameter is tunable and what the default is.
Just the same delay as if the data was written out into already allocated
space. Unless you do a write with O_SYNC or O_DIRECT or use fsync, there
is always a delay between a write call completing and the data hitting the
disk. The only difference with delayed allocation is that the allocate
is done with the flush rather than with the write. The timing difference
on the flush to disk is not going to be measurable.