Added config options for rate limiting of large object downloads.

bug 786197

Change-Id: Idd73986ca4550b20dff340df4acd12f3bfc01075
Update swift-get-nodes to return fewer more_nodes

Changed swift-get-nodes to just return up to replica_count of
more_nodes instead of all of them. When you have thousands of drives,
returning all possible handoff nodes is pretty crazy. :)

Change-Id: I864e7243726ca3ef2ac08c4ab660a05789f37878
Make proxy-logging more like eventlet.posthook

The old use of Eventlet's posthook process meant that responses that
forgot to include content-length or transfer-encoding headers would
get one tacked on, if Eventlet could guess what was probably meant. I
added a bit of that logic into proxy-logging now as we saw some
errors resulting from this.

Fixes Bug #1012714

Change-Id: I671453eaf3704eab814ff12c4625ba7d749cc7ed
check disk failure before syncing for each partition

If disk failure happens while object replication is ongoing,
object-replicator could replicate objects from other nodes to the root
file system.  It is because object-replicator does no mount check
(error check) at all after collect_jobs() is called, and it executes
rsync based on the old partition information in update().

This change prevents many objects from being written to the root file
system wrongly and fixes bug 1014545.

Change-Id: Icf740a2683e360df89eccb71b269977f294340b9
Made dispersion report work with any replica count other than 3.

This changes the JSON output keys missing_one and missing_two to
missing_1 and missing_2 (if there are at least 2 replicas), drops
the missing_all key, and can add more missing_x keys depending on
the replica count. We will definitely need to post a prominent
notice of this change with the next release.

bug 862816

Change-Id: Ib747d944476638c33ee1d876b8f9db28953826e2
Patch for Swift Solaris (Illumos) compability.

* Add new configuration option log_address.

Change-Id: I636bd4116687629c997b70a0d804b7ed4bc46032
Merge "check disk failure before syncing for each partition"
Merge "Added config options for rate limiting of large object downloads."
Make `swift-get-nodes -a` show all handoffs.

Commit 95786e5 made swift-get-nodes only output N handoff nodes, where
N is the ring's replica count. This change leaves that behavior in
place as the default, but adds the option -a/--all to print all the
handoff nodes.

This is handy if you're consuming the output with a script, e.g. if
you're doing some analysis of the distribution of primary+handoff
nodes for a particular set of things.

Change-Id: Ie0253575bb21ccf25559a1c5fd20570a58a2d9fa
use sort_key to compare the number of partitions the device wants

Fixes bug 1016140.

Change-Id: I0c98561f58f80408064ea178c6d6e8889604cddb
Fixes for probe tests

Updated the imports and added a head_account to the "is the cluster
started yet?" checks. Hopefully this fixes the notorious timing
issues of these tests where auth answers requests just a bit before
the rest of the cluster is ready.

Fixes bug 1014931

Change-Id: Iea1d62db2317560371da49af5e94a0279b646294
Merge "Patch for Swift Solaris (Illumos) compability."
Merge "Make proxy-logging more like eventlet.posthook"
Merge "use sort_key to compare the number of partitions the device wants"
Merge "Fixes for probe tests"