diff options
Diffstat (limited to 'xlators/cluster')
| -rw-r--r-- | xlators/cluster/afr/src/afr-inode-write.c | 2 | ||||
| -rw-r--r-- | xlators/cluster/afr/src/afr-self-heal-metadata.c | 2 | ||||
| -rw-r--r-- | xlators/cluster/afr/src/pump.h | 2 | ||||
| -rw-r--r-- | xlators/cluster/dht/src/dht-common.c | 4 | ||||
| -rw-r--r-- | xlators/cluster/dht/src/dht-common.h | 2 | ||||
| -rw-r--r-- | xlators/cluster/dht/src/dht-layout.c | 2 | ||||
| -rw-r--r-- | xlators/cluster/map/src/map.c | 2 | 
7 files changed, 8 insertions, 8 deletions
diff --git a/xlators/cluster/afr/src/afr-inode-write.c b/xlators/cluster/afr/src/afr-inode-write.c index 776933892ff..f712166e44d 100644 --- a/xlators/cluster/afr/src/afr-inode-write.c +++ b/xlators/cluster/afr/src/afr-inode-write.c @@ -369,7 +369,7 @@ afr_do_writev (call_frame_t *frame, xlator_t *this)                 /*                  * Backend vfs ignores the 'offset' for append mode fd so                  * locking just the region provided for the writev does not -                * give consistency gurantee. The actual write may happen at a +                * give consistency guarantee. The actual write may happen at a                  * completely different range than the one provided by the                  * offset, len in the fop. So lock the entire file.                  */ diff --git a/xlators/cluster/afr/src/afr-self-heal-metadata.c b/xlators/cluster/afr/src/afr-self-heal-metadata.c index 7333f939ae5..b08bd4ebe34 100644 --- a/xlators/cluster/afr/src/afr-self-heal-metadata.c +++ b/xlators/cluster/afr/src/afr-self-heal-metadata.c @@ -116,7 +116,7 @@ mtime_ns(struct iatt *ia)  /*   * When directory content is modified, [mc]time is updated. On   * Linux, the filesystem does it, while at least on NetBSD, the - * kernel file-system independant code does it. This means that + * kernel file-system independent code does it. This means that   * when entries are added while bricks are down, the kernel sends   * a SETATTR [mc]time which will cause metadata split brain for   * the directory. In this case, clear the split brain by finding diff --git a/xlators/cluster/afr/src/pump.h b/xlators/cluster/afr/src/pump.h index 9d0b6db6a5e..7d5acd02bf6 100644 --- a/xlators/cluster/afr/src/pump.h +++ b/xlators/cluster/afr/src/pump.h @@ -30,7 +30,7 @@ typedef enum {          PUMP_STATE_RESUME,              /* Pump is resuming from a previous pause */          PUMP_STATE_PAUSE,               /* Pump is paused */          PUMP_STATE_ABORT,               /* Pump is aborted */ -        PUMP_STATE_COMMIT,              /* Pump is commited */ +        PUMP_STATE_COMMIT,              /* Pump is committed */  } pump_state_t;  typedef struct _pump_private { diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c index b7df1f4da4b..9a98ebfab30 100644 --- a/xlators/cluster/dht/src/dht-common.c +++ b/xlators/cluster/dht/src/dht-common.c @@ -989,7 +989,7 @@ dht_lookup_unlink_of_false_linkto_cbk (call_frame_t *frame, void *cookie,                           *lookup_everywhere and one where unlink-failed. So                           *at this point in time we cannot decide which one to                           *choose because there are chances of first cached -                         *file is truncated after rebalance and if it is choosen +                         *file is truncated after rebalance and if it is chosen                          *as cached node, application will fail. So return EIO.*/                          if (op_errno == EBUSY) { @@ -1150,7 +1150,7 @@ dht_lookup_everywhere_done (call_frame_t *frame, xlator_t *this)                           * If this lookup is performed by rebalance and this                           * rebalance process detected hashed file and by                           * the time it sends the lookup request to cached node, -                         * file got migrated and now at intial hashed_node, +                         * file got migrated and now at initial hashed_node,                           * final migrated file is present. With current logic,                           * because this process fails to find the cached_node,                           * it will unlink the file at initial hashed_node. diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h index 9d505c1e601..3ca626feec8 100644 --- a/xlators/cluster/dht/src/dht-common.h +++ b/xlators/cluster/dht/src/dht-common.h @@ -364,7 +364,7 @@ struct dht_conf {          /* Will be a global flag to control the layout spread count */          uint32_t       dir_spread_cnt; -        /* to keep track of nodes which are decomissioned */ +        /* to keep track of nodes which are decommissioned */          xlator_t     **decommissioned_bricks;          int            decommission_in_progress;          int            decommission_subvols_cnt; diff --git a/xlators/cluster/dht/src/dht-layout.c b/xlators/cluster/dht/src/dht-layout.c index 3ea75b34ad0..15b183861a7 100644 --- a/xlators/cluster/dht/src/dht-layout.c +++ b/xlators/cluster/dht/src/dht-layout.c @@ -545,7 +545,7 @@ dht_layout_anomalies (xlator_t *this, loc_t *loc, dht_layout_t *layout,          char        is_virgin = 1;          uint32_t    no_space  = 0; -        /* This funtion scans through the layout spread of a directory to +        /* This function scans through the layout spread of a directory to             check if there are any anomalies. Prior to calling this function             the layout entries should be sorted in the ascending order. diff --git a/xlators/cluster/map/src/map.c b/xlators/cluster/map/src/map.c index 6150a33cec8..aa2b23c29f1 100644 --- a/xlators/cluster/map/src/map.c +++ b/xlators/cluster/map/src/map.c @@ -570,7 +570,7 @@ map_statfs_cbk (call_frame_t *frame,  		}  		local->op_ret = 0; -		/* when a call is successfull, add it to local->dict */ +		/* when a call is successful, add it to local->dict */  		dict_buf = &local->statvfs;  		if (dict_buf->f_bsize != 0) {  | 
