Added the ability to remove rbyd tags via tombstoning

It's quite lucky a spare bit is free in the tag encoding, this means we
don't need a reserved length value as originally planned. We end up using
all of the bits that overlap the alt pointer encoding, which is nice and
unexpected.
This commit is contained in:
Christopher Haster
2022-12-28 02:12:32 -06:00
parent 2b475662e9
commit 5cdda57373
4 changed files with 558 additions and 118 deletions
+1 -1
View File
@@ -330,7 +330,7 @@ typedef struct lfs_cache {
typedef struct lfs_rbyd {
lfs_block_t block;
lfs_off_t trunk;
lfs_off_t noff;
lfs_off_t off;
uint32_t rev;
uint32_t crc;
uint16_t count;