[PATCH] DFS referral shuffling

Steve French smfrench at gmail.com
Sun Feb 15 14:05:32 MST 2015


We could also consider a future patch to allow cifs.ko to reshuffle
DFS paths based on 'nearness' or random load balancing.

On Sun, Feb 15, 2015 at 11:34 AM, Robin McCorkell
<rmccorkell at karoshi.org.uk> wrote:
> Hi,
>
> I've implemented DFS referral shuffling to enable a primitive sort of
> load balancing for a DFS path. Yes, the MS docs say the client should
> decide which to pick, but from my testing smbclient and mount.cifs only
> ever choose the first one. The behaviour is controlled by a config
> paramater, `msdfs shuffle referrals`, which should be set in the DFS
> root share and defaults to off. The actual shuffling code is very
> similar to the DFS DC shuffling code in vfs_dfs_samba4, which does the
> same thing but for DCs rather than DFS referrals.
>
> Like the previous email, ignore the [PATCH] 1/2 in the patch header,
> this is the only patch.
>
> Regards,
> Robin McCorkell
> The Linux Schools Project



-- 
Thanks,

Steve


More information about the samba-technical mailing list