Currently with this patchset, pstore is not supporting compression of oops-messages
since it involves some changes in the pstore framework.
big_oops_buf will hold the large part of oops data which will be compressed and put
to oops_buf.
big_oops_buf: (1.45 of oops_partition_size)
_________________________
| header | oops-text |
|_________|_____________|
<header> is added by the pstore.
So in case compression fails:
we would need to log the header + last few bytes of big_oops_buf to oops_buf.
oops_buf: (this is of oops_partition_size)
we need last few bytes of big_oops_buf as we need to log the recent messages of
printk buffer. For which we need to know the header size and it involves some
changes in the pstore framework.
I have the compression patches ready, will be posting it soon as a separate set.
cheers