[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/38039: genfs+ufs inode locking problem
>Synopsis: genfs+ufs inode locking problem
>Arrival-Date: Fri Feb 15 23:15:00 +0000 2008
>Originator: Andrew Doran
The NetBSD Project
ufs_gop_markupdate modifies inode::i_flag without holding the vnode lock.
Under the right circumstances inode updates could be delayed or never
flushed to disk.
Using atomics to maintain i_flag seems too expensive. We could introduce
another field to be maintained using atomic ops, and combine it with
i_flag in ffs_itimes(). If we had inode locks it would probably make
sense to use those.
Main Index |
Thread Index |