• S
    GFS2: Move log buffer accounting to transaction · 022ef4fe
    Steven Whitehouse 提交于
    Now we have a master transaction into which other transactions
    are merged, the accounting can be done using this master
    transaction. We no longer require the superblock fields which
    were being used for this function.
    
    In addition, this allows for a clean up in calc_reserved()
    making it rather easier understand. Also, by reducing the
    number of variables used to track the buffers being added
    and removed from the journal, a number of error checks are
    now no longer required.
    Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
    022ef4fe
trans.c 7.8 KB