iolog: fix bug when decompressing chunks with different sequence numbers
authorJens Axboe <axboe@fb.com>
Fri, 4 Jul 2014 03:57:29 +0000 (21:57 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 4 Jul 2014 03:57:29 +0000 (21:57 -0600)
commitf302710c4b7dd09fa6beb61a983345b2eda2b8d4
treedd620de40bbec9b5cd966dadff90fda7136222da
parent9342d5f807795f973fb76c89c48d8e4afd5e5887
iolog: fix bug when decompressing chunks with different sequence numbers

We need to re-start on inflate, like we do on deflate. Otherwise
we get stream end when the first chunk is done. Keep track of
this in iolog_file_inflate(), since we know how much we need to
decompress.

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