mon: implement 'mds set max_mds|max_file_size'

First, add the ability to modify max_file_size.  While we are at it, move
to a more sensible interface for adjusting max_mds too.

Signed-off-by: Sage Weil <sage@inktank.com>
mds/MDSMap: include max_file_size in plaintext print output

Signed-off-by: Sage Weil <sage@inktank.com>
mon: debug propagate_snaps_to_tiers

Signed-off-by: Sage Weil <sage@inktank.com>
osd: fix propagation of removed snaps to other tiers

When we update removed_snaps we do not update snap_seq.  Drop this broken
optimization.

Signed-off-by: Sage Weil <sage@inktank.com>
osd/OSDMonitor: fix 'osd tier add ...' pool mangling

Signed-off-by: Sage Weil <sage@inktank.com>
Merge pull request #1072 from ceph/wip-tier-snap

Reviewed-by: Greg Farnum <greg@inktank.com>
erasure-code: use uintptr_t instead of long long

Checking the pointer alignment using a cast to long long raises a
warning when --Wpointer-to-int-cast is given.

Signed-off-by: Loic Dachary <loic@dachary.org>
v0.75
buffer: do not append trailing newline when appending empty istream

If we call

 bl.append(some_istream);

do not include a \n if the istream is empty (which is apparently is not
the same thing as eof).  This was causing 'ceph pg getmap' to include a
trailing newline.

Probably we don't want this newline at all!  But all callers need to be
fixed for that change.

Signed-off-by: Sage Weil <sage@inktank.com>
ceph-dencoder: include offset in 'stray data' error message

Signed-off-by: Sage Weil <sage@inktank.com>
mon/PGMap: make decode version match encode version

These should have been bumped way back in 091809b8.

Signed-off-by: Sage Weil <sage@inktank.com>
Merge pull request #1071 from ceph/wip-max-file-size

allow mds max file size to be adjusted

Reviewed-by: Yan, Zheng <zheng.z.yan@intel.com>
Merge pull request #1078 from ceph/wip-mon-pgmap

mon: make 'pg getmap' not include a trailing newline

Reviewed-by: Loic Dachary <loic@dachary.org>
Merge pull request #1076 from dachary/wip-vector-op

erasure-code: use uintptr_t instead of long long

Reviewed-by: Andreas Peters <andreas.joachim.peters@cern.ch>
Merge branch 'next'
doc/release-notes: v0.75

Signed-off-by: Sage Weil <sage@inktank.com>
common: fix bufferlist::append(istream) test

bufferlist::append(istream) now filters out empty lines; reflect this in
the test

Signed-off-by: Loic Dachary <loic@dachary.org>
Merge pull request #1085 from dachary/ceph-master

Reviewed-by: Greg Farnum <greg@inktank.com>
Merge remote-tracking branch 'upstream/master' into wip-c-atomic-writes