Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Sep 2000 09:22:13 -0700
From:      Fred Gilham <gilham@snapdragon.csl.sri.com>
To:        freebsd-stable@FreeBSD.ORG
Subject:   tail -f over NFS in -stable
Message-ID:  <200009011622.JAA29262@csla.csl.sri.com>

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

In 4.1-stable tail -f over NFS polls rather than blocking.


 ...
kevent(0x4,0x0,0x0,0xbfbff54c,0x1,0x0)           = 1 (0x1)
read(0x3,0x804d000,0x2000)                       = 0 (0x0)
kevent(0x4,0x0,0x0,0xbfbff54c,0x1,0x0)           = 1 (0x1)
read(0x3,0x804d000,0x2000)                       = 0 (0x0)
kevent(0x4,0x0,0x0,0xbfbff54c,0x1,0x0)           = 1 (0x1)
read(0x3,0x804d000,0x2000)                       = 0 (0x0)
kevent(0x4,0x0,0x0,0xbfbff54c,0x1,0x0)           = 1 (0x1)
read(0x3,0x804d000,0x2000)                       = 0 (0x0)
kevent(0x4,0x0,0x0,0xbfbff54c,0x1,0x0)           = 1 (0x1)
read(0x3,0x804d000,0x2000)                       = 0 (0x0)
kevent(0x4,0x0,0x0,0xbfbff54c,0x1,0x0)           = 1 (0x1)
read(0x3,0x804d000,0x2000)                       = 0 (0x0)
kevent(0x4,0x0,0x0,0xbfbff54c,0x1,0x0)           = 1 (0x1)
read(0x3,0x804d000,0x2000)                       = 0 (0x0)
kevent(0x4,0x0,0x0,0xbfbff54c,0x1,0x0)           = 1 (0x1)
read(0x3,0x804d000,0x2000)                       = 0 (0x0)
 (on and on)
 ...

This doesn't seem to happen on a local file:

 ...
kqueue()                                         = 4 (0x4)
read(0x3,0x804d000,0x2000)                       = 0 (0x0)
kevent(0x4,0xbfbff54c,0x1,0x0,0x0,0xbfbff4e4)    = 0 (0x0)
read(0x3,0x804d000,0x2000)                       = 0 (0x0)
 (pauses here)





FreeBSD snapdragon.csl.sri.com 4.1-STABLE FreeBSD 4.1-STABLE #3: Fri Sep  1 08:57:56 PDT 2000
gilham@snapdragon.csl.sri.com:/usr/src/sys/compile/MYKERN  i386



-Fred


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009011622.JAA29262>