server: comment sk_entry struct and remove hole
authorJens Axboe <axboe@fb.com>
Fri, 11 Dec 2015 22:13:41 +0000 (15:13 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 11 Dec 2015 22:13:41 +0000 (15:13 -0700)
Signed-off-by: Jens Axboe <axboe@fb.com>
server.c

index b0ff1dcca07566bab309513925a45fda01841235..a5415bacb0b1c50bc45aa51ec56fe339bde1aacc 100644 (file)
--- a/server.c
+++ b/server.c
@@ -40,13 +40,13 @@ enum {
 };
 
 struct sk_entry {
-       struct flist_head list;
-       int opcode;
+       struct flist_head list; /* link on sk_out->list */
+       int flags;              /* SK_F_* */
+       int opcode;             /* Actual command fields */
        void *buf;
        off_t size;
        uint64_t *tagptr;
-       int flags;
-       struct flist_head next;
+       struct flist_head next; /* Other sk_entry's, if linked command */
 };
 
 struct sk_out {