Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2221366/?format=api
{ "id": 2221366, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2221366/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260409095926.905020-9-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": "<20260409095926.905020-9-rajasimandalos@gmail.com>", "list_archive_url": null, "date": "2026-04-09T09:59:26", "name": "[9/9] smb: client: apply rasize on remount", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "e9a3669d7521b91d9f841be27621ba576db8f023", "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/20260409095926.905020-9-rajasimandalos@gmail.com/mbox/", "series": [ { "id": 499267, "url": "http://patchwork.ozlabs.org/api/1.2/series/499267/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/list/?series=499267", "date": "2026-04-09T09:59:18", "name": "[1/9] smb: client: block non-reconfigurable option changes on remount", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/499267/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2221366/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2221366/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-cifs+bounces-10736-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=ScXkflTG;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.105.105.114; helo=tor.lore.kernel.org;\n envelope-from=linux-cifs+bounces-10736-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=\"ScXkflTG\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.210.174", "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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])\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 4frwYS5ckJz1yD3\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 09 Apr 2026 20:05:48 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id B3FF4308A590\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 9 Apr 2026 10:01:47 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 3628D3BED6E;\n\tThu, 9 Apr 2026 10:00:25 +0000 (UTC)", "from mail-pf1-f174.google.com (mail-pf1-f174.google.com\n [209.85.210.174])\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 77B863BFE40\n\tfor <linux-cifs@vger.kernel.org>; Thu, 9 Apr 2026 10:00:21 +0000 (UTC)", "by mail-pf1-f174.google.com with SMTP id\n d2e1a72fcca58-82cd5c07f93so384489b3a.1\n for <linux-cifs@vger.kernel.org>;\n Thu, 09 Apr 2026 03:00:21 -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 d2e1a72fcca58-82cf9c6b80dsm29113671b3a.42.2026.04.09.03.00.16\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 09 Apr 2026 03:00:19 -0700 (PDT)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1775728824; cv=none;\n b=ffroLwf3sHtqUmqZ2uqQ5ine9At1b/TPz3YnmD0jb9h20EJs+Z5detQegcL6+zrdv+vMM/tpJbkwqrlrgoJR/H0uhHv880o2gdJhY+rHTcPnqD8/aj670MeMnB7ITmHazOoM1Oh+Rl0k4Vj+spjgBWjiZSl3tILKp4RsfTkRgL4=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1775728824; c=relaxed/simple;\n\tbh=bF5qUQUvVDWxl8XF8/5sb4KcQcJun4x9Cxt/2bnKeEE=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=fQVnWAsTwkU02Ht20xODNubzYvsIIuVWbswC6yv8W67d46GN7+aKOj9ImId0v4ZZ0cLyzmNOLTa80o4uj9H5vzpSf2kTy4lqnr07DJ1VZ5ebK/d8dWgHlNDtM56Z0KouMXxluZKIT3AHCj+RewGlPvFWtJS45H2zLRnOAq31aWc=", "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=ScXkflTG; arc=none smtp.client-ip=209.85.210.174", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1775728820; x=1776333620;\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=QObthFmA74FR9S5RNg1UaQnHWYJmGmu2RCoe8nfhtXo=;\n b=ScXkflTGFXmHSAniyVhyje+RkF+y4EVFRi8sJdk+OGM/VrgX8Sq+hbvXkna923Qqjn\n LIoMw7Ngx17JFlynT1SFM6i6F1wL1JHaiBkMBwbDTX1I2WrfDzbzM+bxTYYgXFMdlXeu\n HU13JZiDnP5ZuZVn+6Q+2mX/Gq+Qxy5uEV1LnjDtoYbs3vZMx+C6ysZpcaIV6AP1VL8K\n z3l6Lof5lUzltgbyKbaAqJEHWUarwqQFA/SphSme9RK1DfEHO+1d4D+R2kClEZMJayd+\n LE+dp8ls6VGX9y7fr7KYKesCHhw9ea3y6VK2oAnDZFPj9PQc6fbzzrvtPRZA+C7SWOsy\n QYMw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775728820; x=1776333620;\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=QObthFmA74FR9S5RNg1UaQnHWYJmGmu2RCoe8nfhtXo=;\n b=SIxBJW4vUhli8X4DpbYtYMdS9IBoSI9hkrgWkJc2VWoFG5cRSvjhpU69b7dBA37ysL\n Yt6t+M0CF/JchSy5uiZw9CfDaOyXRHvsokVD31bdMas0RPWDHI63iLCdrwsYNmJ9pmaf\n m/rhXaWb96Ag99u6+6KtssLJ8A8TiBcziT9DvDzA2LqBSemnMfStnSnooZUgdz+jH1gz\n pyOAjkh/8UBptNJq2nBTtc86JuwzVGEBM2KoA00ZnAq72WVQlZRCBC357Hy+netRY9yI\n ublBstoFX1NDC5GKfk0LddNbVcDzBPshAooy5UJjRmsKwr7SQlOCWzueOw2lYOaWDN3D\n H87A==", "X-Forwarded-Encrypted": "i=1;\n AJvYcCUJPhj4AbEDHC+oQK27L5Ed89A87dRw7VDX9wentdvf4oteDwjOqObhDr5r6izXSlw4DOeUBogpdsqj@vger.kernel.org", "X-Gm-Message-State": "AOJu0YxPGpzULvqD5QgbVhm/3k72prt2yoMRFGmA/pThbnaS48hyeFcA\n\tZx1rWGlrB4LV2/4mMmK9Y12sLoEwm1Ntwq97FXfoJje8PhtqHrzUlIdh", "X-Gm-Gg": "AeBDieuW0Yf78bynRa5Nd3t1kXzMCb8Vfhf2kC/2blgb95G/RbvuJNEs/b7bH+lDTAq\n\tor8V4idP7d93xxKBxc4M+epWwJxRd9t8HAx9NlrCQAi5DFpkliMSwoFALheUxXvOm/Gsb1I5wF5\n\tevAuolYHFUXtrRNd2q4hW9Kys5dRJoReVAs5keHcbPNIDmECry+BuSVI66HEbrHR25toBaqMhSQ\n\tLgOsVrXS16m/BKN9sdUXOVOMLNj4Af4RYz3pivJ58nXFaqwSPa/j3Un8fZ8mjZG3gC9omAzynEW\n\tIHuyI7/pg5OCnjvbtHnofTlAiPHBiVfbxLmpFGwNxF/honpIpjGeofFG9Oy7vRgCGpf2SUZM2I/\n\tup9qxQLucxfSy7V1bW+4BF3KoXQ/hwMtTWB6kDuEhfF1dp7BAaIwkwgL8vxTIbkNJMMQiOabw4p\n\tRJEiDExVpfEyY3ICi0N/3MDz1/R9h9fx7FgjK5UGHbGNb85rdsObFxy6oYJiU9MayLycoMPPd/+\n\thMK+eBd5n0GKT3D3bp/f3Y=", "X-Received": "by 2002:a05:6a00:1da1:b0:82c:db43:969b with SMTP id\n d2e1a72fcca58-82d0da8c12bmr23623633b3a.22.1775728820504;\n Thu, 09 Apr 2026 03:00:20 -0700 (PDT)", "From": "rajasimandalos@gmail.com", "To": "sfrench@samba.org,\n\tlinux-cifs@vger.kernel.org", "Cc": "pc@manguebit.org,\n\tronniesahlberg@gmail.com,\n\tsprasad@microsoft.com,\n\ttom@talpey.com,\n\tmetze@samba.org,\n\tbharathsm@microsoft.com,\n\tsamba-technical@lists.samba.org,\n\tlinux-kernel@vger.kernel.org,\n\tRajasi Mandal <rajasimandal@microsoft.com>", "Subject": "[PATCH 9/9] smb: client: apply rasize on remount", "Date": "Thu, 9 Apr 2026 09:59:26 +0000", "Message-ID": "<20260409095926.905020-9-rajasimandalos@gmail.com>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<20260409095926.905020-1-rajasimandalos@gmail.com>", "References": "<20260409095926.905020-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\nrasize is accepted during remount parsing but sb->s_bdi->ra_pages is\nonly set in cifs_read_super() at mount time. A remount with a new\nrasize value silently has no effect on the readahead window.\n\nUpdate ra_pages in smb3_reconfigure() after the context has been\nduplicated, using the same logic as cifs_read_super(): if rasize is\nset, use it directly; otherwise fall back to 2 * rsize.\n\nSigned-off-by: Rajasi Mandal <rajasimandal@microsoft.com>\n---\n fs/smb/client/fs_context.c | 6 ++++++\n 1 file changed, 6 insertions(+)", "diff": "diff --git a/fs/smb/client/fs_context.c b/fs/smb/client/fs_context.c\nindex d804e5da578e..bba642442ae3 100644\n--- a/fs/smb/client/fs_context.c\n+++ b/fs/smb/client/fs_context.c\n@@ -1504,6 +1504,12 @@ static int smb3_reconfigure(struct fs_context *fc)\n \tsmb3_cleanup_fs_context_contents(cifs_sb->ctx);\n \trc = smb3_fs_context_dup(cifs_sb->ctx, ctx);\n \tsmb3_update_mnt_flags(cifs_sb);\n+\n+\tif (cifs_sb->ctx->rasize)\n+\t\troot->d_sb->s_bdi->ra_pages = cifs_sb->ctx->rasize / PAGE_SIZE;\n+\telse\n+\t\troot->d_sb->s_bdi->ra_pages = 2 * (cifs_sb->ctx->rsize / PAGE_SIZE);\n+\n #ifdef CONFIG_CIFS_DFS_UPCALL\n \tif (!rc)\n \t\trc = dfs_cache_remount_fs(cifs_sb);\n", "prefixes": [ "9/9" ] }