tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: VOP_GETATTR: locking protocol change proposal



J. Hannken-Illjes <hannken%eis.cs.tu-bs.de@localhost> wrote:

> With the attached diff the locking protocol requests at least a shared
> lock and all calls to VOP_GETATTR() outside of file systems respect it.

Please look at pn_sizemtx in src/fs/puffs/puffs_vnop.c 

As I understand your change allows to remove it.
VOP_(SETATTR|FSYNC|INACTIVE|WRITE) all operate of anexclusive locked
vnode, right?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index