[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3908561D78D1C84285E8C5FCA982C28F31CF4C85@ORSMSX106.amr.corp.intel.com>
Date: Wed, 11 Sep 2013 18:34:59 +0000
From: "Luck, Tony" <tony.luck@...el.com>
To: Aruna Balakrishnaiah <aruna@...ux.vnet.ibm.com>,
"linuxppc-dev@...abs.org" <linuxppc-dev@...abs.org>,
"seiji.aguchi@....com" <seiji.aguchi@....com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"keescook@...omium.org" <keescook@...omium.org>
CC: "jkenisto@...ux.vnet.ibm.com" <jkenisto@...ux.vnet.ibm.com>,
"mahesh@...ux.vnet.ibm.com" <mahesh@...ux.vnet.ibm.com>,
"cbouatmailru@...il.com" <cbouatmailru@...il.com>,
"ananth@...ibm.com" <ananth@...ibm.com>,
"ccross@...roid.com" <ccross@...roid.com>
Subject: RE: [PATCH 1/3] pstore: Adjust buffer size for compression for
smaller registered buffers
- big_oops_buf_sz = (psinfo->bufsize * 100) / 45;
+ big_oops_buf_sz = (psinfo->bufsize * 100) / cmpr;
Tested on an ERST backed system. Seems to be working (we save a little less information
per ERST record than before this change (uncompressed size goes down from ~17500 to
~16400 bytes) - but this patch switched the denominator from 45 to 48 (for ERST) - so that
seems plausible.
Seiji: let me know how the efivars tests go.
-Tony
Powered by blists - more mailing lists