SMB2.1 leases support for CIFS kernel client

J. Bruce Fields bfields at fieldses.org
Tue Aug 9 12:00:04 MDT 2011


On Tue, Aug 09, 2011 at 09:11:20PM +0400, Pavel Shilovsky wrote:
> Hi all!
> 
> I implemented SMB2.1 leases support for cifs kernel module (in my
> smb2-dev branch -
> http://git.altlinux.org/people/piastry/public/?p=cifs-2.6.git;a=shortlog;h=refs/heads/smb2-dev).
> Now open and create work with leases support - it means that we can
> have several simulаneous opens for the same file and use cache for
> read and write operations (in the case when we use the same superblock
> for these opens).
> 
> Whole list of changes since the last status update:
> 1) SMB2 oplocks support (open, breaks).
> 2) SMB2.1 leases support (open, breaks).
> 3) strictcache i/o support for SMB2.
> 
> and other minor bugfixes and cleanups.
> 
> Your comments are appreciated!

Just a trivial comment: I think that #ifdef CONFIG_CIFS_SMB2 in
cifs_oplock_beak() is a case where the Linux convention of hiding the
ifdef with a conditionally-defined function would be a lot cleaner....

--b.


More information about the samba-technical mailing list