-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a collection of fixes to Xiubo's prior work. Namely: - Add new mds_alternate_name_max option to limit the size of alternate_name. Otherwise a Client could trick the MDS into creating an alternate_name of any size! - Clean up how alternate_name is assigned to CDentry. In the general case, this should be assigned as part of creating the dentry. We want this value to be immutable for the life of the dentry. Even for the very special case of rename(2) where the destination dentry already exists. We explicitly check (after discussion with Jeff) that the target dentry alternate_name already matches what the rename RPC is giving. - The MDS is now properly journaling the alternate_name. - The MDS rejoin phase is properly transmitting each dentry's alternate_name. I've discovered that this MMDSCacheRejoin message actually wasn't versioned which I've raised in a tracker [1]. In the mean time, we'll just bump CEPH_MDS_PROTOCOL as usual. [1] https://tracker.ceph.com/issues/48886 Signed-off-by: Patrick Donnelly <[email protected]>
- Loading branch information
Showing
18 changed files
with
238 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.