Re: [PATCH RFC 0/3] Add server-side support for junctions to nfs-utils

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 01/09/2018 02:36 PM, Chuck Lever wrote:
> 
> 
>> On Jan 9, 2018, at 2:21 PM, bfields@xxxxxxxxxxxx wrote:
>>
>> Thanks for doing this!  I may not get the chance to do a real review,
>> but I'm in favor of the basic idea.
> 
> How do you feel about building support for junctions into mountd,
> and getting rid of the libnfsjunct DLL ?
I would rather not put new functionality in daemons that needs rpcbind.
With the idea of, someday, having clean v4-only configuration
(aka no mountd, statd, or lockd).  

>>
>> On Mon, Jan 08, 2018 at 04:49:50PM -0500, Chuck Lever wrote:
>>> THIS IS AN UNTESTED RFC SERIES. I'm posting this for review only.
>>>
>>> A while back I announced the deprecation of fedfs-utils. There were
>>> a handful of components in fedfs-utils that we decided to keep. One
>>> of those keepers was the "nfsref" command. (The other was autofs
>>> support for /nfs4, which I hope Ian Kent is making progress on ;-)
>>>
>>> This is an RFC patch series to introduce "nfsref" to nfs-utils,
>>> minus the overhead of the LDAP / FedFS machinery. It also adds a
>>> version of libnfsjunct which mountd can dynamically load to handle
>>> non-FedFS junctions, replacing the same part from fedfs-utils.
>>>
>>> I didn't apply a lot of brain cells to this port, so it's perhaps a
>>> little larger than it needs to be. Still, it achieves a completely
>>> LDAP-free implementation. I'm interested in comments about the
>>> approach before I do more testing and refinement.
>>>
>>>  ./configure --enable-junction --enable-caps
>>>
>>> is needed before building.
>>>
>>> Perhaps one thing that can be done is simply getting rid of the DLL
>>> and building junction support into mountd. I'm not sure if a
>>> transition period is necessary where the DLL is retained for a bit
>>> until fedfs-utils is entirely gone. Does anything but mountd use
>>> libnfsjunct ?
So nfsref is to manage NFS referrals... got it... which I think
is a good thing to put into nfs-utils.. but again I wold like
to move a way from using mountd for exporting stuff.

I must admit my memory on how referrals work is a bet strained, 
but does it make any sense at all to move the referral code out 
of mountd and into a new command maybe called nfsexport. Then
have the kernel call up to that command (similar to how it
does with nfsidmap) to get the referrals info. That way
only nfsexport would link with libnfsjunct.

Now I realize this has nothing to do with putting nfsref
into nfs-utils... I'm all for that... and I'm not asking you
to do the work... I'm thinking out loud... Does it 
make sense to use this opportunity to build new mechanisms 
to handle referrals and then possibly all exports??
Again, with the idea of eliminating need for legacy daemons.

steved.
  
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux