From: Aruna Balakrishnaiah Date: Fri, 16 Aug 2013 20:53:10 +0000 (-0700) Subject: pstore: Add compression support to pstore X-Git-Tag: v3.12-rc1~172^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0aad7a99c1df90c23ff4bac76eea9cf25049e9e;p=pandora-kernel.git pstore: Add compression support to pstore Add compression support to pstore which will help in capturing more data. Initially, pstore will make a call to kmsg_dump with a bigger buffer and will pass the size of bigger buffer to kmsg_dump and then compress the data to registered buffer of registered size. In case compression fails, pstore will capture the uncompressed data by making a call again to kmsg_dump with registered_buffer of registered size. Pstore will indicate the data is compressed or not with a flag in the write callback. Signed-off-by: Aruna Balakrishnaiah Reviewed-by: Kees Cook Signed-off-by: Tony Luck --- Reading git-diff-tree failed