• J
    [LogFS] Prevent memory corruption on large deletes · 032d8f72
    Joern Engel 提交于
    Removing sufficiently large files would create aliases for a large
    number of segments.  This in turn results in a large number of journal
    entries and an overflow of s_je_array.
    
    Cheap fix is to add a BUG_ON, turning memory corruption into something
    annoying, but less dangerous.  Real fix is to count the number of
    affected segments and prevent the problem completely.
    Signed-off-by: NJoern Engel <joern@logfs.org>
    032d8f72
logfs.h 23.7 KB