SMB2_GETINFO and multi-volume shares.

Ira Cooper ira at
Thu Feb 7 06:55:17 MST 2013

Comments from an IRC review with metze:

*<metze>* ira: why does the smb2 behavior differ from smb1

*<ira>* *metze*: I diverged them because I was not as confident of what the
SMB1 semantics should be.  If you're happy with merging them I'll do it.

*<metze>* they should always do the same I guess

*<metze>* but please also ask jeremy

*<ira>* It is the I guess that concerned me :).  So I took a conservative

(Comments are reprinted with metze's approval.)

Jeremy, can you review this patch for the SMB1/SMB2 semantics please?  I'd
be happy to make them match, but I'm setup to test the SMB2 semantics, only.



On Wed, Feb 6, 2013 at 8:42 AM, Ira Cooper <ira at> wrote:

> We have a use-case where we export multiple "volumes" or "filesystems"
> under one share.
> If we do this, we find that dir is returning the incorrect amount of space
> free in a given directory.
> Please see the enclosed patch for master.  It has passed "basic" testing
> locally. (Verifying the actual code works.) We've been using a similar
> patch on 3.6 for a while now.
> Feel free to review + push.  Once review is done, I'll open up a bug and
> we'll get this into 4.0/3.6.
> Thanks,
> -Ira

More information about the samba-technical mailing list