Re: Remote DFS root support
Igor Mammedov <[email protected]>
| Newsgroups | gmane.linux.file-systems.cifs |
|---|---|
| Message-ID | <[email protected]> |
Yes, I wrote it for this case. Werner Maes wrote: > isn't this patch 3 necessary to solve this issue below: > > 2. Server returns referrals without any server holding storage. > Todays implementation is a list scan in > cifs_dfs_follow_mountpoint starting at cifs_dfs_ref.c:346 > attempting to mount any referral that has flag DFSREF_STORAGE_SERVER. > > Server may respond with referrals without flag DFSREF_STORAGE_SERVER set. > That just tells us that a server in a referral may know the storage server name > and we shall ask it for referrals instead of attempting to mount. > Example: > SRV1 returns 2 referrals SRV2 and SRV5 without DFSREF_STORAGE_SERVER flag set. > Client should go down the tree and ask each server till it get referral with > DFSREF_STORAGE_SERVER flag set. > > SRV1 > / \ > SRV2 SRV5 > / \ > SRV3 SRV4 > \ > STORAGE > > > So essentially we need to implement a tree walk with a detection of > possible loops in case of misconfiguration to avoid infinite loop in kernel. > >> As of a few days ago the official Linux tree (and will be in rc3) had >> all of the fixesfrom cifs-2.6.git tree (including the DFS ones). >> >> On Tue, Apr 21, 2009 at 10:01 AM, Igor Mammedov <[email protected]> >> wrote: >>> All these patches except of >>> "[PATCH 3/3] [CIFS] Enable dfs submounts to handle remote referrals" >>> are in Steve's git tree already. >>> >>> >>> Werner Maes wrote: >>>> when will these patches be integrated in an official kernel? >>>> >>>> kind regards >>>> >>>> werner >>>> >>>>> -----Original Message----- >>>>> From: Igor Mammedov [mailto:[email protected]] >>>>> Sent: maandag 23 maart 2009 18:19 >>>>> To: Werner Maes >>>>> Cc: '[email protected]' >>>>> Subject: Re: [linux-cifs-client] Remote DFS root support >>>>> >>>>> Werner Maes wrote: >>>>>> I would like to test these patches but I had no luck integrating >> them >>>>> and building a new fedora kernel rpm. >>>>> >>>>> They are made against the current Steve's git tree (try commit >>>>> 64cc2c63694a03393985ffc8b178e72f52dd8a06). >>>>> >>>>>> damn >>>>>> >>>>>> werner >>>>>> >>>>>>> Today's Topics: >>>>>>> >>>>>>> 1. [PATCH 0/3] Remote DFS root support: Intro. (Igor Mammedov) >>>>>>> 2. [PATCH 3/3] [CIFS] Enable dfs submounts to handle remote >>>>>>> referrals. (Igor Mammedov) >>>>>>> 3. [PATCH 1/3] [CIFS] Rename compose_mount_options to >>>>>>> cifs_compose_mount_options. (Igor Mammedov) >>>>>>> 4. [PATCH 3/3] [CIFS] Enable dfs submounts to handle remote >>>>>>> referrals. (Igor Mammedov) >>>>>>> 5. [PATCH 2/3] [CIFS] Remote DFS root support. (Igor Mammedov) >>>>>>> 6. Re: [PATCH 1/3] [CIFS] Rename compose_mount_options >> to >>>>>>> cifs_compose_mount_options. (Steve French) >>>>>>> >>>>>> Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm >>>>>> >>>>>> _______________________________________________ >>>>>> linux-cifs-client mailing list >>>>>> [email protected] >>>>>> https://lists.samba.org/mailman/listinfo/linux-cifs-client >>>>> -- >>>>> >>>>> Best regards, >>>>> >>>>> ------------------------- >>>>> Igor Mammedov, >>>>> niallain "at" gmail.com >>>>> >>>>> >>>>> >>> -- >>> >>> Best regards, >>> >>> ------------------------- >>> Igor Mammedov, >>> niallain "at" gmail.com >>> >>> >>> >>> >>> >> >> >> -- >> Thanks, >> >> Steve -- Best regards, ------------------------- Igor Mammedov, niallain "at" gmail.com