Age | Commit message (Collapse) | Author | Files | Lines |
|
(This used to be commit 7f54c8a339f36aa43c9340be70ab7f0067593ef2)
|
|
it. epoll is much more scalable than select(), but only exists on some
systems (such as Linux with the 2.6.x kernel). The code detects any
epoll system call failures at runtime and falls back to select() if
there is a problem, so it should be safe to compile this on a 2.6
kernel and run it on a 2.4.x kernel.
The speedup is quite large. It gains 20% in packet rate in the
BENCH-NBT test, on top of another 20% gain from the better timer
handling I added earlier. The really big gain will be when we are
dealing with large numbers of file descriptors. With epoll we can
handle hundreds of file descriptors all O(1), whereas with select it
is O(n).
(This used to be commit 26aa1aa69377e43da2942a42d137b95801e9fa1a)
|
|
around broken solaris headers some other way.
(This used to be commit 1333522a6beea8d474aa36390acbd265b63413d3)
|
|
(This used to be commit 11277ddb4ca8a2917565f4e211816cbba431b90d)
|
|
(This used to be commit d9c1bf10608ecc3d6a4aace44fb0dce3547c5f53)
|
|
(This used to be commit 4181b38fac426cfc786e52cdd43fdeddbc26651f)
|
|
_GNU_SOURCE defined in the test
(This used to be commit b4200a462354cb605eb6af41427027147798de6e)
|
|
to use the same
acl format as we use in pvfs (and hopefully use common code too)
- removed a lot of old cruft from our autoconf tests. This may well break some builds,
but then we can fix them properly instead of the "if solaris version 5.1.2" crap
This was prompted by someone sending me solaris 10 patches that
patched the configure script with if statements for several more
versions of solaris to check for and do special stuff. That is just
silly.
(This used to be commit 1ea59d1146f041e9befbb435e901c6d7d497c52c)
|
|
(This used to be commit 48b52584ab7db747feaf7ad4382bd3877935ee26)
|
|
this the same way)
(This used to be commit 8cf15704101e5957e15a0401e4832faf1346f12e)
|
|
Should fix the build on several *BSD systems that have dlopen() in libc
(This used to be commit 6d2b8e71c177d1d35a8b975cd5f24089aaa2bb49)
|
|
(This used to be commit 573230ea99136bd66d00bac18effd28b1e5ba76f)
|
|
thanks to Bjoern JACKE <samba@j3e.de> for pointing this out
(This used to be commit 53c4d0a7d83181afbe01bbbb0840cb2a086b45da)
|
|
- Use .mk files directly (no need for a SMB_*_MK() macro when adding a new SUBSYSTEM, MODULE or BINARY). This allows addition of new modules and subsystems without running configure
- Add support for generating .dot files with the Samba4 dependency tree (as used by the graphviz and springgraph utilities)
(This used to be commit 64826da834e26ee0488674e27a0eae36491ee179)
|
|
(This used to be commit e32f87fdea3070ea715ef547f2a406aa63ab775f)
|
|
(This used to be commit 975f06b626a3cc25e69bbe95dcfa04dc78e3dc92)
|
|
attributes of files.
I decided to use IDL/NDR to encode the attribute, as it gives us a
simple way to describe and extend the saved attributes.
The xattr code needs to hook into quite a few more places in the pvfs
code, but this at least gets the basics done. I will start encoding
alternate data streams streams, DOS EAs etc soon using the same basic
mechanism.
I'll probably stick to "version 1" for the xattr.idl for quite a while
even though it will be changing, as I don't expect anyone to be
deploying this in production just yet. Once we have production users
we will need to keep compatibility by supporting all the old version
numbers in xattr.idl.
(This used to be commit c54253ed1b7dce1d14f43e747da61089aea87094)
|
|
(This used to be commit 8afc2b3bc19c627f7b970ee6ce0480039ed5d3cb)
|
|
I have created the include/system/ directory, which will contain the
wrappers for the system includes for logical subsystems. So far I have
created include/system/kerberos.h and include/system/network.h, which
contain all the system includes for kerberos code and networking code.
These are the included in subsystems that need kerberos or networking
respectively.
Note that this method avoids the mess of #ifdef HAVE_XXX_H in every C
file, instead each C module includes the include/system/XXX.h file for
the logical system support it needs, and the details are kept isolated
in include/system/
This patch also creates a "struct ipv4_addr" which replaces "struct
in_addr" in our code. That avoids every C file needing to import all
the system networking headers.
(This used to be commit 2e25c71853f8996f73755277e448e7d670810349)
|
|
(This used to be commit 6a3f356b763b0577e2ad3e7ea74bee932c04a46b)
|
|
(This used to be commit 3318cf2722597e57d1731152b2607f6b167e45b9)
|
|
on systems that have the intptr_t type, and for systems that don't
have it, they also almost certainly won't have -Wcast-qual, so we can use a
void* cast.
(This used to be commit 2132d38f9c5ba59825558d5ba084a514ebc2626b)
|
|
don't actually work yet, that will come later)
(This used to be commit 46b790c19da25ba88d29f555f828688bb05e531d)
|
|
{get,set}ntacl
programs can build on non-xattr machines.
(This used to be commit daad76207dbb4060c231a58c99970e837e1e858f)
|
|
paulg
(This used to be commit a489ea5ebec852c33c4d659893144b0577ee8af1)
|
|
the build for some BSD varients.
(This used to be commit 73e9ee791472bb212efe0eb4744daa91678263ad)
|
|
the configure tests.
and test if the compiler really understand the options,
and clear them when not
this means we can maybe use --enable-developer on the build farm now
metze
(This used to be commit 35624842c7b25c404e6203564005e3098e4249b4)
|
|
merge the backtrace stuff from 3.0
metze
(This used to be commit 4daf1bafc71cc8f13188aeb85d81aa7513d57d95)
|
|
and use @{$SMB_BUILD_CTX->{BUILD_ENV}{LD}{DYNEXP}} for the flags
I'll use this for all vars which are currently using AC_SUBST(),
so we can skip Makefile.in...
(this should fix the build on us4...)
metze
(This used to be commit 798cbed5a328bd773447f1ee0b4f6ea751062e7e)
|
|
(This used to be commit 0209dce1eb9c62c0e454906d9ba015d8c5f5abf6)
|
|
- move immediate structures check to the compiler checks
metze
(This used to be commit e2a322aa116de9977f6438f9eb6d2af42799ab83)
|
|
metze
(This used to be commit 2d109074e8be712a6eb0cfc76439176e3dcdee3a)
|
|
metze
(This used to be commit 2986c5f08c8f0c26a2ea7b6ce20aae025183109f)
|
|
metze
(This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)
|
|
metze
(This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
|
|
structures. This was suggested by metze recently.
I checked on the build farm and all the machines we have support 64
bit ints, and support the LL suffix for 64 bit constants. I suspect
some won't support strtoll() and related functions, so we will
probably need replacements for those.
(This used to be commit 9a9244a1c66654c12abe4379661cba83a73c4c21)
|
|
metze
(This used to be commit afbe692b47f4aa6ebe2155927be00197fafe13f3)
|
|
be more restrict if we don't have 'long long' or it's size is less than 8 bytes
(maybe only for a while, but if the build farm like it we may let it in forever
since the smb protocol really need 64 bit variables!)
metze
(This used to be commit 4a13cc22b464dfc4cbecfa6922b14c60d95876bd)
|
|
what we need is a test if the compiler does ANSI c99
metze
(This used to be commit e8a11e441b074f9dc1c7c24c9048f8927dac8e59)
|
|
metz
(This used to be commit 6289da6783d91637a6be76a4e5444fc22570eca0)
|
|
(we fail anyway)
metze
(This used to be commit 9f6deb7d795fbddc973e84a45ecb1273aa4f3aea)
|
|
libads/config.m4 :-)
- Move sendfile check to ntvfs/config.m4
- Move comparison_fn_t check to build/m4/rewrite.m4
Please do not new tests to configure.in directly,
please add them to the subsystems config.m4 file where they belong to or
to build/m4/rewrite.m4 if you don't know where to put it for now
Thanks
I know samba4's build system is not completly rewritten.
I have a lot of updatest in my local tree, but it's not complete yet
when it's complete I'll write documentation for it:-)
metze
(This used to be commit 31c23f14d60a4aa41e0500e369f25ed6dc7ddae7)
|
|
including readline and popt
- creat the CONFIG subsystem
including param/* dynconfig.* and passdb/secrets.*
metze
(This used to be commit bfd7fd21c8e38c0065fc41dde10e863a169878c2)
|
|
and remove NET_GROUP stuff, this needs to be implemented
in a better way if we ever readd this
metze
(This used to be commit da5f22976fb40ec96160439c7a926a15805fc7f0)
|
|
metze
(This used to be commit cbfa29549e5b302f947c7f2ca14fbea257e46c33)
|
|
from tests/*.c to build/tests/*.c
metze
(This used to be commit dea3a3acbfe2341f9276ceaec2a42f0931e2c336)
|
|
we should get rid of this file in the end:-)
the tests should go into subsystems config.m4 files
the goal is to know which tests belong to what code
and remove unused tests to make configure a bit faster
metze
(This used to be commit 3abb0fd19b27261e2b9fa46f287162be8f096913)
|