Home
last modified time | relevance | path

Searched hist:dd325c3235d80cc3539e43d35b750fdd511314e5 (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-logging/extensions/openpower-pels/
H A Drepository.hppdiff dd325c3235d80cc3539e43d35b750fdd511314e5 Tue Jul 07 11:01:54 CDT 2020 Matt Spinler <spinler@us.ibm.com> PEL: Add size, creator, sev to repo attributes

Have the Repository class track the disk usage, creator ID and severity
of each PEL along with the attributes already tracked so that they can
be used in the future for categorizing PELs to prune.

Note the size field is the amount of space the PEL file uses on disk, as
determined by the stat() function call, and not just the regular file
size, as the pruning algorithm is based on disk usage.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Idc996ef38726651d23ad478b18460b3d1ca950b5
H A Drepository.cppdiff dd325c3235d80cc3539e43d35b750fdd511314e5 Tue Jul 07 11:01:54 CDT 2020 Matt Spinler <spinler@us.ibm.com> PEL: Add size, creator, sev to repo attributes

Have the Repository class track the disk usage, creator ID and severity
of each PEL along with the attributes already tracked so that they can
be used in the future for categorizing PELs to prune.

Note the size field is the amount of space the PEL file uses on disk, as
determined by the stat() function call, and not just the regular file
size, as the pruning algorithm is based on disk usage.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Idc996ef38726651d23ad478b18460b3d1ca950b5