Commit e0663483 authored by Craig Inches's avatar Craig Inches Committed by Greg Kroah-Hartman

Staging: Lustre Fix up multiple Block Comments in lib-types.h

This patch fixes some multiline comment blocks which didnt conform
to the style guide, found by checkpatch.
Signed-off-by: default avatarCraig Inches <Craig@craiginches.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 358fc977
...@@ -308,9 +308,11 @@ struct lnet_rc_data { ...@@ -308,9 +308,11 @@ struct lnet_rc_data {
struct lnet_peer { struct lnet_peer {
struct list_head lp_hashlist; /* chain on peer hash */ struct list_head lp_hashlist; /* chain on peer hash */
struct list_head lp_txq; /* messages blocking for struct list_head lp_txq; /* messages blocking for
tx credits */ * tx credits
*/
struct list_head lp_rtrq; /* messages blocking for struct list_head lp_rtrq; /* messages blocking for
router credits */ * router credits
*/
struct list_head lp_rtr_list; /* chain on router list */ struct list_head lp_rtr_list; /* chain on router list */
int lp_txcredits; /* # tx credits available */ int lp_txcredits; /* # tx credits available */
int lp_mintxcredits; /* low water mark */ int lp_mintxcredits; /* low water mark */
...@@ -319,23 +321,31 @@ struct lnet_peer { ...@@ -319,23 +321,31 @@ struct lnet_peer {
unsigned int lp_alive:1; /* alive/dead? */ unsigned int lp_alive:1; /* alive/dead? */
unsigned int lp_notify:1; /* notification outstanding? */ unsigned int lp_notify:1; /* notification outstanding? */
unsigned int lp_notifylnd:1;/* outstanding notification unsigned int lp_notifylnd:1;/* outstanding notification
for LND? */ * for LND?
*/
unsigned int lp_notifying:1; /* some thread is handling unsigned int lp_notifying:1; /* some thread is handling
notification */ * notification
*/
unsigned int lp_ping_notsent;/* SEND event outstanding unsigned int lp_ping_notsent;/* SEND event outstanding
from ping */ * from ping
*/
int lp_alive_count; /* # times router went int lp_alive_count; /* # times router went
dead<->alive */ * dead<->alive
long lp_txqnob; /* bytes queued for sending */ */
long lp_txqnob; /* ytes queued for sending */
unsigned long lp_timestamp; /* time of last aliveness unsigned long lp_timestamp; /* time of last aliveness
news */ * news
*/
unsigned long lp_ping_timestamp;/* time of last ping unsigned long lp_ping_timestamp;/* time of last ping
attempt */ * attempt
*/
unsigned long lp_ping_deadline; /* != 0 if ping reply unsigned long lp_ping_deadline; /* != 0 if ping reply
expected */ * expected
*/
unsigned long lp_last_alive; /* when I was last alive */ unsigned long lp_last_alive; /* when I was last alive */
unsigned long lp_last_query; /* when lp_ni was queried unsigned long lp_last_query; /* when lp_ni was queried
last time */ * last time
*/
struct lnet_ni *lp_ni; /* interface peer is on */ struct lnet_ni *lp_ni; /* interface peer is on */
lnet_nid_t lp_nid; /* peer's NID */ lnet_nid_t lp_nid; /* peer's NID */
int lp_refcount; /* # refs */ int lp_refcount; /* # refs */
...@@ -386,7 +396,8 @@ struct lnet_route { ...@@ -386,7 +396,8 @@ struct lnet_route {
struct lnet_remotenet { struct lnet_remotenet {
struct list_head lrn_list; /* chain on struct list_head lrn_list; /* chain on
ln_remote_nets_hash */ * ln_remote_nets_hash
*/
struct list_head lrn_routes; /* routes to me */ struct list_head lrn_routes; /* routes to me */
__u32 lrn_net; /* my net number */ __u32 lrn_net; /* my net number */
}; };
...@@ -399,14 +410,16 @@ struct lnet_remotenet { ...@@ -399,14 +410,16 @@ struct lnet_remotenet {
struct lnet_rtrbufpool { struct lnet_rtrbufpool {
struct list_head rbp_bufs; /* my free buffer pool */ struct list_head rbp_bufs; /* my free buffer pool */
struct list_head rbp_msgs; /* messages blocking struct list_head rbp_msgs; /* messages blocking
for a buffer */ * for a buffer
*/
int rbp_npages; /* # pages in each buffer */ int rbp_npages; /* # pages in each buffer */
/* requested number of buffers */ /* requested number of buffers */
int rbp_req_nbuffers; int rbp_req_nbuffers;
/* # buffers actually allocated */ /* # buffers actually allocated */
int rbp_nbuffers; int rbp_nbuffers;
int rbp_credits; /* # free buffers / int rbp_credits; /* # free buffers
blocked messages */ * blocked messages
*/
int rbp_mincredits; /* low water mark */ int rbp_mincredits; /* low water mark */
}; };
...@@ -442,7 +455,8 @@ enum lnet_match_flags { ...@@ -442,7 +455,8 @@ enum lnet_match_flags {
#define LNET_PTL_LAZY (1 << 0) #define LNET_PTL_LAZY (1 << 0)
#define LNET_PTL_MATCH_UNIQUE (1 << 1) /* unique match, for RDMA */ #define LNET_PTL_MATCH_UNIQUE (1 << 1) /* unique match, for RDMA */
#define LNET_PTL_MATCH_WILDCARD (1 << 2) /* wildcard match, #define LNET_PTL_MATCH_WILDCARD (1 << 2) /* wildcard match,
request portal */ * request portal
*/
/* parameter for matching operations (GET, PUT) */ /* parameter for matching operations (GET, PUT) */
struct lnet_match_info { struct lnet_match_info {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment