private:
/**
- * Create a scrub_info_t struct for the scrub_infop poitner.
+ * Create a scrub_info_t struct for the scrub_infop pointer.
*/
void scrub_info_create() const;
/**
*
* A STUCK_UNAVAILABLE result indicates that we can't see a way that
* the cluster is about to recover on its own, so it'll probably require
- * administrator intervention: clients should probaly not bother trying
+ * administrator intervention: clients should probably not bother trying
* to mount.
*/
availability_t is_cluster_available() const;
//
// For example:
// The recovering mds is auth mds of a dirfrag, this mds is auth mds
- // of correspinding inode. when 'rm -rf' the direcotry, this mds should
+ // of corresponding inode. when 'rm -rf' the direcotry, this mds should
// delay the rmdir request until the recovering mds has replayed unlink
// requests.
if (s == LOCK_MIX || s == LOCK_MIX_LOCK || s == LOCK_MIX_SYNC)
* If there are other scrubs in progress, they will not continue scrubbing new
* entries until this one is completed.
* @param in The inodey to scrub
- * @param header The ScrubHeader propagated from whereever this scrub
+ * @param header The ScrubHeader propagated from wherever this scrub
* was initiated
*/
void enqueue_inode_top(CInode *in, ScrubHeaderRef& header,
// Call this on a dentry that has been identified as
- // elegible for purging. It will be passed on to PurgeQueue.
+ // eligible for purging. It will be passed on to PurgeQueue.
void enqueue(CDentry *dn, bool trunc);
// Final part of enqueue() which we may have to retry
*
* - make sure you adjust the inode.version for any modified inode you
* journal. CDir and CDentry maintain a projected_version, but CInode
- * doesn't, since the journaled inode usually has to be modifed
+ * doesn't, since the journaled inode usually has to be modified
* manually anyway (to delay the change in the MDS's cache until after
* it is journaled).
*