doc: Added draft of configuration guide for federated gateways.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added entry for federated configuration to the index.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added conf example.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added draft of region/zone diagram.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Made some changes and incorporated a draft diagram.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Adding context to the federated configuration guide.

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

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Updated text for more specific region/zone example.

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

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Fixed a few typos.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Incorporated some feedback.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Updated diagram for added clarity.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Added clarifying comments.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc: Updated to ensure that socket name isn't static.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
client: fix invalid iterator dereference in Client::trim_caps()

trimming inode drops a reference to the inode's parent, it may cause
the inode's parent also be trimmed. If the cap iterator 'p' happens to
point to the inode's parent and the inode's parent is trimmed, the cap
iterator 'p' become invalid.

Fix the issue by delaying removing cap from the seesion cap list.
(similar to what the kclient does)

Fixes #6599
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
mds: update backtrace when old format inode is touched

We updated inode format version to 7 when introducing inode backtrace.
If we found a inode's format version < 7 when fetching the inode, set
the inode's backtrace_version to 0, to indicate the inode's backtrace
is out of data. When touching a inode with backtrace_version == 0, we
also update its backtrace.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
  test_ceph_argparse.py: No assert_not_in and assert_in in nose.tools
  Signed-off-by: huangjun  <hjwsm1989@gmail.com>
Merge pull request #749 from ceph/wip-6599

client: fix invalid iterator dereference in Client::trim_caps()

Backport: emperor, dumpling, cuttlefish
Reviewed-by: Sage Weil <sage@inktank.com>
Merge pull request #756 from hjwsm1989/master

  test_ceph_argparse.py: No assert_not_in and assert_in in nose.tools

Reviewed-by: Loic Dachary <loic@dachary.org>
Merge remote-tracking branch 'gh/next'