| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
3.2.0pre1
|
| |
|
|
|
|
| |
This removes file_id_string_static and file_id_string_static2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds the two functions talloc_stackframe() and talloc_tos().
* When a new talloc stackframe is allocated with talloc_stackframe(), then
* the TALLOC_CTX returned with talloc_tos() is reset to that new
* frame. Whenever that stack frame is TALLOC_FREE()'ed, then the reverse
* happens: The previous talloc_tos() is restored.
*
* This API is designed to be robust in the sense that if someone forgets to
* TALLOC_FREE() a stackframe, then the next outer one correctly cleans up and
* resets the talloc_tos().
The original motivation for this patch was to get rid of the
sid_string_static & friends buffers. Explicitly passing talloc context
everywhere clutters code too much for my taste, so an implicit
talloc_tos() is introduced here. Many of these static buffers are
replaced by a single static pointer.
The intended use would thus be that low-level functions can rather
freely push stuff to talloc_tos, the upper layers clean up by freeing
the stackframe. The more of these stackframes are used and correctly
freed the more exact the memory cleanup happens.
This patch removes the main_loop_talloc_ctx, tmp_talloc_ctx and
lp_talloc_ctx (did I forget any?)
So, never do a
tmp_ctx = talloc_init("foo");
anymore, instead, use
tmp_ctx = talloc_stackframe()
:-)
Volker
|
|
|
|
|
|
|
|
|
|
|
|
| |
and alters the device id depending on the configured algorithm.
The algorithm is configured via "fileid:algorithm":
- "fsname" (default) uses a uint64 hash over the mount point
- "fsid" uses the fsid returned from statfs()
This is needed for "clustering = yes" on some clusterfilesystems
metze
|
| |
|
|
|
|
|
|
| |
add file_id_create() to some vfs modules
metze
|
|
|
|
|
|
|
|
|
| |
add a file_id_create() hook into the VFS layer
it's needed for some cluster filesystems to
overload this function.
metze
|
|
|
|
|
|
| |
fixed prototype
metze
|
|
|
|
|
| |
> Linux oplock support is conditional on HAVE_KERNEL_OPLOCKS_LINUX,
> not plain old LINUX.
|
|
|
|
| |
Jeremy.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Jeremy.
|
| |
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243897
|
|
|
|
|
|
|
|
|
| |
return to correctly return NT_STATUS_INVALID_OWNER if it
should be disallowed. Matches better what W2K3R3 does.
NFSv4 ACL module owners, please examine these changes.
Jeremy.
|
|
|
|
|
| |
clear to my why the catia module feels it's necessary to implement
these operations, but at least they're now the right type.
|
|
|
|
|
| |
Make VFS callbacks static. Mark operations as OPAQUE because they
do not pass through.
|
| |
|
|
|
|
|
| |
gpfs share modes in special situations. This might be split up in
several modules later.
|
| |
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
case-sensitive filesystem.
|
| |
|
|
|
|
|
|
|
|
| |
(This is r22918 in SAMBA_3_0.)
Where the heck did that smb_acl_permset_t come from?
I can't remember, but I am sure this built once...
Michael
|
|
|
|
| |
Michael
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds vfs_posixacl to the list of static modules and
makes use of HAVE_ACL_GET_PERM_NP.
This is just a quick fix. FreeBSD acl support is still
hardcoded in configure.in, but actually this could be
detected in a unified test for freebsd, linux, *,
as suggested in the bugreport. This has still to be
checked and elaborated.
Michael
|
|
|
|
|
| |
to examine parse_misc.c fix.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
calls. No functional changes. Looks bigger than it is :-).
Jeremy.
|
|
|
|
| |
_file). Thanks to Gomati Mohanan.
|
| |
|
| |
|
|
|
|
|
|
|
| |
on every pread/sendfile call, initialize these
variables in an allocated struct at connection
time and just refer to them directly.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
| |
for copying files from Samba when using Windows Vista Windows
explorer.... :-). By default if you add this I can go on my
vmware sessions from 7MB/sec to 12MB/sec (+1 extra MB/sec if
I turn sendfile on).
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
without utimes() call (only utime()).
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Jeremy.
After discussion with the Apple and Linux client maintainers,
changing the FindFirst response for the UNIX_INFO2 level to include
a length field before the name. The name is not required to be null
terminated. The length field does not count any null.
Also add call to chflags(2) in the default VFS module so that this
will work be default on BSD-derived platform. Add UNIX-INFO2 test
to the build farm to get some non-BSD coverage.
Jeremy and Jerry, please review for inclusion in 3.0.25.
|
| |
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
for pointing this out !
Jeremy.
|
|
|
|
|
|
|
|
| |
SAMBA_3_0 revisions:
r21756:21757
r21761:21762
r21762:21763
r21764:21767
|
|
|
|
| |
Jeremy.
|