backend: regrow logs for sync IO engines as well
authorJens Axboe <axboe@fb.com>
Wed, 25 May 2016 00:39:45 +0000 (18:39 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 25 May 2016 00:39:45 +0000 (18:39 -0600)
Fixes: 1fed20802961 ("iolog: regrow log out-of-line")
Signed-off-by: Jens Axboe <axboe@fb.com>
backend.c

index 6d503606b10ebe7145c449b1d8c14390a4f99549..f132222d61cc936be4333e9e57d6ba696d66fbb5 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -524,6 +524,9 @@ sync_done:
                                break;
                }
 
                                break;
                }
 
+               if (td->flags & TD_F_REGROW_LOGS)
+                       regrow_logs(td);
+
                /*
                 * when doing I/O (not when verifying),
                 * check for any errors that are to be ignored
                /*
                 * when doing I/O (not when verifying),
                 * check for any errors that are to be ignored