tech-kern archive

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

Re: PUFFS ADVLOCK is to greedy



YAMAMOTO Takashi <yamt%mwd.biglobe.ne.jp@localhost> wrote:

> > Please consider the test case below, ran on a PUFFS/perfuse/glusterfs
> > mount. A look at the PUFFS operation trace shows that the kernel sends
> > ADVLOCK for f0, f1 and m when a lock is requested on m.
> > 
> > It only happens if f0 and f1 are open read-only. As I understand, a lock
> > requested on a file cause all files open read-only to be locked too.
> 
> do you mean that writably-opened files are not affected?

They are also affected. I did not notice at once, because glusterfs only
complain when we attempt to lock read-only files.

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


Home | Main Index | Thread Index | Old Index