posix: Reorder spdk_posix_sock struct

Reorder bool fields to eliminate extra hole

Change-Id: Ia27ee2be42c13d0aba702a1b00c9b89e6620e36e
Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4213
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Alexey Marchuk 2020-09-01 14:05:06 +03:00 committed by Tomasz Zawadzki
parent d819d1f167
commit cbacd11a5c

View File

@ -60,12 +60,12 @@ struct spdk_posix_sock {
int fd;
uint32_t sendmsg_idx;
bool zcopy;
struct spdk_pipe *recv_pipe;
void *recv_buf;
int recv_buf_sz;
bool pending_recv;
bool zcopy;
int so_priority;
TAILQ_ENTRY(spdk_posix_sock) link;