Skip to contentSkip to conversation

thread_options: drop fadvise_stream from thread_options

PATCH In review Vincent Fu 2 participants 2 messages Dec 1, 2017

lore
Share & tools
lore

Vincent Fu

author
#0 lore raw

PATCH 1/1 thread_options: drop fadvise_stream from thread_options

From: Vincent Fu <[email protected]>

ae8e559e got rid of the fadvise_stream option but did not remove the corresponding member from thread_options

---
 server.h         | 2 +-
 thread_options.h | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)
server.h +1 -1
index dbd5c27..438a6c3 100644
@@ -49,7 +49,7 @@ struct fio_net_cmd_reply {
 };
 
 enum {
-	FIO_SERVER_VER			= 67,
+	FIO_SERVER_VER			= 68,
 
 	FIO_SERVER_MAX_FRAGMENT_PDU	= 1024,
 	FIO_SERVER_MAX_CMD_MB		= 2048,
thread_options.h +0 -3
index a9c3bee..793df8a 100644
@@ -218,7 +218,6 @@ struct thread_options {
 	unsigned int group_reporting;
 	unsigned int stats;
 	unsigned int fadvise_hint;
-	unsigned int fadvise_stream;
 	enum fio_fallocate_mode fallocate_mode;
 	unsigned int zero_buffers;
 	unsigned int refill_buffers;
@@ -494,7 +493,6 @@ struct thread_options_pack {
 	uint32_t group_reporting;
 	uint32_t stats;
 	uint32_t fadvise_hint;
-	uint32_t fadvise_stream;
 	uint32_t fallocate_mode;
 	uint32_t zero_buffers;
 	uint32_t refill_buffers;
@@ -520,7 +518,6 @@ struct thread_options_pack {
 	uint64_t trim_backlog;
 	uint32_t clat_percentiles;
 	uint32_t percentile_precision;
-	uint32_t pad;
 	fio_fp64_t percentile_list[FIO_IO_U_LIST_MAX_LEN];
 
 	uint8_t read_iolog_file[FIO_TOP_STR_MAX];
Signature · 1 line
2.7.4
#1 lore raw
Quoted 4 lines · Vincent Fu

From: Vincent Fu <[email protected]>

ae8e559e got rid of the fadvise_stream option but did not remove the corresponding member from thread_options

Thanks Vincent, applied.

Signature · 1 line
Jens Axboe