Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 2015 09:08:12 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        hackers@freebsd.org
Subject:   Re: kqueue of a nfs mounted file not working
Message-ID:  <3AEC67FD-2E67-4EF9-9D46-818ABF3D8118@cs.huji.ac.il>
In-Reply-To: <20151115152635.GB5854@kib.kiev.ua>
References:  <9BC3EFA2-945F-4C86-89F6-778873B58469@cs.huji.ac.il> <20151115152635.GB5854@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 15 Nov 2015, at 17:26, Konstantin Belousov <kostikbel@gmail.com> =
wrote:
>=20
> On Sun, Nov 15, 2015 at 11:22:55AM +0200, Daniel Braniss wrote:
>> HI,
>> I???m writing a program to monitor a file using kqueue(2), if the =
file is local
>> all is OK, but if the file is via a nfs mounted fs, it only works =
once.
>> stat shows the file growing, but kevent is not triggered.
>=20
> Does file grow due to local changes on the nfs client, or some other
> client changes the file, while your client tries to get kevent =
notifications ?

it gets updated by a host which has the file as local, so yes, it gets =
updated
by another client/host.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AEC67FD-2E67-4EF9-9D46-818ABF3D8118>