mirror of
https://github.com/littlefs-project/littlefs.git
synced 2025-12-01 12:20:02 +00:00
bmap: Added initial gbatc interactions, up until out-of-known or remount
This only works immediately after format, and only for one pass of the disk, but it's a good way to test bmap lookups/allocation without worrying about more complicated filesystem-wide interactions.
This commit is contained in:
@ -2739,9 +2739,9 @@ class Gstate:
|
||||
cksum)
|
||||
|
||||
def repr(self):
|
||||
return 'gbmap %s %s+%s' % (
|
||||
return 'gbmap %s 0x%x %d' % (
|
||||
self.btree.addr(),
|
||||
self.known, self.cursor)
|
||||
self.cursor, self.known)
|
||||
|
||||
# keep track of known gstate
|
||||
_known = [g for g in Gstate.__subclasses__() if g.tag is not None]
|
||||
|
||||
Reference in New Issue
Block a user