info: Reduce safety limit to 50 ms

After reducing the DGA query separation to 100 ms, the DGA safety kick in and
limits the DGA frequency. This patch changes the safety limit to 50 ms (20 Hz).

Target: trunk
Request: 2.11
Request: 2.10
Require-notes: no
Require-book: no
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: https://rb.dcache.org/r/7540/
nfs: set file size in namespace on stable_how is FILE_SYNC4

In some workloads, nfs client may request file size before mover
is slosed and file size is set. Nevertheless, prior such requests client
must commit written data by sending an explicit COMMIT operation
or WRITE with FILE_SYNC flag.

This change covers both cases. To match pnfsid's to mover we keep
a dedicated mapping with an assumption, that only single mover can
perform write operation.

2.11 is requested as we see the need for a sync in production system at desy.

Acked-by: Gerd Behrmann
Target: master, 2.11
Require-book: no
Require-notes: yes
Upgrade to Milton 2.6

Appears to be working. Solves the problem where proxied vector reads cause the entire
file to be written to local disk. Instead only the actual data that is to be returned
to the client is buffered. If this is more than 100 KB, that data is buffered on local
disk. The file is deleted after successful return of the data.

There are still problems though: In case of failures reading the data from the pool,
the temporary file is not deleted. The entire file is still downloaded from the pool
to the door (even when only the requested data is buffered), and the multi-range writer
in Milton is extremely inefficient as it processes one byte at a time (it fails to
override the multi-byte write methods).

The new version supports using cookies to remeber when a client has already logged in.
I disabled this feature for now.

Target: trunk
Request: 2.11
Request: 2.10
Request: 2.9
Request: 2.8
Request: 2.7
Request: 2.6
Require-notes: yes
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: https://rb.dcache.org/r/7530/
ftp: Relax requirements for EPSV and EPRT

Since using EPSV without delayed passive forces the use of a data channel
proxy, we have rejected use of RFC 2428 commands over IPv4. This requirement
can however be relaxed: EPRT can be used over IPv4 without proxying, and
EPSV can be used over IPv4 without proxying when delayed passive is enabled.

The patch has the potential to extend compatibility with clients and I hence
request it to be backported to 2.10.

Target: trunk
Request: 2.11
Request: 2.10
Require-notes: yes
Require-book: yes
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Patch: https://rb.dcache.org/r/7537/
srm,webdav,httpd: Log SSL handshake failures

Will log SSL failures, such as when clients try to use disabled features. Eg:

28 nov. 2014 10:21:53 (SRM-Gerds-MacBook-Pro-5) [] SSL handshake with localhost/127.0.0.1:62713 failed: SSLv2Hello is disabled

Target: trunk
Request: 2.11
Require-notes: yes
Require-book: no
Acked-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Acked-by: Paul Millar <paul.millar@desy.de>
Patch: https://rb.dcache.org/r/7539/
ftp: Relax requirements for EPSV and EPRT

Fix unit tests after 1d4fb58.
poolmanager: Fix full pool detection for WASS

When a file cannot fit within the free plus removable space without
crossing the pool gap, a pool is considered full. WASS erroneously
used the decayed removable space in this check. This meant that
if all pools had very fresh files, they could all be considered
full even though there are plenty of removable files. This patch
changes the check to consider all removable space of a pool. The
decayed removable space is only used when weighting the random
selection.

Target: trunk
Request: 2.11
Request: 2.10
Request: 2.9
Request: 2.8
Request: 2.7
Request: 2.6
Ticket: http://rt.dcache.org/Ticket/Display.html?id=8390
Require-notes: yes
Require-book: no
Acked-by: Christian Bernardt <christian.bernardt@desy.de>
Patch: https://rb.dcache.org/r/7531/
nfs: return correct verifier on WRITE and COMMIT

Acked-by: Paul Millar
Acked-by: Gerd Behrmann
Target: master
Require-book: no
Require-notes: no
libs: update to nfs4j-0.9.3

Changelog for nfs4j-0.9.2..nfs4j-0.9.3
    * [4d30382] nfsv4: release file state only after successful LayoutReturn
    * [1461589] nfsv4: disable grace period
    * [74feb02] pom: update to oncrpc4j-2.3.1

Acked-by: Gerd Behrmann
Target: master, 2.11
Require-book: no
Require-notes: no
nfs: stop embedded portmap on shutdown

Ticket: #8551
Acked-by: Gerd Behrmann
Target: master, 2.11, 2.10
Require-book: no
Require-notes: no