- Nov 09, 2017
-
-
Michael Davis authored
In the case of a Stream response, XRootD allocates the memory and manipulates the buffer pointer. In the case of a Data response, we need to allocate the buffer ourselves. In both cases, the buffer is treated in ProcessResponseData(), which does not care how the buffer was filled. This requires a bit of extra logic to make sure the buffer is deallocated for Data responses but not Stream responses. I have done this using a unique pointer to allocate a char[] for Data responses. and char *m_buffer_ptr points to the memory allocated. We never delete m_buffer_ptr as memory allocation is handled either by the unique_ptr or by XRoot and we don't care which.
-
Michael Davis authored
-
Michael Davis authored
-
Michael Davis authored
-
Michael Davis authored
-
- Nov 08, 2017
-
-
Michael Davis authored
-
Michael Davis authored
-
Michael Davis authored
-
- Nov 03, 2017
-
-
Michael Davis authored
-
- Nov 02, 2017
-
-
Michael Davis authored
-
- Nov 01, 2017
-
-
Michael Davis authored
-
Michael Davis authored
-
Michael Davis authored
Conflicts: xroot_ssi_pb/XrdSsiPbService.hpp
-
- Oct 30, 2017
-
-
Eric Cano authored
This led to garbage collactor segfaults.
- Oct 27, 2017
-
-
Eric Cano authored
This allows previously developped asyncLockfreeFetch to apply to it.
-
- Oct 26, 2017
-
-
Eric Cano authored
The previous strategy was made under the assumption that we needed to lock sparingly. With the introduction of lockfree strategy, this is not true anymore. The new strategy will be immune from the A watches B, B watches A, both die, and no one garbage collects them situation (also called cyclers in utility cta-objectstore-unfollow-agent).
-
Eric Cano authored
-
Eric Cano authored
This will remove contention on the drive register as drives uipdate their statuses. Also simplified structures in OStoreDB implementation (less references with added friend relations).
-
- Oct 20, 2017
- Oct 19, 2017
-
-
Eric Cano authored
The missing unwatch fix should improve performance of watch/notify based locking significantly. Instrumentation will log any call to rados longer that 1s to /var/tmp/cta-rados-slow-calls.log. Also prepared a structure to allow switching between watch/notify and backoff based locking. Backoff code is not yet brought back (will test with the unwatch fix first).
-
- Oct 16, 2017
-
-
Steven Murray authored
Added Castor_limits.man and source code of Csnprintf
-
Sebastien Ponce authored
Note that this change is a noop, as the code after compiler preprocessing does not change. This was actually double checked manually.
-
Sebastien Ponce authored
Note that this change is a noop, as the code after compiler preprocessing does not change. This was actually double checked manually.
-
Sebastien Ponce authored
In particular, dropped all code related to unsupported platforms. Note that it has been verified that this commit is a noop for the compiled code as the preprocessed code is unchanged (modulo some line numbers).
-
Sebastien Ponce authored
-
Olof Barring authored
-
Jean-Damien Durand authored
-
Jean-Damien Durand authored
-
Jean-Philippe Baud authored
-
Jean-Philippe Baud authored
-
Benjamin Couturier authored
-
Benjamin Couturier authored
-
Jean-Philippe Baud authored
-