From: ChenXiaoSong <chenxiaosong@chenxiaosong.com>
To: smfrench@gmail.com, linkinjeon@kernel.org, pc@manguebit.org,
ronniesahlberg@gmail.com, sprasad@microsoft.com, tom@talpey.com,
bharathsm@microsoft.com, senozhatsky@chromium.org,
dhowells@redhat.com, metze@samba.org
Cc: linux-cifs@vger.kernel.org, samba-technical@lists.samba.org,
ChenXiaoSong <chenxiaosong@kylinos.cn>
Subject: [PATCH v2 0/3] smb/server: improve async interim response handling for compound requests
Date: Wed, 8 Jul 2026 02:56:12 +0000 [thread overview]
Message-ID: <20260708025615.145390-1-chenxiaosong@chenxiaosong.com> (raw)
From: ChenXiaoSong <chenxiaosong@kylinos.cn>
v1->v2: send compound prefix before async pending response,
then send STATUS_PENDING as a standalone response.
v1: https://lore.kernel.org/linux-cifs/20260702110522.911411-1-chenxiaosong@chenxiaosong.com/
I am currently implementing the ksmbd change notify feature, and I have
encountered the following issue.
Before this patchset, no CREATE response:
Windows client compound request:
CREATE dir; CHANGE_NOTIFY, fid = compound fid
Server response:
CHANGE_NOTIFY STATUS_PENDING, AsyncId = N
After this patchset:
Server response:
CREATE dir SUCCESS, fid = X
CHANGE_NOTIFY STATUS_PENDING, AsyncId = N
ChenXiaoSong (3):
smb/server: send compound prefix before async pending response
smb/server: introduce struct ksmbd_transport_write
smb/server: use MSG_EOR for async interim response
fs/smb/server/connection.c | 31 +++++++++++++++++-----
fs/smb/server/connection.h | 15 ++++++++---
fs/smb/server/smb2pdu.c | 47 +++++++++++++++++++++++++++++++++-
fs/smb/server/transport_rdma.c | 9 ++++---
fs/smb/server/transport_tcp.c | 13 +++++-----
5 files changed, 95 insertions(+), 20 deletions(-)
--
2.54.0
next reply other threads:[~2026-07-08 2:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-08 2:56 ChenXiaoSong [this message]
2026-07-08 2:56 ` [PATCH v2 1/3] smb/server: send compound prefix before async pending response ChenXiaoSong
2026-07-08 2:56 ` [PATCH v2 2/3] smb/server: introduce struct ksmbd_transport_write ChenXiaoSong
2026-07-08 2:56 ` [PATCH v2 3/3] smb/server: use MSG_EOR for async interim response ChenXiaoSong
2026-07-08 10:33 ` [PATCH v2 0/3] smb/server: improve async interim response handling for compound requests Namjae Jeon
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=20260708025615.145390-1-chenxiaosong@chenxiaosong.com \
--to=chenxiaosong@chenxiaosong.com \
--cc=bharathsm@microsoft.com \
--cc=chenxiaosong@kylinos.cn \
--cc=dhowells@redhat.com \
--cc=linkinjeon@kernel.org \
--cc=linux-cifs@vger.kernel.org \
--cc=metze@samba.org \
--cc=pc@manguebit.org \
--cc=ronniesahlberg@gmail.com \
--cc=samba-technical@lists.samba.org \
--cc=senozhatsky@chromium.org \
--cc=smfrench@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox