Messages in this thread | | | Subject | Re: [PATCH] UBIFS: add ksa_pos to replay buds, read when replaying | From | Artem Bityutskiy <> | Date | Sun, 20 May 2012 21:40:15 +0300 |
| |
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] | |