Skip to content

Commit

Permalink
Merge pull request #1 from xrootd/master
Browse files Browse the repository at this point in the history
Merging all the changes
  • Loading branch information
efajardo committed Feb 10, 2017
2 parents c786d75 + a34836e commit ab4de94
Show file tree
Hide file tree
Showing 275 changed files with 16,973 additions and 6,004 deletions.
16 changes: 9 additions & 7 deletions Doxyfile
Expand Up @@ -161,14 +161,16 @@ src/XrdCl/XrdClURL.hh \
src/XrdCl/XrdClAnyObject.hh \
src/XrdCl/XrdClXRootDResponses.hh \
src/XrdCl/XrdClFile.hh \
src/XrdFileCache/XrdFileCache.hh \
src/XrdFileCache/XrdFileCacheFactory.hh \
src/XrdFileCache/XrdFileCachePrefetch.hh \
src/XrdFileCache/XrdFileCacheInfo.hh \
src/XrdFileCache/XrdFileCacheIOFileBlock.hh \
src/XrdFileCache/XrdFileCacheIOEntireFile.hh \
src/XrdFileCache/XrdFileCacheStats.hh \
src/XrdFileCache/XrdFileCacheDecision.hh
src/XrdFileCache/XrdFileCacheFile.hh
src/XrdFileCache/XrdFileCache.hh
src/XrdFileCache/XrdFileCacheInfo.hh
src/XrdFileCache/XrdFileCacheIOEntireFile.hh
src/XrdFileCache/XrdFileCacheIOFileBlock.hh
src/XrdFileCache/XrdFileCacheIO.hh
src/XrdFileCache/XrdFileCachePrint.hh
src/XrdFileCache/XrdFileCacheStats.hh
src/XrdFileCache/XrdFileCacheTrace.hh

FILE_PATTERNS = *.hh
RECURSIVE = YES
Expand Down
3 changes: 3 additions & 0 deletions cmake/FindOpenSSL.cmake
Expand Up @@ -46,6 +46,9 @@ endif()

set ( CMAKE_REQUIRED_LIBRARIES ${OPENSSL_LIBRARIES} )

check_function_exists(TLS_method HAVE_TLS)
compiler_define_if_found(HAVE_TLS HAVE_TLS)

check_function_exists(TLSv1_2_method HAVE_TLS12)
compiler_define_if_found(HAVE_TLS12 HAVE_TLS12)

Expand Down
12 changes: 12 additions & 0 deletions cmake/XRootDOSDefs.cmake
Expand Up @@ -11,6 +11,11 @@ set( Solaris FALSE )
add_definitions( -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 )
set( LIBRARY_PATH_PREFIX "lib" )

if( NOT DEFINED USE_LIBC_SEMAPHORE )
set(USE_LIBC_SEMAPHORE 0)
endif()
add_definitions( -DUSE_LIBC_SEMAPHORE=${USE_LIBC_SEMAPHORE} )

#-------------------------------------------------------------------------------
# GCC
#-------------------------------------------------------------------------------
Expand All @@ -24,6 +29,13 @@ if( CMAKE_COMPILER_IS_GNUCXX )
AND GCC_VERSION VERSION_LESS 4.2 )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-strict-aliasing" )
endif()

# for 4.9.3 or greater the 'omit-frame-pointer'
# interfears with custom semaphore implementation
if( (GCC_VERSION VERSION_GREATER 4.9.2) AND (USE_LIBC_SEMAPHORE EQUAL 0) )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-omit-frame-pointer" )
endif()

# gcc 6.0 is more pedantic
if( GCC_VERSION VERSION_GREATER 6.0 OR GCC_VERSION VERSION_EQUAL 6.0 )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=misleading-indentation" )
Expand Down
12 changes: 0 additions & 12 deletions docs/PreReleaseNotes.txt
Expand Up @@ -5,15 +5,3 @@ XRootD
Prerelease Notes
================

+ **New Features**
* [Server] Fixes #345 - add sid to TOD structure (ABI compliant).
* [Server] Implement resource selection affinity (primarily for ssi).

+ **Major bug fixes**
* [Authentication/sss] Fix dynamic id incompatability introduced in 4.0.

+ **Minor bug fixes**
* [Server] Fixes #344 - squash path before checking for static redirect.
* [Server] Free Entity before replacing it from the cache (memleak).

+ **Miscellaneous**
119 changes: 119 additions & 0 deletions docs/ReleaseNotes.txt
Expand Up @@ -6,6 +6,125 @@ Release Notes
=============


-------------
Version 4.6.0
-------------

+ **New Features**
* **[XrdCms]** Add non-blocking sends to avoid slow links.
* **[XrdFileCache]** File caching proxy V2 (and new pss async interface).

+ **Major bug fixes**
* **[XrdCeph]** Account for return Ceph xattr return codes.
* **[XrdCeph]** Fixed initialization of Ceph clusters when stripers are not used.
* **[XrdCrypto]** Improved determination of X509 certificate type,
including proxy version
* **[XrdHttp]** Fix memory leak in Bridge protocol (affects HTTP).
* **[XrdSecgsi]** Several improvements in the way CRLs are checked and reloaded.
* **[XrdCl]** Protect against spurious wakeups in SyncResponseHandler.
* **[XrdCl]** On read-timeout, if the stream is broken, make sure the request and
its handler are not double deleted.

+ **Minor bug fixes**
* **[XrdCl]** Check if the file was correctly closed upon ZipArchiveReader destruction.
* **[Server]** Add limits for prepare requests.
* **[Server]** Delete buffers when the buffer manager is deleted. Fixes #414
* **[Server]** Do not double count overlapping spaces. Fixes #425
* **[XrdHttp]** Allow unauthenticated https clients.
* **[XrdHttp]** Make Xrdhttp secure by default (rejecting proxy cert in the absence
of a proper SecXtractor plugin)

+ **Miscellaneous**
* **[XrdSecgsi]** Re-activate xrdgsitest
* **[RPM]** Include xrdgsitest in xrootd-client-devel package.
* **[XrdFileCache]** Add example of filecache configuration.

-------------
Version 4.5.0
-------------

+ **New Features**
* **[XrdCms]** Allow specifying a different timeout for null cached entries; fixes #413
* **[XProtocol/XrdSec/Server/XrdCl]** Implement request signing.
* **[XrdCl]** Add ZIP extracting capability to xrdcp.
* **[XrdCl]** Include the release number in client Login request cgi.
* **[XrdCl]** Add support for spaces in file names for mv operation.

+ **Major bug fixes**
* **[XrdCrypto/Secgsi]** Fix XrdCryptosslMsgDigest::Init ; set 'sha256' as
default algorithm.
* **[XrdCl]** Use posix semaphores for fedora >= 22. Disable
omit-frame-ponter for gcc >= 4.9.3 if custom semaphores are used.

+ **Minor bug fixes**
* **[XrdSecsss]** Fix memory leak in sss protocol.
* **[XrdNet]** Allow hostnames to begin with a digit.
* **[XrdCl]** Fix segfault in case a user cannot be mapped to a home directory.
* **[XrdCl]** Make sure a socket is always associated with a proper poller
object (not null).
* **[XrdCl]** Fix deadlock in XrdCl::PollerBuiltIn during finalize.
* **[XrdCrypto]** Do not use md5 checksum on OSX platform.

+ **Miscellaneous**
* **[RPM]** Include xrdacctest in xrootd-server package.
* **[RPM]** Add conditional BuildRequires for ceph >= 11.
* **[RPM]** Use compat-openssl10-devel for fedora>=26.
* **[XrdCl]** Make sure the Log class can be used by any client plugin implementation.

-------------
Version 4.4.0
-------------

+ **New Features**
* **[Server]** Add new [no]rpipa option to xrd.network directive.
* **[Server]** Allow objectid's to be specified in the authorization file.
* **[Server]** Add new logging plugin interface.
* **[Server]** Fixes #345 - add sid to TOD structure (ABI compliant).
* **[Server]** Implement resource selection affinity (primarily for ssi).
* **[XrdCl]** Add Metalink support (xrdcp & API).
* **[XrdCl]** Enable metalink processing on default.
* **[XrdCl]** xrdcp: use cks.type cgi tag to select the checksum type.
* **[XrdCl]** Support local metalink files.
* **[XrdCl]** Add support for GLFN redirector of last resort.
* **[XrdCeph]** Implemented pools of ceph objects.

+ **Major bug fixes**
* **[Posix]** Remove double unlock of a mutex.
* **[Client]** Serialize security protocol manager to allow MT loads.
* **[Authentication/sss]** Fix dynamic id incompatability introduced in 4.0.
* **[XtdHttp]** Removed the deprecated cipher SSLv3, in favor of TLS1.2
* **[XrdCl]** Close file on open timeout.
* **[XrdCl]** Differentiate between a handshake and an xrootd request/response
while processing an incoming/outgoing message.
* **[XrdCl]** Fix dangling pointer issue that occurs while forking.
* **[XrdCl]** Ensure DefaultEnv is finalized after last use of the object.

+ **Minor bug fixes**
* **[Proxy]** Avoid SEGV when printing memory cache statistics.
* **[Server]** Avoid XrdNetIF static initialization issues.
* **[Server]** Honor DFS setting when forwarding operations.
* **[Server]** Make sure lockfile time is updated in deprecated runmodeold.
* **[Server]** Fixes #344 - squash path before checking for static redirect.
* **[Server]** Free Entity before replacing it from the cache (memleak).
* **[XrdCl]** xrdfs ls does not include opaque info in a listing.
* **[XrdCl]** Eliminate unnecessary write notifications.
* **[XrdCl]** Forward xrd.* parameters from the original to the redirection URL.
* **[XrdCl]** Do not preset CWD in batch mode.
* **[XrdCl]** Be complaint with file URI scheme.
* **[XrdCl]** Fix wrong query string used for opaquefile code.
* **[XrdCl]** Translate XRootD error code to errno before passing to strerror.
* **[XrdCeph]** Fixed thread safety of filedescriptors in the ceph plugin.
* **[XrdCeph]** Protected initialization of ioCtx object and striper objects
by mutex in the ceph plugin.
* **[XrdCeph]** Fixed memory corruption in asynchronous read from ceph.
* **[XrdXml]** Make sure c-string buffes are properly terminated.
* **[XtdHttp]** Don't trim printable characters.

+ **Miscellaneous**
* **[XrdCl]** Change the way handlers and messages are matched (use maps).
* **[Apps]** Add xrdacctest to the tools set to test access control databases.
* **[Packaging/RPM]** Set max open files limit to 65k for systemd services.

-------------
Version 4.3.0
-------------
Expand Down
27 changes: 21 additions & 6 deletions docs/man/xrdcp.1
Expand Up @@ -12,7 +12,7 @@ xrdcp - copy files
[\fB--recursive\fR] [\fB--retry\fR \fItime\fR] [\fB--server\fR]
[\fB--silent\fR] [\fB--sources\fR \fInum\fR] [\fB--streams\fR \fInum\fR]
[\fB--tpc\fR \fIfirst\fR|\fIonly\fR] [\fB--verbose\fR] [\fB--version\fR]
[\fB--xrate\fR \fIrate\fR] [\fB--metalink\fR]
[\fB--xrate\fR \fIrate\fR] [\fB--zip\fR \fIfile\fR]

\fIlegacy options\fR: [\fB-adler\fR] [\fB-DS\fR\fIparm string\fR] [\fB-DI\fR\fIparm number\fR]
[\fB-md5\fR] [\fB-np\fR] [\fB-OD\fR\fIcgi\fR] [\fB-OS\fR\fIcgi\fR] [\fB-x\fR]
Expand Down Expand Up @@ -129,14 +129,14 @@ displays summary output.
displays version information and immediately exits.

.RE
\fB-X\fR | \fB--xrate\fR \fIrate\fR
\fB-z\fR | \fB--zip\fR
.RS 5
[NOT YET IMPLEMENTED]
copy given file from a ZIP archive.

.RE
\fB-M\fR | \fB--metalink\fR
\fB-X\fR | \fB--xrate\fR \fIrate\fR
.RS 5
treats source as a metalink.
[NOT YET IMPLEMENTED]

limits the copy speed to the specified \fIrate\fB. The rate may be qualified
with the letter \fBk\fR, \fBm\fR, or \fBg\fR to indicate kilo, mega, or giga
Expand Down Expand Up @@ -191,7 +191,7 @@ equivalent to "\fB--sources 12\fR".
.SH OPERANDS
\fIsource\fR
.RS 5
a local file, a local directory name suffixed by /, or
a dash (i.e. \fB-\fR) indicating stanard in, a local file, a local directory name suffixed by /, or
an xrootd URL in the form of
.ce 1
\fBxroot://[\fIuser\fB@\fR]\fIhost[\fB:\fIport\fR]\fB/\fIabsolutepath\fR
Expand Down Expand Up @@ -431,6 +431,21 @@ Number of unacknowledged probes before considering the connection dead
(Linux only)
.RE

XRD_METALINKPROCESSING
.RS 5
Enable/Disable Metalink processing (enabled by default)
.RE

XRD_LOCALMETALINKFILE
.RS 5
Enable/Disable local Metalink file processing (by convention the following URL schema has to be used: root://localfile//path/filename.meta4)
.RE

XRD_GLFNREDIRECTOR
.RS 5
The redirector will be used as a last resort if the GLFN tag is specified in a Metalink file.
.RE

.SH NOTES
Documentation for all components associated with \fBxrdcp\fR can be found at
http://xrootd.org/docs.html
Expand Down
7 changes: 6 additions & 1 deletion docs/man/xrdfs.1
Expand Up @@ -4,7 +4,7 @@ xrdfs - xrootd file and directory meta-data utility
.SH SYNOPSIS
.nf

\fBxrdfs\fR \fIhost[:port]\fR \fI[command [args]]\fR
\fBxrdfs\fR \fI[--no-cwd]\fR \fIhost[:port]\fR \fI[command [args]]\fR

\fBcommand\fR: help, chmod, ls, locate, mkdir, mv, stat, statvfs, query, rm, rmdir,
truncate, prepare, cat, tail, spaceinfo
Expand All @@ -18,6 +18,11 @@ Command help is available by invoking \fBxrdfs\fR with no command
line options or parameters and then typing "help" in response to the
input prompt.

.SH OPTIONS
\fB--no-cwd\fR
.RS 3
No CWD is being preset in interactive mode.

.SH COMMANDS
\fBchmod\fR \fIpath\fR \fI<user><group><other>\fR
.RS 3
Expand Down

0 comments on commit ab4de94

Please sign in to comment.