file system deprecation question
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi-
I asked a couple of filesystem/kernel higher-ups.
Client: A kernel message at module load time sounds like a good idea, along with a target date when we would consider a "go/no-go" decision for removing NFSv2. I also agree we should solicit opinion from other Linux distributors.
For the server, similar arrangements for a kernel message might be made. And a conversation with other NFS storage vendors (for example, at testing events) seems reasonable.
Begin forwarded message:
Quoted 38 lines
From: Chris Mason <[email protected]>
Subject: Re: file system deprecation question
Date: July 8, 2013 11:43:40 AM EDT
To: Greg KH <[email protected]>, Chuck Lever <[email protected]>Quoting Greg KH (2013-07-08 11:39:31)
Quoted 17 lines · Chuck Lever
Quoted 11 lines
Thanks, I've copied Greg.
The idea is Linux would prevent the use of the oldest version of NFS. Only NFSv3 and later would be supported in the client. The Linux NFS community doesn't want to bother with NFSv2 any more because they feel there are very few people using it due to its inherent limitations.
Recently Bryan Schumaker did some work to modularize the NFS client so code specific to each NFS protocol version has been moved to its own .ko. I assume we would just move that code to the staging tree, but it may be more complicated than that.
Yes, you can remove drivers from the kernel tree through staging, but really, it's just as easy for you to delete them entirely if you want to from your directory.
Quoted 6 lines
Like Chris said, have them print a big nasty warning every time the driver is loaded for a year or so, then remove it if no one complains. But if someone is still using it, you really can't remove it. Heck, we still have filesystems that are way older than NFSv2 in the kernel because they have users, I doubt you will be able to drop this code anytime soon, sorry.
I go even farther than the warning, and after a few releases of the scary warning make them mount with -o iknownfsv2isgoingway
You'll also want rhel/suse on board. It doesn't help if its gone from mainline and they just port it into the enterprise distro.
-chris
Signature · 2 lines
Chuck Lever chuck[dot]lever[at]oracle[dot]com