[{"id":3680318,"web_url":"http://patchwork.ozlabs.org/comment/3680318/","msgid":"<CAGypqWz-rThJ3SaeJECy9mG3e+CCmozkns5k3UyatdVuXSonjw@mail.gmail.com>","list_archive_url":null,"date":"2026-04-22T08:36:39","subject":"Re: [PATCH v2] smb: client: allow nolease option to be reconfigured\n on remount","submitter":{"id":86063,"url":"http://patchwork.ozlabs.org/api/people/86063/","name":"Bharath SM","email":"bharathsm.hsk@gmail.com"},"content":"On Tue, Apr 21, 2026 at 10:06 PM <rajasimandalos@gmail.com> wrote:\n>\n> From: Rajasi Mandal <rajasimandal@microsoft.com>\n>\n> tcon->no_lease controls whether the client requests leases from the\n> server.  Changing nolease via remount is silently accepted but has\n> no effect because the value is never propagated to the live tcon.\n>\n> Add no_lease to smb3_sync_tcon_opts() so the flag is propagated to\n> every tcon on remount.\n>\n> When switching to nolease, close all deferred file handles via\n> cifs_close_all_deferred_files_sb() outside the tlink_tree_lock,\n> since closing deferred handles can sleep.  Deferred handles retain\n> active leases from before the switch; without closing them, those\n> files continue using lease-based caching despite nolease being set.\n>\n> Both transitions are safe:\n>  - lease -> nolease: deferred handles are closed, future opens\n>    get OPLOCK_LEVEL_NONE.\n>  - nolease -> lease: future opens request leases normally.\n>\n> Signed-off-by: Rajasi Mandal <rajasimandal@microsoft.com>\n> ---\n>  fs/smb/client/fs_context.c | 9 +++++++++\n>  1 file changed, 9 insertions(+)\n>\n> diff --git a/fs/smb/client/fs_context.c b/fs/smb/client/fs_context.c\n> index 45173f287f00..fb59b45c7f66 100644\n> --- a/fs/smb/client/fs_context.c\n> +++ b/fs/smb/client/fs_context.c\n> @@ -1317,6 +1317,7 @@ static void smb3_sync_tcon_opts(struct cifs_sb_info *cifs_sb,\n>\n>                 spin_lock(&tcon->tc_lock);\n>                 tcon->retry = ctx->retry;\n> +               tcon->no_lease = ctx->no_lease;\n>                 /*\n>                  * Note: this updates the limit for new cached dir opens\n>                  * but does not resize or evict existing cached dirents.\n> @@ -1325,6 +1326,14 @@ static void smb3_sync_tcon_opts(struct cifs_sb_info *cifs_sb,\n>                 spin_unlock(&tcon->tc_lock);\n>         }\n>         spin_unlock(&cifs_sb->tlink_tree_lock);\n> +\n> +       /*\n> +        * When switching to nolease, close all deferred file handles.\n> +        * cifs_close_all_deferred_files_sb() handles its own locking\n> +        * and must be called outside tlink_tree_lock since it can sleep.\n> +        */\n> +       if (ctx->no_lease)\n> +               cifs_close_all_deferred_files_sb(cifs_sb);\n>  }\nSimilar to deferred files, I think we probably need to invalidate the\ncached directory\nentries when we remount with 'nolease' considering 'nolease' is a\nsuperset mount option\nand should affect all types of leases.\n\nOne additional case to consider: if an application already has a file\nopen with an RWH\nlease acquired before the remount, that handle may continue to hold\nits lease and benefit\nfrom caching until the server sends a lease break or the application\ncloses the handle.\nIs that correct.?\nI think nolease remount only affects new opens; it cannot\nretroactively revoke leases on\nexisting active file handles. It may be worth documenting and/or\ncomment this behavior,\nso it's clear that lease->nolease takes effect gradually as old\nhandles are closed rather than\ninstantaneously across all files & handles.\n\nOther than these comments, change looks good to me.","headers":{"Return-Path":"\n <linux-cifs+bounces-11003-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=jJbrxe7Y;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-cifs+bounces-11003-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=\"jJbrxe7Y\"","smtp.subspace.kernel.org;\n arc=pass smtp.client-ip=74.125.224.53","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 sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::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 4g0szz2DV6z1yD5\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 18:37:51 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 7EAD430056FE\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 08:36:56 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 6C8E63BF677;\n\tWed, 22 Apr 2026 08:36:54 +0000 (UTC)","from mail-yx1-f53.google.com (mail-yx1-f53.google.com\n [74.125.224.53])\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 07323306D2A\n\tfor <linux-cifs@vger.kernel.org>; Wed, 22 Apr 2026 08:36:52 +0000 (UTC)","by mail-yx1-f53.google.com with SMTP id\n 956f58d0204a3-65005a8840dso4454208d50.0\n        for <linux-cifs@vger.kernel.org>;\n Wed, 22 Apr 2026 01:36:52 -0700 (PDT)"],"ARC-Seal":["i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1776847014; cv=pass;\n b=JIVb1YRKUog0n9EFsICEvkGxmx4nHxZbjRmnR6/CeGcWmXjIcanTUcG8dnlmF9jzHS3mwRW6Yw/Xagw/R/8E7/frUofOHfn8BiWGEZA8H752GRVcPOihkJeB8YANpA7ws99+M4lUHbrIt1g3UPz+eW8GtcyiR/dbklGIQVUhhjg=","i=1; a=rsa-sha256; t=1776847012; cv=none;\n        d=google.com; s=arc-20240605;\n        b=VUotWT+tHmnbK/detLGAzpsPqdVviUOpXQX+gREzhQgvp6DJmqAzRgNmnz6BGKfk1i\n         wiRwp+Ex6T/WrIffTKa3/NluJKrBhaVvh7D+6FTBG2FRdPY9ckmLJ/JEThR7+SZfP7IR\n         E72krG3aFXFZva8xtjVXYFLbrR7sOxEWW7d2+ZaGiQRIJme5rQrVVan9Vwod41841bWg\n         xPV4c7wNPUqxeZ6bXKktBhtxiX0cR4vu9tgLlzwKzUCIyOXfJuprEPXUHhcNyx25pHQy\n         xigKRb+YYmjZd/RDfq2NMtA5w9NNY59xawxGFNr/daCRXucuZw+cdITHwobnQ0TyrxoK\n         tJ1Q=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1776847014; c=relaxed/simple;\n\tbh=Ux0jHj6JhqB9OLstvAhPbVdy+wBTQatJ71oj1iH1Y6s=;\n\th=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:\n\t To:Cc:Content-Type;\n b=J6gP4XYcW82BelJkBshEdejMG6oCsKFrmZpRQq87XFzXhGoO+pn6itOuNAWYJNFaEOJYO3QSwoBjQyPp9YEMBKm/8Z6I0zH5rUdONgbtAM/fjvwA1knC2DjyVxtvRRuTvQXL68fzM5ZhGtuBJSt24uVjpJ6OJaG7ZcORVT2n+9c=","i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20240605;\n        h=content-transfer-encoding:cc:to:subject:message-id:date:from\n         :in-reply-to:references:mime-version:dkim-signature;\n        bh=ZVtvcXMMK8avyypVb8iKfolU2FhGMion8XNm98EJOwI=;\n        fh=a5JLd7s8eVDu3CYXLm4Hv3VAHboxO6sYVNMcQn627Zc=;\n        b=II4VSfeTrOFXQz/9sNzz1sYPIghL0j8s5ncmuRC2Zh1JkBVoEkAIT3mGZwAhsxlNYt\n         WBXtteo0wtrVsCoatEyAnAiZ3MJhOpW+JZ7nJEZhrMxAAyc+moe3Td+LnvU/cGQuuijv\n         tYCk2AIw+h2L7Oa6nXSgwYOURBBbMf3OvepBuCabHDbZ7TmY+DslYQ6P3eQCwrhlNNtg\n         vMuwVgp8T7aY0XvqaU7EEG/Qs8VNrZrXFAtMIw8CmWxa+eYssRpAL/p4fXjYOo5YPSq0\n         9kl8YQPip2ohREgIl/hLKzAu7RN1o27jLvqAXFyeZg1bfJrMzCvn55mdtcqJDAs25J0l\n         wTng==;\n        darn=vger.kernel.org"],"ARC-Authentication-Results":["i=2; 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=jJbrxe7Y; arc=pass smtp.client-ip=74.125.224.53","i=1; mx.google.com; arc=none"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1776847012; x=1777451812;\n darn=vger.kernel.org;\n        h=content-transfer-encoding:cc:to:subject:message-id:date:from\n         :in-reply-to:references:mime-version:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=ZVtvcXMMK8avyypVb8iKfolU2FhGMion8XNm98EJOwI=;\n        b=jJbrxe7YxI9MEb+KIWqWVshsGZaHBlMiFFqHPoBx4O3KQHI1ZpFs9mPpc4rYHGds73\n         oI4pLA/deNYDvoz3CMtKI8ApXp0QOs39jaDSu0b3WpXcBClRA8KUXc+1w2UMR5MFxl+a\n         SHtizFgW9aMZ8ERp9mESAnZegmx/moCqsJU9ltRVlegQw4jtg7WYIcnyHnfWRBo0YbNO\n         n7HPgFN85quXSTfp40yqT9/HR6ryWskuUT1RcKUrgHiveYIfOgaXxYwaikaCqC6+zsD1\n         d41qE4zWJpZEvVkLygAZhASxCxYXigMj0FAI4bqVuQA4ymGERlxaQ9J6jrW8I4xKGiqD\n         Q8Fg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1776847012; x=1777451812;\n        h=content-transfer-encoding:cc:to:subject:message-id:date:from\n         :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from\n         :to:cc:subject:date:message-id:reply-to;\n        bh=ZVtvcXMMK8avyypVb8iKfolU2FhGMion8XNm98EJOwI=;\n        b=TcKbaLHau6d+aq8kLk04rH14g/PJkvYAwEnTKY9b4UpNkNrITcK+2AZ6y3rTdgRQu4\n         dcTGWKcXwotlP3fMEbJx4DHcPoDEZwGIEJBJutD0jEf6cbbpjmSqBid9+6l0dIAhX4Ih\n         2bHJxO1X+m2DLe5tkFTp5ZWYlLcPX5NKk7dNNHtNsfbm5KSdVKbHFmYwoc16Srrfc8ro\n         lVNH5cTZVNrrpPvXpFmQM4kB/zgUjE3xBoj2NwgzYaAe0VTAp0O8Obz9+jHiM+MJ5LGu\n         lVvTLMyDJ47soHQw6Q4nVuifGrfH+HvP/h+4Y335DetIFWXMSQkrKYKgvBWn+P1qWXps\n         sMxA==","X-Forwarded-Encrypted":"i=1;\n AFNElJ8jUPVdqvg0W0j3nEy5wDVSkx9CKIfiBUBJ9sbmSt/ZEE0wYPaq86iGJMz6Z5K5HbkbjXvKALJB2wBd@vger.kernel.org","X-Gm-Message-State":"AOJu0YxUR8aMyofecQr9gMj7TZ41+dVtR6/Y3B5E5MLS054/Gsuy1sUm\n\t3SpLW8yV3u3CV9sZaMLt1Pr3gHtnAkqgxOlFTJpRRQpi3iT3ckPnMuzU2ADUumaIr60XJkPIQdz\n\tvriqoFpVoToPqzE1eKweybOSojvyWuKQ=","X-Gm-Gg":"AeBDieu6jRU6EjGNPfLnLXSP7x5aG74TrLQh7sTFli+yclhccEKt+yInz6N+RXiC8Ty\n\toivuhzbjM+AEKRKjSsnInM2F9M+Rdmn9VEw2RUpN84ANzImJJsgZs41FlPxtJJE1CPwBjc+WAiX\n\t5wDvD9FAKiq56l8JvDEFCxWSLeGPlMZtNHrNYgt9i4aV8CN3XSu7+NPtae36xvngM8DrzYXDbGN\n\tmdLQKxKgngCXwEWdufKZ42aV1xaYxTlXfSSVjeZv1MiCy4lXX9cLMAHjf1G8hWuPzQpWapknaV/\n\t4fxXNFp3QtjwUArXy0yLDJz8R/sVYYMzEWcJObiOUxqya3t42btGg3Is1IaV","X-Received":"by 2002:a05:690e:2584:b0:64a:d7e3:cf7c with SMTP id\n 956f58d0204a3-653107fef43mr15634933d50.13.1776847011899; Wed, 22 Apr 2026\n 01:36:51 -0700 (PDT)","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","References":"<20260409095926.905020-6-rajasimandalos@gmail.com>\n <20260422050613.1136327-1-rajasimandalos@gmail.com>","In-Reply-To":"<20260422050613.1136327-1-rajasimandalos@gmail.com>","From":"Bharath SM <bharathsm.hsk@gmail.com>","Date":"Wed, 22 Apr 2026 01:36:39 -0700","X-Gm-Features":"AQROBzB1J1xlyQ4A2gmxrGoYaQW6x9KtQCcCA6aM3iPA77Fw2gthNAmaI-PmcHs","Message-ID":"\n <CAGypqWz-rThJ3SaeJECy9mG3e+CCmozkns5k3UyatdVuXSonjw@mail.gmail.com>","Subject":"Re: [PATCH v2] smb: client: allow nolease option to be reconfigured\n on remount","To":"rajasimandalos@gmail.com","Cc":"sfrench@samba.org, linux-cifs@vger.kernel.org,\n\tRajasi Mandal <rajasimandal@microsoft.com>","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Transfer-Encoding":"quoted-printable"}},{"id":3680672,"web_url":"http://patchwork.ozlabs.org/comment/3680672/","msgid":"<CAH2r5msBOKixrOyyeEt4Es6W3eABVFMx2iwMcRakiRvD6fYatA@mail.gmail.com>","list_archive_url":null,"date":"2026-04-22T15:29:12","subject":"Re: [PATCH v2] smb: client: allow nolease option to be reconfigured\n on remount","submitter":{"id":510,"url":"http://patchwork.ozlabs.org/api/people/510/","name":"Steve French","email":"smfrench@gmail.com"},"content":"On Wed, Apr 22, 2026 at 3:37 AM Bharath SM <bharathsm.hsk@gmail.com> wrote:\n>\n> On Tue, Apr 21, 2026 at 10:06 PM <rajasimandalos@gmail.com> wrote:\n> >\n> > From: Rajasi Mandal <rajasimandal@microsoft.com>\n> >\n> > tcon->no_lease controls whether the client requests leases from the\n> > server.  Changing nolease via remount is silently accepted but has\n> > no effect because the value is never propagated to the live tcon.\n> >\n> > Add no_lease to smb3_sync_tcon_opts() so the flag is propagated to\n> > every tcon on remount.\n> >\n> > When switching to nolease, close all deferred file handles via\n> > cifs_close_all_deferred_files_sb() outside the tlink_tree_lock,\n> > since closing deferred handles can sleep.  Deferred handles retain\n> > active leases from before the switch; without closing them, those\n> > files continue using lease-based caching despite nolease being set.\n> >\n> > Both transitions are safe:\n> >  - lease -> nolease: deferred handles are closed, future opens\n> >    get OPLOCK_LEVEL_NONE.\n> >  - nolease -> lease: future opens request leases normally.\n> >\n> > Signed-off-by: Rajasi Mandal <rajasimandal@microsoft.com>\n> > ---\n> >  fs/smb/client/fs_context.c | 9 +++++++++\n> >  1 file changed, 9 insertions(+)\n> >\n> > diff --git a/fs/smb/client/fs_context.c b/fs/smb/client/fs_context.c\n> > index 45173f287f00..fb59b45c7f66 100644\n> > --- a/fs/smb/client/fs_context.c\n> > +++ b/fs/smb/client/fs_context.c\n> > @@ -1317,6 +1317,7 @@ static void smb3_sync_tcon_opts(struct cifs_sb_info *cifs_sb,\n> >\n> >                 spin_lock(&tcon->tc_lock);\n> >                 tcon->retry = ctx->retry;\n> > +               tcon->no_lease = ctx->no_lease;\n> >                 /*\n> >                  * Note: this updates the limit for new cached dir opens\n> >                  * but does not resize or evict existing cached dirents.\n> > @@ -1325,6 +1326,14 @@ static void smb3_sync_tcon_opts(struct cifs_sb_info *cifs_sb,\n> >                 spin_unlock(&tcon->tc_lock);\n> >         }\n> >         spin_unlock(&cifs_sb->tlink_tree_lock);\n> > +\n> > +       /*\n> > +        * When switching to nolease, close all deferred file handles.\n> > +        * cifs_close_all_deferred_files_sb() handles its own locking\n> > +        * and must be called outside tlink_tree_lock since it can sleep.\n> > +        */\n> > +       if (ctx->no_lease)\n> > +               cifs_close_all_deferred_files_sb(cifs_sb);\n> >  }\n> Similar to deferred files, I think we probably need to invalidate the\n> cached directory\n> entries when we remount with 'nolease' considering 'nolease' is a\n> superset mount option\n> and should affect all types of leases.\n>\n> One additional case to consider: if an application already has a file\n> open with an RWH\n> lease acquired before the remount, that handle may continue to hold\n> its lease and benefit\n> from caching until the server sends a lease break or the application\n> closes the handle.\n> Is that correct.?\n> I think nolease remount only affects new opens; it cannot\n> retroactively revoke leases on\n> existing active file handles. It may be worth documenting and/or\n> comment this behavior,\n> so it's clear that lease->nolease takes effect gradually as old\n> handles are closed rather than\n> instantaneously across all files & handles.\n>\n> Other than these comments, change looks good to me.\n\nShould those changes be in followon patch rather than adding to this\neasier to understand patch?","headers":{"Return-Path":"\n <linux-cifs+bounces-11011-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=VJFA1y9D;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-cifs+bounces-11011-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=\"VJFA1y9D\"","smtp.subspace.kernel.org;\n arc=pass smtp.client-ip=209.85.219.48","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 sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g13DB15XSz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 01:34:02 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id B141A300A116\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 15:29:26 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 4ABC3340293;\n\tWed, 22 Apr 2026 15:29:26 +0000 (UTC)","from mail-qv1-f48.google.com (mail-qv1-f48.google.com\n [209.85.219.48])\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 D463B311958\n\tfor <linux-cifs@vger.kernel.org>; Wed, 22 Apr 2026 15:29:24 +0000 (UTC)","by mail-qv1-f48.google.com with SMTP id\n 6a1803df08f44-8b1f2b7f1bcso28579796d6.1\n        for <linux-cifs@vger.kernel.org>;\n Wed, 22 Apr 2026 08:29:24 -0700 (PDT)"],"ARC-Seal":["i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1776871766; cv=pass;\n b=gjGPRfiKe/KDsotjcPkxWlhTubBH0ADQ9AFkP9mvY/F8ps6kJSvKK8+28GlqFKM1HnW9dqmtHJYcu5kv1J6hDKN9wHHhGesostCIa2eqPgUuD8xqlnPA5ozuKTGaY1oRpnvgFxfUjk0IKU+3rGL9blHYoECLMOf8YXrvfsZwGgc=","i=1; a=rsa-sha256; t=1776871764; cv=none;\n        d=google.com; s=arc-20240605;\n        b=T6xDnhjQhAyJ2Nom3ERwS9Zrb4p3defTjQ4ZbI4Cxd5VNJ0nTT4sNYjNBem+CZYSxT\n         zuEWTCO3TRl/x0QKVLySnYzm5RiguLjjVLmWetUO0teDjTcT/xuDsolJjgxGJzuvcmQB\n         ar9HrOBouqKVM75S57ZN4QYGwIyAWFml79y8rk8y+chYVsfzYA031qyg7xr/RLfZsXF9\n         O8uXBc1fT6imyA5ZK2zBtu4LauoNGtp2cdrS4a3nwKnV5PvTo1jis4XLNujKy3uP28xf\n         Q7RSNIac6hDOPk88NlS78NluksvWpziqDFy7lX8pPE94Zl4TufVrdEuEZIZuBThvLHma\n         H+wQ=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1776871766; c=relaxed/simple;\n\tbh=bbLgZYOE6AJ8jCHJdOL+09lkP2yh7pe5MIuIIg2uedc=;\n\th=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:\n\t To:Cc:Content-Type;\n b=pXWMI1tZPLn8mfwEAEGCtrQoPwsZWy5NfH2xHJmhAKBYQ9doLTbXq/mS1vwP7hZl5hMHZjHJawYud5B6sQ8RILYaiC8D27IFvxtLfJCAMlLHDA1rMLJJqvKfalsdSW4xruEfOyUoFn4aTvPtDQ1KZ0q3tOLFJWBTidYRGkBuL2s=","i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20240605;\n        h=content-transfer-encoding:cc:to:subject:message-id:date:from\n         :in-reply-to:references:mime-version:dkim-signature;\n        bh=YevzQRrNOo+gPhQzBoD7Ww0WDkuG/7kV8jzZyPSOCII=;\n        fh=WqSlRZUUv0YdjgVols29NNCCkFk+gQ3WrQ911Zauug8=;\n        b=W0QDPKX7xI2tvSRT3xyArNDkkoLxiWHrlvj7oLV3bACM8Do2GKqje5jqfXPEYhugWW\n         +PX8JkI3WnezVg1OiS/vKre9u835YcE0iMxMwGpGRI+xuOJ4MO4xuw0Vx7+kKXkk/GjK\n         KexGqGTb7uqV90T/HYhmreCsGlLE2RNlnrcCD7RaNG4VHXydWjqNANThQQkZMP/GPaZd\n         oc3/LZ0NrJ/PGd1L5+1X9kXYe+EPoXBvSIImjotK0lK9HgIMp0aezqntXCgrHnaYr4oC\n         SVpl10oalVVcQsXJCUSmRYNMwHW6JFuMcWfoz830QD7ynqjmuZrKKflir4OzpuYKWuai\n         3ECQ==;\n        darn=vger.kernel.org"],"ARC-Authentication-Results":["i=2; 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=VJFA1y9D; arc=pass smtp.client-ip=209.85.219.48","i=1; mx.google.com; arc=none"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1776871764; x=1777476564;\n darn=vger.kernel.org;\n        h=content-transfer-encoding:cc:to:subject:message-id:date:from\n         :in-reply-to:references:mime-version:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=YevzQRrNOo+gPhQzBoD7Ww0WDkuG/7kV8jzZyPSOCII=;\n        b=VJFA1y9DjA9qvnXrj4ieCVU7XnD1sm0T75WK7jVUnJunqYcLvIJvm2U5QKxZoV82uk\n         Bc8DNjIWLzZDabj6Wo5XG3kit71pwx2VMKVH6MeOdalNYJTmsnAh93rdHGDAC7fiKgao\n         8UW+TUUBcbugcP8kxoHf5MXb0kaEddZct8+oDv7J2C/KGj7hdp6ypZOVWBh+CdSzts0O\n         d/p7+msy8HZqwQf3/vju+0N0R3V1BD6L0R59oh82zZ7tIQVVqCHaAT+FNeorAUxor8uI\n         QvM6v+VVOsv0UNlw3L4Wnkib7c2ceOKnALko1w/02wMCIPfR4E7joOMae6pNR0Ekx5wA\n         +H1g==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1776871764; x=1777476564;\n        h=content-transfer-encoding:cc:to:subject:message-id:date:from\n         :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from\n         :to:cc:subject:date:message-id:reply-to;\n        bh=YevzQRrNOo+gPhQzBoD7Ww0WDkuG/7kV8jzZyPSOCII=;\n        b=Rw1iunDDEBLalZQmTSJ1PPRAJNXUaHeXN7i8Chw0ZMhI5CQkNjn6sevkTPJo/LJuDS\n         KDrULobCY5zVRIiJZMMaswlxWZHI2r6+eTX1vnwMtaMkVPXKB5QqB049HK9zRztjoBZo\n         LH5L5lhWgLa+J9o+A+b3ro+n3457TjBdeC77jgZt4mDRAU2foQmqGQZUigWhDoIx6xAF\n         vAn+PtGJe8lMYU0saqvjvSqycZ16rd2A91ICflTckTG/QKbn9Qg/O789hy+6vsRSyuiw\n         uJnV8aATUvamBMtqpRexibOox5xJZlbNauzTkkbks7jrs2uo4UOUv2D/ROy8sw/GufXc\n         yz4g==","X-Forwarded-Encrypted":"i=1;\n AFNElJ+jGr/cYw0lh1qOjWGuAK+wU6pNeChaE00F7T1VZe72ejL1m7N1Ccwcn1WTqTTpkSSHLuhDGflsA5HF@vger.kernel.org","X-Gm-Message-State":"AOJu0YxL1ApN+0dT0nXJaTTRwM5BO8Y8BLNrHbSugq1eTv8lMTB0tchh\n\t2oo9bxlX9UeAv48pqdGiVowGxtIwmWPHqR2DUAAdyZAZsm/0JrI2RqqwKzpxR80CQUdc9rFbs0e\n\tJee0Tjx/y32XnaepZXFH1HD+6JV5IPeY=","X-Gm-Gg":"AeBDieuQOgSKsdlaIDC/sJLcDGHJqs3cCCrCBO6EIE7XCJ0MNgulS7foGvLTvWWwvFb\n\t11l95gdZBfvXC/m04Pkosb0dCeBOhvXR87igwlvWtY3mzRXBp46RZDveZOywkFQKmkNBu+rTgnz\n\tZvIDeEGK2fS+ivVlvYiDUAOwKr1WIWaWNaLbKRqdeg/grMvln/iqYCi3FeOt+tllSGNS8bMj/xE\n\tYgcplPtMPyNfcFN1Z77oYHc/1GCuICa348q1eltUxOVJt43z6sd1JaPYVb3TxsdkcsihZ6CFZoh\n\tTOK6wg5rWGX3gORTFbVbvmWFVPqgjLmwBbESP2N5qqjK5I9APsZriFw2k33R67wUh9Nh4TGsN61\n\tEnSET/5o/wa6ocdCSjSkhtdDn4tVeGsn/WwbvwMH6QfEbnc6HKl9jAtCI1qxix5wUED9XOWE83Q\n\t==","X-Received":"by 2002:a05:6214:5193:b0:8ac:aa89:6bb0 with SMTP id\n 6a1803df08f44-8b0284715bfmr318019846d6.11.1776871763712; Wed, 22 Apr 2026\n 08:29:23 -0700 (PDT)","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","References":"<20260409095926.905020-6-rajasimandalos@gmail.com>\n <20260422050613.1136327-1-rajasimandalos@gmail.com>\n <CAGypqWz-rThJ3SaeJECy9mG3e+CCmozkns5k3UyatdVuXSonjw@mail.gmail.com>","In-Reply-To":"\n <CAGypqWz-rThJ3SaeJECy9mG3e+CCmozkns5k3UyatdVuXSonjw@mail.gmail.com>","From":"Steve French <smfrench@gmail.com>","Date":"Wed, 22 Apr 2026 10:29:12 -0500","X-Gm-Features":"AQROBzD91lrmXYvq4wHXIEaxzvSoMkIWPbELbnmYGOPhVZZFVsApizFNjO5hwg0","Message-ID":"\n <CAH2r5msBOKixrOyyeEt4Es6W3eABVFMx2iwMcRakiRvD6fYatA@mail.gmail.com>","Subject":"Re: [PATCH v2] smb: client: allow nolease option to be reconfigured\n on remount","To":"Bharath SM <bharathsm.hsk@gmail.com>","Cc":"rajasimandalos@gmail.com, sfrench@samba.org, linux-cifs@vger.kernel.org,\n\tRajasi Mandal <rajasimandal@microsoft.com>","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Transfer-Encoding":"quoted-printable"}}]