lkml.org 
[lkml]   [2012]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] UBIFS: add ksa_pos to replay buds, read when replaying
    From
    Date
    On Sun, 2012-05-20 at 14:28 +0200, Joel Reardon wrote:
    > This patch read the ksa_pos from data nodes to the replay buds when performing
    > a replay after unclean commit. This is critical for the correctness of the key
    > state map, because the keys that are assigned to uncommited data nodes will be
    > considered "unused" after mounting but will be considered "used" after
    > replaying. The ksa_pos values stored in the replay bud are passed to the TNC
    > using ubifs_tnc_add.
    >
    > This was tested by assigning distinct ksa_pos values and disabling commiting.
    > Data was written and then the drive was remounted. The ksa_pos values were
    > read from the journal and outputted while replaying. When the file was later
    > read, it was confirmed that the ksa_pos values were already loaded into the
    > TNC.
    >
    > Signed-off-by: Joel Reardon <reardonj@inf.ethz.ch>

    Pushed to the "joel" branch as well.

    --
    Best Regards,
    Artem Bityutskiy
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2012-05-20 21:01    [W:0.024 / U:30.396 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site