Re: [PATCH 2/2] smb/server: preserve compound prefix for async interim responses

ChenXiaoSong <[email protected]>
Newsgroups org.kernel.vger.linux-cifs
Message-ID <[email protected]>
Samba tests passed after adding the following config options to smb.conf:

vfs objects = delay_inject streams_xattr
delay_inject:pread_send = 2000
delay_inject:pwrite_send = 2000

在 2026/7/6 20:07, ChenXiaoSong 写道:
> These three test cases also fail when using Samba as the server.
> I will also debug why Samba fails.
> 
> smbd --version
> Version 4.25.0pre1-GIT-bffb51f09ab
> 
> test: compound-padding
> failure: compound-padding [
> ../../source4/torture/smb2/compound.c:1175: Incorrect status 
> NT_STATUS_OBJECT_NAME_INVALID - should be NT_STATUS_OK
> ]
> 
> test: write_write
> failure: write_write [
> (../../source4/torture/smb2/compound.c:2549) Incorrect value req[1]- 
>  >cancel.can_cancel=0 - should be 1
> ]
> 
> test: read_read
> failure: read_read [
> (../../source4/torture/smb2/compound.c:2653) Incorrect value req[1]- 
>  >cancel.can_cancel=0 - should be 1
> ]
> 
> On 7/4/26 16:52, Namjae Jeon wrote:
>> smb2.compound.compound-padding
>> smb2.compound_async.write_write
>> smb2.compound_async.read_read

-- 
ChenXiaoSong <[email protected]>
Chinese Homepage: https://chenxiaosong.com
English Homepage: https://chenxiaosong.com/en
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.