From: "Steve French" <smfrench@gmail.com>
To: linux-kernel@vger.kernel.org, linux-cifs-client@lists.samba.org
Subject: SMB2 file system - should it be a distinct module
Date: Mon, 30 Apr 2007 17:52:43 -0500 [thread overview]
Message-ID: <524f69650704301552j13cd46e5y53a233af753e0548@mail.gmail.com> (raw)
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
next reply other threads:[~2007-04-30 22:52 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-30 22:52 Steve French [this message]
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)
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=524f69650704301552j13cd46e5y53a233af753e0548@mail.gmail.com \
--to=smfrench@gmail.com \
--cc=linux-cifs-client@lists.samba.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®