public inbox for linux-cifs@vger.kernel.org
 help / color / mirror / Atom feed
* Re: where to get the patches for samba over quic support
       [not found] <CADvbK_eHYFJWL3xaZeciUMPjWXqkP_Kp3DrpP-3XPyopY1yZmg@mail.gmail.com>
@ 2023-08-22 22:02 ` Steven French
  2023-08-22 23:33   ` Jeremy Allison
  0 siblings, 1 reply; 2+ messages in thread
From: Steven French @ 2023-08-22 22:02 UTC (permalink / raw)
  To: Xin Long, samba-technical, CIFS, wedsonaf

I was very interested in this as well and there seems to be a logical 
use case for SMB3.1.1 mounts from the kernel client (cifs.ko) since 
multiple servers already support QUIC for SMB3.1.1 mounts (e.g. Windows 
and apparently also an embedded server that demoed at Storage Developer 
Conference last year).  Key question remains how much of the code can 
stay in userspace (so only the key socket read/write code must be in 
kernel, not necessarily the connection setup).   There are also some 
interesting points that the Microsoft QUIC (open source project in 
github) project guys mentioned including that for testing you can often 
do "unencrypted QUIC" as a first step (which also has performance 
benefits over TCP)

We can discuss more details if you want, but Wedson had some great ideas 
about doing some of this in Rust (and looks there are already 3 work in 
progress user space opensource QUIC implementations in Rust - so some of 
the code could be reused)


On 8/21/23 09:55, Xin Long wrote:
> Hi, Samba Team,
>
> I'm currently working on QUIC implementation in Linux Kernel, and thinking
> of applying it to fs/smb for SMB over QUIC in kernel. For interoperability
> testing, I'm looking for an existing userspace implementation for SMB over
> QUIC in Linux.
>
> I heard there are already some internal patches in samba for SMB over QUIC
> support, anyone knows where I can get it for this testing?
>
> Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: where to get the patches for samba over quic support
  2023-08-22 22:02 ` where to get the patches for samba over quic support Steven French
@ 2023-08-22 23:33   ` Jeremy Allison
  0 siblings, 0 replies; 2+ messages in thread
From: Jeremy Allison @ 2023-08-22 23:33 UTC (permalink / raw)
  To: Steven French; +Cc: Xin Long, samba-technical, CIFS, wedsonaf, jra

On Tue, Aug 22, 2023 at 05:02:26PM -0500, Steven French wrote:
>I was very interested in this as well and there seems to be a logical 
>use case for SMB3.1.1 mounts from the kernel client (cifs.ko) since 
>multiple servers already support QUIC for SMB3.1.1 mounts (e.g. 
>Windows and apparently also an embedded server that demoed at Storage 
>Developer Conference last year).  Key question remains how much of the 
>code can stay in userspace (so only the key socket read/write code 
>must be in kernel, not necessarily the connection setup).   There are 
>also some interesting points that the Microsoft QUIC (open source 
>project in github) project guys mentioned including that for testing 
>you can often do "unencrypted QUIC" as a first step (which also has 
>performance benefits over TCP)
>
>We can discuss more details if you want, but Wedson had some great 
>ideas about doing some of this in Rust (and looks there are already 3 
>work in progress user space opensource QUIC implementations in Rust - 
>so some of the code could be reused)
>
>
>On 8/21/23 09:55, Xin Long wrote:
>>Hi, Samba Team,
>>
>>I'm currently working on QUIC implementation in Linux Kernel, and thinking
>>of applying it to fs/smb for SMB over QUIC in kernel. For interoperability
>>testing, I'm looking for an existing userspace implementation for SMB over
>>QUIC in Linux.
>>
>>I heard there are already some internal patches in samba for SMB over QUIC
>>support, anyone knows where I can get it for this testing?

I just did some research, and this engine (in C) appears to be easiest
to use for Samba.

https://github.com/litespeedtech/lsquic/blob/master/docs/tutorial.rst

The tutorial shows an example being used with libevent, we could
adapt this to libtevent.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-22 23:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CADvbK_eHYFJWL3xaZeciUMPjWXqkP_Kp3DrpP-3XPyopY1yZmg@mail.gmail.com>
2023-08-22 22:02 ` where to get the patches for samba over quic support Steven French
2023-08-22 23:33   ` Jeremy Allison

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox