log: batch entries of samples before deflating

This both speeds up the log and gets better compression
ratios for the data.

Signed-off-by: Jens Axboe <axboe@kernel.dk>