From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E97D4C433FE for ; Fri, 1 Apr 2022 16:45:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348955AbiDAQq4 (ORCPT ); Fri, 1 Apr 2022 12:46:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349516AbiDAQqu (ORCPT ); Fri, 1 Apr 2022 12:46:50 -0400 Received: from mx.cjr.nz (mx.cjr.nz [51.158.111.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 762D916F6E8 for ; Fri, 1 Apr 2022 09:30:19 -0700 (PDT) Received: from authenticated-user (mx.cjr.nz [51.158.111.142]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pc) by mx.cjr.nz (Postfix) with ESMTPSA id 38F717FC23; Fri, 1 Apr 2022 16:30:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cjr.nz; s=dkim; t=1648830617; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=zDmVJUnEWQuZRdBxzL4JaocdxS6jiKjvKrWLC/41R2U=; b=plpqiOhd1bsta1zy7p2Z29RE8PiUfXQvTGPq8kz38zbXxahLIsPUTK2huP+PlHwsQrVVa1 kVpuGB4KZc6Q4nTCdXXI8VoMvtIGtwW+EQmD0Knay/a7ldiqNYZE3fczGenrDDkm9pUma7 2ib6y2rB16cTGxqoAMI3UnoIWnnELNUbUZXOT9T3QpLyhTrnj3skgHifFBVCpWvgyLU6go 2uMF94/zbU9tVgAwbNo1mYzbm1fTAhAK6dJyx379LWb0LvdQSd+Oc3N+dKGreUH3cMoIvK Idkxusk0eMD4qgDHNu3xQtbWveCcje9sYF2060ILjnrudJufuYknN/7BkSXEbA== From: Paulo Alcantara To: Shyam Prasad N Cc: CIFS , Steve French Subject: Re: [PATCH 2/2] cifs: force new session setup and tcon for dfs In-Reply-To: References: <20220331180151.5301-1-pc@cjr.nz> <20220331180151.5301-2-pc@cjr.nz> Date: Fri, 01 Apr 2022 13:30:13 -0300 Message-ID: <87h77cg416.fsf@cjr.nz> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org Shyam Prasad N writes: > This makes sense. > Wondering if you could check if the reconnect happens to a new > server/share and then change mark_smb_session? Maybe that complicates > the logic. Yes, it would complicate alot. We expect failover to not occur quite often, so leaving it without such logic would be OK for now, IMO. I'm trying to get all reconnect issues fixed and then we can talk about possible improvements, obviously.