All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paulo Alcantara <pc@manguebit.org>
To: Qican Ma <goonsomeway@gmail.com>
Cc: linkinjeon@kernel.org, metze@samba.org, tom@talpey.com,
	ronniesahlberg@gmail.com, sprasad@microsoft.com,
	bharathsm@microsoft.com, linux-cifs@vger.kernel.org
Subject: Re: [PATCH v2] smb: client: protect server->smbd_conn with RCU and refcounting
Date: Thu, 26 Nov 2026 13:33:19 -0300	[thread overview]
Message-ID: <1d2f2b0e10aa7b79fae23f844fd6000d@manguebit.org> (raw)
In-Reply-To: <179570960786.92818.11235763422476856997@gmail.com>

Qican Ma <goonsomeway@gmail.com> writes:

> Thanks for taking a look. I have sent v3 addressing the sashiko
> review: cifs_prepare_read/write() no longer take and drop
> conn->refcount on every I/O subrequest. They now guard on
> server->rdma and read max_frmr_depth under rcu_read_lock() only,
> which is sufficient because smbd_destroy() waits for
> synchronize_rcu() before releasing the socket and freeing the
> connection. The refcounting is kept for the paths that actually use
> the connection (smbd_send(), smbd_recv(), smbd_register_mr()).

Thanks!

      reply	other threads:[~2026-11-26 16:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24  7:54 [PATCH v2] smb: client: protect server->smbd_conn with RCU and refcounting Qican Ma
2026-11-26 15:22 ` Paulo Alcantara
2026-11-26 16:13   ` Qican Ma
2026-11-26 16:33     ` Paulo Alcantara [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1d2f2b0e10aa7b79fae23f844fd6000d@manguebit.org \
    --to=pc@manguebit.org \
    --cc=bharathsm@microsoft.com \
    --cc=goonsomeway@gmail.com \
    --cc=linkinjeon@kernel.org \
    --cc=linux-cifs@vger.kernel.org \
    --cc=metze@samba.org \
    --cc=ronniesahlberg@gmail.com \
    --cc=sprasad@microsoft.com \
    --cc=tom@talpey.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.