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 <> 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

Home | Main Index | Thread Index | Old Index