summaryrefslogtreecommitdiff
path: root/cconv.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-04-17 21:50:55 -0600
committerJens Axboe <axboe@kernel.dk>2018-04-17 21:50:55 -0600
commitf31feaa21642929b6d9d5396b73669372fda9a0a (patch)
tree8901831021a87cc657ca7a6c6d2e0eb8ed858270 /cconv.c
parentc47537ee91cd4f73e575c371c28ca2ac6babd2c1 (diff)
Deprecate verifysort and verifysort_nr
It was an optimization to read back verifies in a sorted order, for rotational storage. But I don't think the option makes much sense, and I've never heard of anyone using it. Mark it as deprecated, and always verify in the same order that IO was written. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'cconv.c')
-rw-r--r--cconv.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/cconv.c b/cconv.c
index 585ed86..9e163b3 100644
--- a/cconv.c
+++ b/cconv.c
@@ -162,8 +162,6 @@ void convert_thread_options_to_cpu(struct thread_options *o,
o->write_hint = le32_to_cpu(top->write_hint);
o->verify = le32_to_cpu(top->verify);
o->do_verify = le32_to_cpu(top->do_verify);
- o->verifysort = le32_to_cpu(top->verifysort);
- o->verifysort_nr = le32_to_cpu(top->verifysort_nr);
o->experimental_verify = le32_to_cpu(top->experimental_verify);
o->verify_state = le32_to_cpu(top->verify_state);
o->verify_interval = le32_to_cpu(top->verify_interval);
@@ -376,8 +374,6 @@ void convert_thread_options_to_net(struct thread_options_pack *top,
top->write_hint = cpu_to_le32(o->write_hint);
top->verify = cpu_to_le32(o->verify);
top->do_verify = cpu_to_le32(o->do_verify);
- top->verifysort = cpu_to_le32(o->verifysort);
- top->verifysort_nr = cpu_to_le32(o->verifysort_nr);
top->experimental_verify = cpu_to_le32(o->experimental_verify);
top->verify_state = cpu_to_le32(o->verify_state);
top->verify_interval = cpu_to_le32(o->verify_interval);