iolog: fix two bugs in deferred growing
authorJens Axboe <axboe@fb.com>
Fri, 20 May 2016 19:57:42 +0000 (13:57 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 20 May 2016 19:57:42 +0000 (13:57 -0600)
commita9afa45a6162ef29fde55e7e992fa5f574c4e4d5
tree6bac1e251f2fb4be85b5945d48e50309a438ea34
parentecfd2bb08cc87bc9a1b3d612258f1fdfb4d09698
iolog: fix two bugs in deferred growing

1) Setup a new current log, if the log doesn't have one.
2) Bump size of pending log. Should be depth + 1, let's just
   use the default size of a log (1024).

Signed-off-by: Jens Axboe <axboe@fb.com>
iolog.c
stat.c