- 03 Apr, 2014 1 commit
-
-
Eric Cano authored
Fixed h/rfcntl.h which missed multiple inclusion guards entirely.
-
- 02 Apr, 2014 3 commits
-
-
Daniele Kruse authored
-
Daniele Kruse authored
-
Steven Murray authored
-
- 01 Apr, 2014 2 commits
-
-
Steven Murray authored
-
Steven Murray authored
POLLIN is unfortuntaley not the logical or of POLLRDNORM and POLLRDBAND on SLC 5. I therefore replaced POLLIN with the logical or. I also added POLLPRI into the mix to cover all possible types of read event.
-
- 31 Mar, 2014 6 commits
-
-
Steven Murray authored
-
Steven Murray authored
-
Steven Murray authored
-
Steven Murray authored
I have added the values of reqHost and server to the log.
-
Steven Murray authored
-
Steven Murray authored
-
- 28 Mar, 2014 2 commits
-
-
Steven Murray authored
-
Steven Murray authored
-
- 27 Mar, 2014 8 commits
-
-
Steven Murray authored
-
Steven Murray authored
I introduced a bug into sstrerror() when I added error checking code around the call to Cglobals_get(). The hash of the offending commit is: ff8021a2 Before my so say improvements, the return value of Cglobals_get() was not checked. I added a check that assumed an error had occured if the return value was non-zero. Unfortuntaley for me, the return values 0 and 1 both mean success. A return value of -1 signifies a failure.
-
Daniele Kruse authored
-
Steven Murray authored
-
Steven Murray authored
The switch statement within TapeDaemon::registerTapeDriveWithVdqm() was missing a break statment. This caused an exception to be thrown.
-
Steven Murray authored
-
Steven Murray authored
This commit adds code to the tapeserverd daemon to register its drives with the vdqmd daemon. There is a problem with the code in that it fails to register two drives in the up state. This will be fixed later.
-
Sebastien Ponce authored
Added a constraint on MigrationJob.FileSize so that it cannot be <= 0. In particular, this makes sure that we do not try to migrate 0 size file
-
- 26 Mar, 2014 9 commits
-
-
Steven Murray authored
-
Daniele Kruse authored
-
Steven Murray authored
-
Daniele Kruse authored
-
Daniele Kruse authored
-
Steven Murray authored
-
Giuseppe Lo Presti authored
-
Giuseppe Lo Presti authored
-
Steven Murray authored
With this commit tapeserverd connects to the vdqm using Cgethostbyname(). It is planned to replace this use of Cgethostbyname() by getAddrInfo().
-
- 25 Mar, 2014 5 commits
-
-
Steven Murray authored
-
Steven Murray authored
-
Steven Murray authored
Eric found that the underlying C function getaddrinfo() is thread safe because of RFC 3493.
-
Steven Murray authored
-
Steven Murray authored
The getaddrinfo() function will be used instead of the inetPton() function, I am therefore removing inetPton() in order to reduce deadwood.
-
- 24 Mar, 2014 4 commits
-
-
Daniele Kruse authored
-
Steven Murray authored
This new overloaded version still needs to be implemented. It currently throws an exception.
-
Steven Murray authored
This version of connectToVdqm() is based on Cgethostbyname(). This is a temporary implementation. I would like that it is replaced by code based around getaddrinfo() which is both standard and thread-safe on linux and is therefore better than gethostbyname() whose rentrant cousin gethostbyname_r() is a GNU extension. According to the BSD manual pages, the getaddrinfo() function is a replacement for and provides more flexibility than gethostbyname(). I cannot find any information about the thread safety of getaddrinfo() on MAC.
-
Daniele Kruse authored
-