tech-kern archive

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

Re: VOP_GETATTR: locking protocol change proposal

On Oct 9, 2011, at 5:02 PM, Emmanuel Dreyfus wrote:

> 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

I know -- there are other places too.

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


Juergen Hannken-Illjes - - TU Braunschweig 

Home | Main Index | Thread Index | Old Index