From patchwork Mon Jul 6 15:23:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paulo Alcantara X-Patchwork-Id: 11646045 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 807CE13BD for ; Mon, 6 Jul 2020 15:32:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5836020720 for ; Mon, 6 Jul 2020 15:32:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=cjr.nz header.i=@cjr.nz header.b="DY8jhhfj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729293AbgGFPcF (ORCPT ); Mon, 6 Jul 2020 11:32:05 -0400 Received: from mx.cjr.nz ([51.158.111.142]:53956 "EHLO mx.cjr.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729338AbgGFPcE (ORCPT ); Mon, 6 Jul 2020 11:32:04 -0400 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 (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pc) by mx.cjr.nz (Postfix) with ESMTPSA id E7F257FD17; Mon, 6 Jul 2020 15:25:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cjr.nz; s=dkim; t=1594049117; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=eYQUqfplavCO+pt7bDbBchbTrXNTFqMKgthQFMAyF5Q=; b=DY8jhhfjzY4zpF7izWsTV8Dy/05wXUIBJQZrvhWugUgyyFz9/TnDWZHB5LBJ6Cyn0Bbdex AEFOclpt9GWKr5yBo062VLrd7ylnI/frZvdOXjLsn4ATjEIF7c5V5Cj4yh+AsNC3mzFXUj wGYLXH27TD7CpDPSzWj4r90dFsJWri1Lb4kEF9vhT+g5bd4kzfmGD6VK4YOadHRrD9qEX2 V5PfyvB5L2yuY9A7aHjuSmhz0SKoGLzVk27WEkFSoRGU3NxweIkX/hV4RNetIfzH8Qzosc +iteDO3+oe5vAqK/gaqtAJzlP2wz5kVe4YFvPO7YGZJ5nc8L7TznshnJKG9YBA== From: Paulo Alcantara To: linux-cifs@vger.kernel.org, smfrench@gmail.com Cc: Paulo Alcantara Subject: [PATCH 0/7] DFS fixes Date: Mon, 6 Jul 2020 12:23:55 -0300 Message-Id: <20200706152402.5721-1-pc@cjr.nz> MIME-Version: 1.0 Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org Hi Steve, Follow some fixes, cleanups and documentation for DFS. All DFS failover tests passed with this series in our local buildbot. Paulo Alcantara (6): cifs: reduce number of referral requests in DFS link lookups cifs: rename reconn_inval_dfs_target() cifs: handle empty list of targets in cifs_reconnect() cifs: handle RESP_GET_DFS_REFERRAL.PathConsumed in reconnect cifs: only update prefix path of DFS links in cifs_tree_connect() cifs: document and cleanup dfs mount Stefan Metzmacher (1): cifs: merge __{cifs,smb2}_reconnect[_tcon]() into cifs_tree_connect() fs/cifs/cifsproto.h | 6 +- fs/cifs/cifssmb.c | 112 +--------- fs/cifs/connect.c | 504 ++++++++++++++++++++++++++------------------ fs/cifs/dfs_cache.c | 136 +++++++++--- fs/cifs/dfs_cache.h | 7 +- fs/cifs/misc.c | 7 +- fs/cifs/smb2pdu.c | 113 +--------- 7 files changed, 428 insertions(+), 457 deletions(-)