Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 May 2011 18:42:22 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        svn-src-head@freebsd.org, Rick Macklem <rmacklem@FreeBSD.org>, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r221124 - in head: . sbin/mount sbin/mount_nfs sys/amd64/conf sys/fs/nfsclient sys/i386/conf sys/ia64/conf sys/nfsclient sys/pc98/conf sys/powerpc/conf sys/sparc64/conf sys/sun4v/conf
Message-ID:  <86r58dqett.fsf@ds4.des.no>
In-Reply-To: <942285768.1045464.1304603653229.JavaMail.root@erie.cs.uoguelph.ca> (Rick Macklem's message of "Thu, 5 May 2011 09:54:13 -0400 (EDT)")
References:  <942285768.1045464.1304603653229.JavaMail.root@erie.cs.uoguelph.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Rick Macklem <rmacklem@uoguelph.ca> writes:
> Well, another way it could be handled would be to put the sysctls and
> the global variables they manipulate in a module shared by both clients,
> like sys/nfs/nfs_lock.c (module "nfslock"). Then the same sysctl would
> affect both clients. (I hesitate to create "yet another" module just
> to share the sysctls, but since "nfslock" is used by both clients, it
> should work ok, I think.)

I don't understand why you would want to do that.  Can't you just change
"oldnfs" back to "nfs" in the old stack?

Hmm, it occurred to me that there is currently no way to tell the kernel
that two drivers conflict with eachother.  Perhaps I should take a shot
at implementing a DRIVER_CONFLICT macro to mirror DRIVER_DEPEND.

BTW, don't take this personally, I'm very grateful for (and impressed
with) your NFS work, other than this little nit :)

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



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