- Apr 03, 2014
-
-
Eric Cano authored
Fixed h/rfcntl.h which missed multiple inclusion guards entirely.
-
- Apr 02, 2014
-
-
Daniele Kruse authored
-
Daniele Kruse authored
-
Steven Murray authored
-
- Apr 01, 2014
-
-
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.
-
- Mar 31, 2014
-
-
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
-
- Mar 28, 2014
-
-
Steven Murray authored
-
Steven Murray authored
-
- Mar 27, 2014
-
-
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: 051afce9 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
-
- Mar 26, 2014
-
-
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().
-
- Mar 25, 2014
-
-
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.
-
- Mar 24, 2014
-
-
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
-