[PATCH] yet another knfsd reply cache bugfix (plz test)

David Mansfield (david@cobite.com)
Fri, 29 Jan 1999 00:34:20 -0500 (EST)


This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

---1899033976-1539828495-917588060=:22254
Content-Type: TEXT/PLAIN; charset=US-ASCII

>
> PROC(readdir, readdirargs, readdirres, none, RC_REPLSTAT),
>
> the encode function is not the void func! It is readdirres So we are
> guaranteed of having a length > 1. So I think this at least is wrong, and
> should be changed to RC_REPLBUFF. I should repeat that I know fairly
> little about this and would love it if you gave it a second look...
>

To follow up on this, I tried the 'recommended change' to my server and
the messages seem to have gone away. I have tested with bonnie from
Solaris 2.6 and linux 2.2.0 (and both simultaneously) and the knfsd is
working flawlessly. I'll attach the patch for the above change.

David

---1899033976-1539828495-917588060=:22254
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="nfsproc.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.00.9901290034200.22254@ariel.cobite.com>
Content-Description:
Content-Disposition: attachment; filename="nfsproc.patch"

LS0tIGxpbnV4L2ZzL25mc2QvbmZzcHJvYy5jfglXZWQgSnVsIDIyIDE3OjM3
OjM2IDE5OTgNCisrKyBsaW51eC9mcy9uZnNkL25mc3Byb2MuYwlGcmkgSmFu
IDI5IDAwOjAwOjQyIDE5OTkNCkBAIC01MTUsNyArNTE1LDcgQEANCiAgIFBS
T0Moc3ltbGluaywJIHN5bWxpbmthcmdzLAl2b2lkLAkJbm9uZSwJCVJDX1JF
UExTVEFUKSwNCiAgIFBST0MobWtkaXIsCSBjcmVhdGVhcmdzLAlkaXJvcHJl
cywJZmhhbmRsZSwJUkNfUkVQTEJVRkYpLA0KICAgUFJPQyhybWRpciwJIGRp
cm9wYXJncywJdm9pZCwJCW5vbmUsCQlSQ19SRVBMU1RBVCksDQotICBQUk9D
KHJlYWRkaXIsCSByZWFkZGlyYXJncywJcmVhZGRpcnJlcywJbm9uZSwJCVJD
X1JFUExTVEFUKSwNCisgIFBST0MocmVhZGRpciwJIHJlYWRkaXJhcmdzLAly
ZWFkZGlycmVzLAlub25lLAkJUkNfUkVQTEJVRkYpLA0KICAgUFJPQyhzdGF0
ZnMsCSBmaGFuZGxlLAlzdGF0ZnNyZXMsCW5vbmUsCQlSQ19OT0NBQ0hFKSwN
CiB9Ow0KIA0K
---1899033976-1539828495-917588060=:22254--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/