New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#15065: Add standby_for_fscid in MMDSBeacon and handle it #8257
Commits on Mar 22, 2016
-
messages: support features in MFSMap
Not used for anything currently, but let's make this class pass through the features to FSMap's encode method for the benefit of the future generations. Signed-off-by: John Spray <john.spray@redhat.com>
John Spray committedMar 22, 2016 Configuration menu - View commit details
-
Copy full SHA for 122e0d3 - Browse repository at this point
Copy the full SHA 122e0d3View commit details -
mon: name cleanup s/mdsmap_bl/fsmap_bl/
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray committedMar 22, 2016 Configuration menu - View commit details
-
Copy full SHA for 980f684 - Browse repository at this point
Copy the full SHA 980f684View commit details -
tools: update naming s/handle_mds_map/handle_fs_map/
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray committedMar 22, 2016 Configuration menu - View commit details
-
Copy full SHA for d4f2807 - Browse repository at this point
Copy the full SHA d4f2807View commit details -
mds/FSMap: pass by ref in update_compat
Coverity: CID 1355578: Performance inefficiencies (PASS_BY_VALUE) Signed-off-by: John Spray <john.spray@redhat.com>
John Spray committedMar 22, 2016 Configuration menu - View commit details
-
Copy full SHA for 94fd423 - Browse repository at this point
Copy the full SHA 94fd423View commit details -
mds: fix whitespace in is_cluster_available
This got mangled somehow. Signed-off-by: John Spray <john.spray@redhat.com>
John Spray committedMar 22, 2016 Configuration menu - View commit details
-
Copy full SHA for 401c186 - Browse repository at this point
Copy the full SHA 401c186View commit details -
This broke with 4ad8f72 ('features' gets output as an item in the 'export_targets' list), which wasn't the fsmap branch, but fix it while I'm tidying. Signed-off-by: John Spray <john.spray@redhat.com>
John Spray committedMar 22, 2016 Configuration menu - View commit details
-
Copy full SHA for 4fcb26d - Browse repository at this point
Copy the full SHA 4fcb26dView commit details -
mds: pass features through to MDSMap::encode
...from Filesystem. This will prepare us for if MDSMap gets any more feature-sensitive encoding in the future. Fixes: #15062 Signed-off-by: John Spray <john.spray@redhat.com>
John Spray committedMar 22, 2016 Configuration menu - View commit details
-
Copy full SHA for 99dd53d - Browse repository at this point
Copy the full SHA 99dd53dView commit details -
mon: config setting to skip FSMap::sanity
Only for use in extremis, where we have encountered a bug that generates an invalid FSMap, but the way to resolve it might be to proceed anyway and stay up long enough to use commands to fix it. Fixes: #15063 Signed-off-by: John Spray <john.spray@redhat.com>
John Spray committedMar 22, 2016 Configuration menu - View commit details
-
Copy full SHA for c6623c0 - Browse repository at this point
Copy the full SHA c6623c0View commit details -
mds: plain text prints for FSMap/Filesystem
These were just dumping JSON as a placeholder. Not strictly necessary to have the extra non-machine-readable variants of these outputs, but some users will probably appreciate it, so why not. Signed-off-by: John Spray <john.spray@redhat.com>
John Spray committedMar 22, 2016 Configuration menu - View commit details
-
Copy full SHA for bb7a286 - Browse repository at this point
Copy the full SHA bb7a286View commit details -
mon: s/mdsmap/fsmap/ in "ceph status"
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray committedMar 22, 2016 Configuration menu - View commit details
-
Copy full SHA for ccef489 - Browse repository at this point
Copy the full SHA ccef489View commit details -
vstart: support creating multiple cephfs filesystems
This is handy if you want to quickly create a cluster with lots of filesystems, for playing with e.g. what the ceph status output looks like when multiple filesystems are in play. This changes the default filesystem/pool names to be e.g. cephfs_data_a instead of just `cephfs_data`, but anything who relied on those names in a vstart environment houldn't have been (this won't affect teuthology tests, of course, where we still have a few annoying hardcoded pool names). Signed-off-by: John Spray <john.spray@redhat.com>
John Spray committedMar 22, 2016 Configuration menu - View commit details
-
Copy full SHA for d4503e9 - Browse repository at this point
Copy the full SHA d4503e9View commit details -
mds: s/standby_for_ns/standby_for_fscid/
Name dates from earlier version of multi-fs where I was referring to filesystem IDs as namespace IDs. Signed-off-by: John Spray <john.spray@redhat.com>
John Spray committedMar 22, 2016 Configuration menu - View commit details
-
Copy full SHA for b9a1431 - Browse repository at this point
Copy the full SHA b9a1431View commit details -
messages: add MMDSBeacon::standby_for_fscid
For the MDS daemon to tell the mon which filesystem it wants to a be a standby for, when it is expressing a standby_for_rank. Signed-off-by: John Spray <john.spray@redhat.com>
John Spray committedMar 22, 2016 Configuration menu - View commit details
-
Copy full SHA for bcf4953 - Browse repository at this point
Copy the full SHA bcf4953View commit details -
mds: add mds_standby_for_fscid config
...and pass it through into MMDSBeacon. Signed-off-by: John Spray <john.spray@redhat.com>
John Spray committedMar 22, 2016 Configuration menu - View commit details
-
Copy full SHA for 93d6c86 - Browse repository at this point
Copy the full SHA 93d6c86View commit details -
mds: enable standby_for_fscid without rank
...so that an MDS can specify that it wants to act within a particular filesystem without having to be bound to a particular rank. Signed-off-by: John Spray <john.spray@redhat.com>
John Spray committedMar 22, 2016 Configuration menu - View commit details
-
Copy full SHA for ad0ad2d - Browse repository at this point
Copy the full SHA ad0ad2dView commit details