public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* SMB2 file system - should it be a distinct module
@ 2007-04-30 22:52 Steve French
  2007-04-30 23:15 ` Chris Friesen
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Steve French @ 2007-04-30 22:52 UTC (permalink / raw)
  To: linux-kernel, linux-cifs-client

During SambaXP conference last week, one of the Samba 4 developers
talked about the work  doing a prototype server for SMB2 protocol
which got me thinking about the client side of this again.

As some background Windows Vista includes support for a new network
file system protocol, SMB2 (which is the default used on mount ie NET
USE or equivalent).  It is somewhat related to CIFS, although the
header format is bigger, better aligned and more of the operations are
handle based (rather than path based).  SMB2 is somewhat better than
CIFS in a few ways (although we would have to add Unix Extensions as
we have with CIFS to make it ideal for Linux).

Now that we (Samba team) understand enough about it to implement
prototypes (there is a prototype server in Samba 4, and a userspace
client library for testing), we need to decide whether the kernel
implementation of SMB2 client should be a distinct module or just part
of the cifs.ko module.

SMB2 (the protocol) is smaller than cifs, and obviously no backlevel
dialects to support (only slightly more than 12 different SMB2 network
commands would have to be used, although two have a couple of
different information levels each that the client would need to send).
 My guess is that less than 1/3 of the cifs module would overlap - but
that overlap is enough that it would be easier to do smb2 as part of
cifs (although it would make the cifs module somewhat larger).
During protocol negotiation (SMB Negotiate Protocol) SMB2 is listed as
a different dialect - if the server accepts SMB2 dialect then
subsequent commands begin with 0xFE instead of 0xFF and the header
fields are bigger and better aligned.

Any idea which would be preferred (smb2 support as part of cifs, or as
a distinct smb2.ko module)?

-- 
Thanks,

Steve

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

end of thread, other threads:[~2007-05-05 17:25 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-30 22:52 SMB2 file system - should it be a distinct module Steve French
2007-04-30 23:15 ` Chris Friesen
2007-05-01  9:06 ` Christoph Hellwig
2007-05-03 13:21   ` [linux-cifs-client] " simo
2007-05-03 14:17     ` Christoph Hellwig
2007-05-03 14:36       ` simo
2007-05-03 14:43         ` Christoph Hellwig
2007-05-03 14:53           ` simo
2007-05-03 15:14           ` Chuck Ebbert
2007-05-03 14:46         ` Gerald Carter
2007-05-03 14:56           ` simo
2007-05-03 15:35             ` Steve French
2007-05-03 15:44               ` Christoph Hellwig
2007-05-04 17:12           ` Jeremy Allison
2007-05-04 17:43             ` simo
2007-05-05  9:55               ` Christoph Hellwig
2007-05-04 18:35             ` Steve French
2007-05-01  9:30 ` Jan Engelhardt
2007-05-01 19:26   ` [linux-cifs-client] Re: SMB2 file system - should it be a distinctmodule Wagner, Chris (GEAE, CBTS)

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