get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.2/patches/2234252/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2234252,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2234252/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260507134448.168602-5-rajasimandalos@gmail.com/",
    "project": {
        "id": 12,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/12/?format=api",
        "name": "Linux CIFS Client",
        "link_name": "linux-cifs-client",
        "list_id": "linux-cifs.vger.kernel.org",
        "list_email": "linux-cifs@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260507134448.168602-5-rajasimandalos@gmail.com>",
    "list_archive_url": null,
    "date": "2026-05-07T13:44:44",
    "name": "[v2,4/8] smb: client: sync echo_interval on remount",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "edc4c9e591bd4ad35e17e92bc57af0bdac283635",
    "submitter": {
        "id": 91740,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/91740/?format=api",
        "name": "RAJASI MANDAL",
        "email": "rajasimandalos@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260507134448.168602-5-rajasimandalos@gmail.com/mbox/",
    "series": [
        {
            "id": 503184,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/503184/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/list/?series=503184",
            "date": "2026-05-07T13:44:40",
            "name": "Remount patches v2",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/503184/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2234252/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2234252/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-cifs+bounces-11413-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-cifs@vger.kernel.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=TD5itKVA;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c09:e001:a7::12fc:5321; helo=sto.lore.kernel.org;\n envelope-from=linux-cifs+bounces-11413-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=\"TD5itKVA\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.216.42",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=gmail.com"
        ],
        "Received": [
            "from sto.lore.kernel.org (sto.lore.kernel.org\n [IPv6:2600:3c09:e001:a7::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4gBD5h1QvDz1y04\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 07 May 2026 23:45:12 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id C7D483004D09\n\tfor <incoming@patchwork.ozlabs.org>; Thu,  7 May 2026 13:45:09 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id EFAD53F7AA4;\n\tThu,  7 May 2026 13:45:08 +0000 (UTC)",
            "from mail-pj1-f42.google.com (mail-pj1-f42.google.com\n [209.85.216.42])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id AB3C63C661D\n\tfor <linux-cifs@vger.kernel.org>; Thu,  7 May 2026 13:45:07 +0000 (UTC)",
            "by mail-pj1-f42.google.com with SMTP id\n 98e67ed59e1d1-36627a0ea23so186956a91.0\n        for <linux-cifs@vger.kernel.org>;\n Thu, 07 May 2026 06:45:07 -0700 (PDT)",
            "from dev-vm-rm.hzz4ddxqtfeetjrh00qlbgyytb.rx.internal.cloudapp.net\n ([20.197.52.255])\n        by smtp.gmail.com with ESMTPSA id\n 98e67ed59e1d1-365b4c8a8e7sm8316609a91.13.2026.05.07.06.45.03\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Thu, 07 May 2026 06:45:05 -0700 (PDT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1778161508; cv=none;\n b=LY7tjDXs4BRpdtdQWZTKEhDlV5omWJsPZL31v88i6gr4p7ZMjWdLx+zdVrk2udHpGsMHgELwMfmDHFyO7aYzwOyxTHDG+3shr7wglbuTMUkgeSukWmFfAh7is0tAfmvcx0TSBwdHoPWEDHzVkHpzPa+RfWWiS5IkTWYBTDLvMUM=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1778161508; c=relaxed/simple;\n\tbh=VG+41lZ448btaNUOynmCdnEZq9o8tA/uUr4F8PoMhNg=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=qjY8TDLxizaQMxaupZqwGpmGBgZzDVp+GYVijeZK+kKmpH5bBPRmaOuyzfwtQVPYsSGAAKNnI/ubiuGQ5g1u8r1Bp92jsR5FU/5dbyYlz5C5idoZhvLBsbeTtS04c9aF1E22OMHA9i9+qZFty1QHAzV7oms/pOlnNIFzqSrgaec=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com;\n spf=pass smtp.mailfrom=gmail.com;\n dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=TD5itKVA; arc=none smtp.client-ip=209.85.216.42",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1778161506; x=1778766306;\n darn=vger.kernel.org;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=N4wxpdgZR3F+6gO9A+ACWETsBld7N7ULc+/S9pmw4rc=;\n        b=TD5itKVArHc6uogtTmKhoeM6135KaoO4mO//KoZuU1XAD4dyDUahC20S2YFzPtur60\n         VV4a8y3+c7DpY71SrHaewjnMMJOWAHkHV5cKa6BJGid3DP8PAiXbQTFDmFVkMgKguQCT\n         oBQRdVvaETFwf74f7Y8pvjaHdX4twEj+7vn+lJl3fSWl4bA1aGSKJi7fGvtIpPOKgX61\n         LHQR9H38Wf9SUuKcdCA2SA3YX8SNxKmCqXJUQojJUz9pLVRj8N7+k6UNKibmP2fosuTm\n         w1+JriqM+IboPLShUjIFNGzKFpquZx+pIPSw0helo6+ZEVrwx7+dlYrP9FO7bGyZYmZk\n         ngxQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1778161506; x=1778766306;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n         :to:cc:subject:date:message-id:reply-to;\n        bh=N4wxpdgZR3F+6gO9A+ACWETsBld7N7ULc+/S9pmw4rc=;\n        b=E+vnPoYGYDXPsRQj3DMVP2Bx+QN4IAHEzkwvAhOh3XXSMDx6ASqUN6WqpK3tSysu3x\n         StP6klc4WIj13iXgVKAWpZClO+eOZQqGDpVjarALehYk6MHTRsa+lFh4VeVNH5/W7nXL\n         Uujy9HSAbh8qgbhqlZXXabEKgDhcQHVTDTDnHPimzDhwWGKgaHgMHwz3BTat09Q/jMJM\n         d1Sjzxo02xjROqs3YJosgnMfwfgqLZtvzVxe+QAC6SXpQj9Zds3i02o8YQBbT/vQGtvv\n         7a5tj2SblUZLYsZeNQ8+9hPzIZVUOkFChsHHqoxcEmy5hPOLHFTexG+6FJd0iEmEz4Cs\n         2Oqw==",
        "X-Gm-Message-State": "AOJu0YyRQfcuwfFMcKD4T/hHx1O6V1isD6qjgPsyAPiO+ZJ5W46JeZxN\n\tOJyHKjhJwdUt5/Q2hQ3dAGYQqvZkihIMv64Aqx9S3ZHILACrFU1GLmhn6l256w==",
        "X-Gm-Gg": "AeBDievYl0dQ22ib169XWgcUTISnmUyodTo6yXWKRvw2W5kK0O4Ztz8phM/4Qu0QC8n\n\t5l/k/Ylypq9KvdYJDhaMkdPLNmZq585FnwsPJwliwDd2P0BVLL+rgBO67/KCp/RaBRHgeWMQNiE\n\tfNK5Ntjra0OrP9+jikeP72IIfRbOvlcgau4P89vc6PFQNF2Si4TFb3nSPVsNBbvaSwQiT/ezMa+\n\teudYysp1SnthRN9ONdLEOJdW9SffRrosw/iiNApsVIIV6Al71o8UyQbwU8kyHnmzNII7tsFip/J\n\tJiT+qPgTsubSwBuUYTiZW6OstZ6j+MrPqN99WeujfE0PSVPK+SZnzCwvVyL1vdsEvJH70oVBsYB\n\tJ75wOIf0BIyX985iWphnJVdcKcyY0mGVYMNMuWennI/Gq+E16msEAGqtbNigBs8ApEhcJlrzMrt\n\tOlSaz81Yiu1Ue/VT2sghIbodBINS2r63d+CNn96O1T3DtjrmlmDS5BvMlb0Qum2cHYIhxycB9sF\n\t5Opd7xY+r8Yz8HoExC3VVyBBENFp+/hGkznLubrvGRc",
        "X-Received": "by 2002:a17:90b:1f89:b0:35b:e5ce:73bb with SMTP id\n 98e67ed59e1d1-365ab9b7feamr7647323a91.1.1778161506357;\n        Thu, 07 May 2026 06:45:06 -0700 (PDT)",
        "From": "rajasimandalos@gmail.com",
        "To": "linux-cifs@vger.kernel.org",
        "Cc": "smfrench@gmail.com,\n\tpc@manguebit.org,\n\tsprasad@microsoft.com,\n\tbharathsm@microsoft.com,\n\tenzo@kernel.org",
        "Subject": "[PATCH v2 4/8] smb: client: sync echo_interval on remount",
        "Date": "Thu,  7 May 2026 13:44:44 +0000",
        "Message-ID": "<20260507134448.168602-5-rajasimandalos@gmail.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260507134448.168602-1-rajasimandalos@gmail.com>",
        "References": "<20260507134448.168602-1-rajasimandalos@gmail.com>",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-cifs@vger.kernel.org",
        "List-Id": "<linux-cifs.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-cifs+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-cifs+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit"
    },
    "content": "From: Rajasi Mandal <rajasimandal@microsoft.com>\n\necho_interval is accepted during remount parsing but\nserver->echo_interval is only set in cifs_get_tcp_session() at\nconnection setup. A remount with a new echo_interval value silently\nhas no effect on the echo keepalive timer.\n\nAdd echo_interval to smb3_sync_server_opts() under srv_lock so the\nnew interval is pushed to the live server struct. Reschedule the echo\ndelayed work via mod_delayed_work() so the new interval takes effect\nimmediately rather than after the current timer fires.\n\nSigned-off-by: Rajasi Mandal <rajasimandal@microsoft.com>\n---\n fs/smb/client/fs_context.c | 12 +++++++++---\n 1 file changed, 9 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/fs/smb/client/fs_context.c b/fs/smb/client/fs_context.c\nindex de682a5d2b68..972d3969f7e7 100644\n--- a/fs/smb/client/fs_context.c\n+++ b/fs/smb/client/fs_context.c\n@@ -1298,9 +1298,9 @@ static void smb3_sync_tcon_opts(struct cifs_sb_info *cifs_sb,\n \n /*\n  * Synchronize server-level options that are stored on TCP_Server_Info\n- * at mount time.  These fields are consulted at runtime (retry logic)\n- * so remount needs to update the live server struct in addition to\n- * cifs_sb->ctx.\n+ * at mount time.  These fields are consulted at runtime (echo work,\n+ * retry logic) so remount needs to update the live server struct in\n+ * addition to cifs_sb->ctx.\n  */\n static void smb3_sync_server_opts(struct cifs_sb_info *cifs_sb)\n {\n@@ -1310,7 +1310,13 @@ static void smb3_sync_server_opts(struct cifs_sb_info *cifs_sb)\n \tspin_lock(&server->srv_lock);\n \tif (ctx->retrans)\n \t\tserver->retrans = ctx->retrans;\n+\tif (ctx->echo_interval)\n+\t\tserver->echo_interval = ctx->echo_interval * HZ;\n \tspin_unlock(&server->srv_lock);\n+\n+\tif (ctx->echo_interval)\n+\t\tmod_delayed_work(cifsiod_wq, &server->echo,\n+\t\t\t\t server->echo_interval);\n }\n \n static int smb3_reconfigure(struct fs_context *fc)\n",
    "prefixes": [
        "v2",
        "4/8"
    ]
}