From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8F698282FB for ; Fri, 19 Jul 2024 14:09:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721398160; cv=none; b=XjZgPt9J6G97ZD7FFq565aDw5SaqaYmpdY568/2Vb6BXSSHPfvBIUxntEwv6PL5Uy+sYS9Mh/rvW9VLrZnbKrj2oiUYrrLzDIzSQnO+uHkbbF7nuqcdERalr+H9kOjiHZtCfjjjph4E8CXoxSfgtyAvhkrENIblGvZAHDquLDqw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721398160; c=relaxed/simple; bh=z9L2RRPN+yB281xxzltNv1j6Z1E9DHHvme/HdszIKGI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CKerYxvfaLLdjh+AVhg/PE6PQqb7twG+CNFpF5RMUoQfnFA0F0qHIWpo99r2L9zDqjeHne8a6PbmJobZYpo0eHBGQlkqny2pp8tEMrasaScFMZ0+sczU4qUs8M0nphx6M8vdNXb6L1KGFhKCGRM+tcVocdDx9bfPtuaozGDnK7Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=PvZwQ4NA; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="PvZwQ4NA" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1721398157; 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=X5yK/71Kg44cUzpHHgqsqEufCVRHK0VlMZT8SCa0wP0=; b=PvZwQ4NA2jD4Zo2NhAF75gyqP8Fkp/KUPaIsCoF1p9p2y6WlTJ0wxHT7/e+IW1NDbbQ8eo 6Rl2H14i9ZSc29YpeXb6KjyrtSLLI9CNgjiXajX5EH52KVrFyW3ZCTbN6Tb20izWbtFEFw ca0Lodl6Tv4lAUtRVV8SB9SUL/T4qOc= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-190-2jvLXaeHNIKDd_BWVd8HhQ-1; Fri, 19 Jul 2024 10:09:15 -0400 X-MC-Unique: 2jvLXaeHNIKDd_BWVd8HhQ-1 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 84FB21944A92; Fri, 19 Jul 2024 14:09:13 +0000 (UTC) Received: from warthog.procyon.org.uk.com (unknown [10.42.28.216]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 0027A3000188; Fri, 19 Jul 2024 14:09:10 +0000 (UTC) From: David Howells To: Steve French Cc: David Howells , Paulo Alcantara , Shyam Prasad N , Rohith Surabattula , Jeff Layton , linux-cifs@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH 0/4] cifs: Miscellaneous fixes and a trace point Date: Fri, 19 Jul 2024 15:09:00 +0100 Message-ID: <20240719140907.1598372-1-dhowells@redhat.com> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 Hi Steve, Here are four patches for cifs: (1) Fix re-repick of a server upon subrequest retry. (2) Fix some error code setting that got accidentally removed. (3) Fix the handling of the zero_point after a DIO write. It always needs to be bumped past the end of the DIO write. (4) Add a tracepoint and some debugging to keep track of when we've ended the ->in_flight contribution from an operation. I've pushed the patches here also: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=cifs-fixes David David Howells (4): cifs: Fix server re-repick on subrequest retry cifs: Fix missing error code set cifs: Fix setting of zero_point after DIO write cifs: Add a tracepoint to track credits involved in R/W requests fs/smb/client/cifsglob.h | 17 +++++++----- fs/smb/client/file.c | 47 +++++++++++++++++++++++++++++---- fs/smb/client/smb1ops.c | 2 +- fs/smb/client/smb2ops.c | 42 ++++++++++++++++++++++++++---- fs/smb/client/smb2pdu.c | 43 +++++++++++++++++++++++++----- fs/smb/client/trace.h | 55 ++++++++++++++++++++++++++++++++++++++- fs/smb/client/transport.c | 8 +++--- 7 files changed, 184 insertions(+), 30 deletions(-)