cephfs: round down requests for large block sizes

Hadoop uses long for file block size, but the Ceph interface accepts
32-bit integers. Round down and log any instances of block size requests
that are too large.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
cephfs: support custom replicaiton

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
cephfs: update note on replication support

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
cephfs: use Hadoop conf file to setup tests

Rather than pull in several environment variables, instead we run the
tests using a real Hadoop configuration file. This was initially done to
provide several data pool names for the test, but this is also a good
idea because it implicitly tests the configuration options that we
support and which are in the documentation.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
cephfs: separate test functionality

We will next introduce both default and custom replication versions of
the test harness.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
cephfs: test default replication

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
cephfs: add unit tests for custom replication

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Merge branch 'cephfs/branch-1.0-datapools' into cephfs/branch-1.0

Reviewed-by: Joe Buck <jbbuck@gmail.com>