staging: lustre: Fix typo in lustre/include
Fix spelling typo in comments within lustre/include. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
22bfe7e89c
commit
d766b4b50a
|
@ -128,7 +128,7 @@ struct cfs_cpt_table *cfs_cpt_table_alloc(unsigned int ncpt);
|
||||||
int
|
int
|
||||||
cfs_cpt_number(struct cfs_cpt_table *cptab);
|
cfs_cpt_number(struct cfs_cpt_table *cptab);
|
||||||
/**
|
/**
|
||||||
* return number of HW cores or hypter-threadings in a CPU partition \a cpt
|
* return number of HW cores or hyper-threadings in a CPU partition \a cpt
|
||||||
*/
|
*/
|
||||||
int cfs_cpt_weight(struct cfs_cpt_table *cptab, int cpt);
|
int cfs_cpt_weight(struct cfs_cpt_table *cptab, int cpt);
|
||||||
/**
|
/**
|
||||||
|
@ -152,7 +152,7 @@ int cfs_cpt_of_cpu(struct cfs_cpt_table *cptab, int cpu);
|
||||||
*/
|
*/
|
||||||
int cfs_cpt_bind(struct cfs_cpt_table *cptab, int cpt);
|
int cfs_cpt_bind(struct cfs_cpt_table *cptab, int cpt);
|
||||||
/**
|
/**
|
||||||
* add \a cpu to CPU partion @cpt of \a cptab, return 1 for success,
|
* add \a cpu to CPU partition @cpt of \a cptab, return 1 for success,
|
||||||
* otherwise 0 is returned
|
* otherwise 0 is returned
|
||||||
*/
|
*/
|
||||||
int cfs_cpt_set_cpu(struct cfs_cpt_table *cptab, int cpt, int cpu);
|
int cfs_cpt_set_cpu(struct cfs_cpt_table *cptab, int cpt, int cpu);
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
struct cfs_crypto_hash_type {
|
struct cfs_crypto_hash_type {
|
||||||
char *cht_name; /**< hash algorithm name, equal to
|
char *cht_name; /**< hash algorithm name, equal to
|
||||||
* format name for crypto api */
|
* format name for crypto api */
|
||||||
unsigned int cht_key; /**< init key by default (vaild for
|
unsigned int cht_key; /**< init key by default (valid for
|
||||||
* 4 bytes context like crc32, adler */
|
* 4 bytes context like crc32, adler */
|
||||||
unsigned int cht_size; /**< hash digest size */
|
unsigned int cht_size; /**< hash digest size */
|
||||||
};
|
};
|
||||||
|
|
|
@ -59,8 +59,8 @@
|
||||||
/*
|
/*
|
||||||
* Ideally we would use HAVE_HASH_LONG for this, but on linux we configure
|
* Ideally we would use HAVE_HASH_LONG for this, but on linux we configure
|
||||||
* the linux kernel and user space at the same time, so we need to differentiate
|
* the linux kernel and user space at the same time, so we need to differentiate
|
||||||
* between them explicitely. If this is not needed on other architectures, then
|
* between them explicitly. If this is not needed on other architectures, then
|
||||||
* we'll need to move the functions to archi specific headers.
|
* we'll need to move the functions to architecture specific headers.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/hash.h>
|
#include <linux/hash.h>
|
||||||
|
@ -86,7 +86,7 @@ union cfs_hash_lock {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* cfs_hash_bucket is a container of:
|
* cfs_hash_bucket is a container of:
|
||||||
* - lock, couter ...
|
* - lock, counter ...
|
||||||
* - array of hash-head starting from hsb_head[0], hash-head can be one of
|
* - array of hash-head starting from hsb_head[0], hash-head can be one of
|
||||||
* . cfs_hash_head_t
|
* . cfs_hash_head_t
|
||||||
* . cfs_hash_head_dep_t
|
* . cfs_hash_head_dep_t
|
||||||
|
@ -136,7 +136,7 @@ enum cfs_hash_tag {
|
||||||
CFS_HASH_NO_BKTLOCK = 1 << 1,
|
CFS_HASH_NO_BKTLOCK = 1 << 1,
|
||||||
/** rwlock to protect bucket */
|
/** rwlock to protect bucket */
|
||||||
CFS_HASH_RW_BKTLOCK = 1 << 2,
|
CFS_HASH_RW_BKTLOCK = 1 << 2,
|
||||||
/** spinlcok to protect bucket */
|
/** spinlock to protect bucket */
|
||||||
CFS_HASH_SPIN_BKTLOCK = 1 << 3,
|
CFS_HASH_SPIN_BKTLOCK = 1 << 3,
|
||||||
/** always add new item to tail */
|
/** always add new item to tail */
|
||||||
CFS_HASH_ADD_TAIL = 1 << 4,
|
CFS_HASH_ADD_TAIL = 1 << 4,
|
||||||
|
|
|
@ -181,7 +181,7 @@ lnet_net_lock_current(void)
|
||||||
#define MAX_PORTALS 64
|
#define MAX_PORTALS 64
|
||||||
|
|
||||||
/* these are only used by code with LNET_USE_LIB_FREELIST, but we still
|
/* these are only used by code with LNET_USE_LIB_FREELIST, but we still
|
||||||
* exported them to !LNET_USE_LIB_FREELIST for easy implemetation */
|
* exported them to !LNET_USE_LIB_FREELIST for easy implementation */
|
||||||
#define LNET_FL_MAX_MES 2048
|
#define LNET_FL_MAX_MES 2048
|
||||||
#define LNET_FL_MAX_MDS 2048
|
#define LNET_FL_MAX_MDS 2048
|
||||||
#define LNET_FL_MAX_EQS 512
|
#define LNET_FL_MAX_EQS 512
|
||||||
|
|
|
@ -204,7 +204,7 @@ typedef struct lnet_msg {
|
||||||
unsigned int msg_receiving:1; /* being received */
|
unsigned int msg_receiving:1; /* being received */
|
||||||
unsigned int msg_txcredit:1; /* taken an NI send credit */
|
unsigned int msg_txcredit:1; /* taken an NI send credit */
|
||||||
unsigned int msg_peertxcredit:1; /* taken a peer send credit */
|
unsigned int msg_peertxcredit:1; /* taken a peer send credit */
|
||||||
unsigned int msg_rtrcredit:1; /* taken a globel router credit */
|
unsigned int msg_rtrcredit:1; /* taken a global router credit */
|
||||||
unsigned int msg_peerrtrcredit:1; /* taken a peer router credit */
|
unsigned int msg_peerrtrcredit:1; /* taken a peer router credit */
|
||||||
unsigned int msg_onactivelist:1; /* on the activelist */
|
unsigned int msg_onactivelist:1; /* on the activelist */
|
||||||
|
|
||||||
|
@ -342,7 +342,7 @@ typedef struct lnet_lnd {
|
||||||
|
|
||||||
/* Start receiving 'mlen' bytes of payload data, skipping the following
|
/* Start receiving 'mlen' bytes of payload data, skipping the following
|
||||||
* 'rlen' - 'mlen' bytes. 'private' is the 'private' passed to
|
* 'rlen' - 'mlen' bytes. 'private' is the 'private' passed to
|
||||||
* lnet_parse(). Return non-zero for immedaite failure, otherwise
|
* lnet_parse(). Return non-zero for immediate failure, otherwise
|
||||||
* complete later with lnet_finalize(). This also gives back a receive
|
* complete later with lnet_finalize(). This also gives back a receive
|
||||||
* credit if the LND does flow control. */
|
* credit if the LND does flow control. */
|
||||||
int (*lnd_recv)(struct lnet_ni *ni, void *private, lnet_msg_t *msg,
|
int (*lnd_recv)(struct lnet_ni *ni, void *private, lnet_msg_t *msg,
|
||||||
|
@ -594,7 +594,7 @@ struct lnet_match_table {
|
||||||
unsigned int mt_cpt;
|
unsigned int mt_cpt;
|
||||||
unsigned int mt_portal; /* portal index */
|
unsigned int mt_portal; /* portal index */
|
||||||
/* match table is set as "enabled" if there's non-exhausted MD
|
/* match table is set as "enabled" if there's non-exhausted MD
|
||||||
* attached on mt_mhash, it's only valide for wildcard portal */
|
* attached on mt_mhash, it's only valid for wildcard portal */
|
||||||
unsigned int mt_enabled;
|
unsigned int mt_enabled;
|
||||||
/* bitmap to flag whether MEs on mt_hash are exhausted or not */
|
/* bitmap to flag whether MEs on mt_hash are exhausted or not */
|
||||||
__u64 mt_exhausted[LNET_MT_EXHAUSTED_BMAP];
|
__u64 mt_exhausted[LNET_MT_EXHAUSTED_BMAP];
|
||||||
|
|
|
@ -402,7 +402,7 @@ typedef struct {
|
||||||
/* add stat in session */
|
/* add stat in session */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int lstio_sta_key; /* IN: session key */
|
int lstio_sta_key; /* IN: session key */
|
||||||
int lstio_sta_timeout; /* IN: timeout for stat requst */
|
int lstio_sta_timeout; /* IN: timeout for stat request */
|
||||||
int lstio_sta_nmlen; /* IN: group name length */
|
int lstio_sta_nmlen; /* IN: group name length */
|
||||||
char *lstio_sta_namep; /* IN: group name */
|
char *lstio_sta_namep; /* IN: group name */
|
||||||
int lstio_sta_count; /* IN: # of pid */
|
int lstio_sta_count; /* IN: # of pid */
|
||||||
|
|
|
@ -181,7 +181,7 @@ typedef struct {
|
||||||
* address of an array of lnet_kiov_t and the length field specifies
|
* address of an array of lnet_kiov_t and the length field specifies
|
||||||
* the number of entries in the array. The length can't be bigger
|
* the number of entries in the array. The length can't be bigger
|
||||||
* than LNET_MAX_IOV. The lnet_kiov_t is used to describe page-based
|
* than LNET_MAX_IOV. The lnet_kiov_t is used to describe page-based
|
||||||
* fragments that are not necessarily mapped in virtal memory.
|
* fragments that are not necessarily mapped in virtual memory.
|
||||||
* - LNET_MD_IOVEC bit set: The start field points to the starting
|
* - LNET_MD_IOVEC bit set: The start field points to the starting
|
||||||
* address of an array of struct iovec and the length field specifies
|
* address of an array of struct iovec and the length field specifies
|
||||||
* the number of entries in the array. The length can't be bigger
|
* the number of entries in the array. The length can't be bigger
|
||||||
|
|
Loading…
Reference in a new issue