[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vim file write mode on journaling fs.
Steve Lord <lord@sgi.com> writes:
> 2. An individual thread doing a write in XFS has no way of knowing
> or predicting what else may just of happened, or be about to
> happen on the system. You cannot say 'I will write my data now
> because the system is idle', there may be a couple of Gbytes of
> I/O about to come in from another source.
Why couldn't the kernel keep some statistics about disk usage, and use
those to make an educated guess as to whether or not we should write
out the data immediately?
I appreciate that XFS can deal with gigabytes of I/O, but such an
event is very unlikely on my laptop :)