doc: correct meaning of 'pool' in crush

This was recently made less confusing by renaming the default crush
'pool' type to 'root'. Use this terminology everywhere as well.
This was not in argonaut, so perhaps this should delay being merged.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>

Conflicts:

	doc/rados/operations/add-or-rm-osds.rst
	doc/rados/operations/crush-map.rst
doc: draft bobtail release notes

Signed-off-by: Sage Weil <sage@inktank.com>
doc/release-notes: 'mon max pool pg num'

Signed-off-by: Sage Weil <sage@inktank.com>
doc/release-notes: don't use format 2 rbd images until after osds upgrade

Signed-off-by: Sage Weil <sage@inktank.com>
release notes: Mention new cephtool commands

ceph osd ls and ceph tell osd.N version are new.  Mention their use
for verifying that all OSDs are upgraded in the note about rbd
formats.

Signed-off-by: Dan Mick <dan.mick@inktank.com>
release-notes: remove warning about osd caps

This was only an issue from 0.49-0.52 upgrading to 0.53+

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
release-notes: pgnum is required now

This should have been in the 0.55 release notes.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
release-notes: fix typos

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
release-notes: remove bug fix that does not affect argonaut

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
release-notes: add more user-visible changes

These are from looking through the shortlog from 0.48.2..next.
The description of the min_size defaults could probably be improved.
I did not look closely at radosgw or cephfs changes.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
release-notes: rgw logging now off by default

Signed-off-by: Sage Weil <sage@inktank.com>
doc/release-notes: document new 'max open files' default

Signed-off-by: Sage Weil <sage@inktank.com>
client: Make ll_create use _create

This is a fix for bug #3625, where multiple clients race to create a
file, and the loser returns EEXIST instead of a valid file handle.
The patch modifies ll_create in the Client class to use _create(),
which sends the request to the MDS (where an atomic create/open is
performed).

Signed-off-by: Sam Lang <sam.lang@inktank.com>
mds: Return created inode in mds reply to create

If multiple clients race to create a file, multiple clients will send a
create request and get back a valid dentry+inode, but only one client
will actually win the race to create the file.  All other clients should
treat the reply as an open of an existing file and check permissions.
This patch adds the created inode number to the mds create reply if that
request actually created the inode/file (and the feature is supported),
so the client can properly check permissions if the inode number isn't
returned.  Fixes #3625.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
client: fix fh leak in non-create case

We may take the O_CREAT path and get an fh from _create, but created can
still be false.  In that case, skip the final _open call.

Signed-off-by: Sage Weil <sage@inktank.com>
doc: Added upgrade link to index.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Minor edit.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added a new upgrade document.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
msgr: atomically queue first message with connect_rank

Atomically queue the first message on the new pipe, without dropping
and retaking pipe_lock.

Signed-off-by: Sage Weil <sage@inktank.com>
msgr: don't queue message on closed pipe

If we have a con that refs a pipe but it is closed, don't use it.  If
the ref is still there, it is only because we are racing with fault()
and it is about to (or just was) be detached.  Either way,

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