tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
VOP_WRITE without vnode lock
Is it safe (regarding data consistency) to VOP_WRITE() to a vnode
without holding the vnode lock when:
- The write is always a full size block.
- A block gets only written once and writes are serialized.
- No others are allowed to write the vnode.
- Data written is always the same that would have been read before.
or is there a window between GOP_ALLOC() and ubc_iomove() where we could
read allocated but not yet initialized data.
--
Juergen Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig
(Germany)
Home |
Main Index |
Thread Index |
Old Index