From 0dce9bc9b21a8d91aa55a29258dfaeffc57bd466 Mon Sep 17 00:00:00 2001 From: Steven Lang Date: Tue, 25 Oct 2011 22:41:05 +0200 Subject: [PATCH] Add core for verify_dump option The verify_dump option is defined and documented, but does nothing. This one-liner enables the option. Signed-off-by: Jens Axboe --- verify.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/verify.c b/verify.c index c450e88c..43dd3926 100644 --- a/verify.c +++ b/verify.c @@ -269,6 +269,9 @@ static void dump_verify_buffers(struct verify_header *hdr, struct vcont *vc) struct io_u dummy; void *buf; + if (!td->o.verify_dump) + return; + /* * Dump the contents we just read off disk */ -- 2.25.1