fork of 9front i guess
Go to file
cinap_lenrek 8e50556f14 upas/fs: rework the refcounting, use 64bit qid path, add checks
add function to check the refcounts for Mailbox and Message on a fid

use the full 64 bit of the qid.path, so we can use the full 32 bit for the id

instead of only maintaining refcount for the top message, msgincref() now
adds a reference to all its parent messages including self and top message.
then we can check in recursive delmessage() that all the parts have a zero
refcount.

remove the Fid.mtop field, it was never used.

make sure deletion and flag changes only affect the top message.

cachefree(): only look for top message in lru. sub-parts are never
added to the cache.

use the nparts field when reading sub-part of existing message, so
that we parse the index right in case the number of parts somehow
changed.

messages marked as Deleted but still in inbox should be written
to the index.
2018-11-21 00:37:35 +01:00
386 ape: floating point improvements (thanks spew) 2018-05-24 13:40:44 +01:00
68000 add signed fixed size integer typedefs 2018-05-12 19:19:52 +02:00
68020 ape: floating point improvements (thanks spew) 2018-05-24 13:40:44 +01:00
acme win: fix typo 2018-08-02 14:37:07 -04:00
adm/timezone turkey simplified timezone (thanks erkin from 9front ml) 2018-08-08 10:17:57 +02:00
amd64 ape: floating point improvements (thanks spew) 2018-05-24 13:40:44 +01:00
arm ape: floating point improvements (thanks spew) 2018-05-24 13:40:44 +01:00
lib fortunes: I'm beginning to wonder if anyone is left that isn't part of 9front? -- Steve Stallion 2018-10-04 23:23:50 -04:00
mips ape: floating point improvements (thanks spew) 2018-05-24 13:40:44 +01:00
power ape: floating point improvements (thanks spew) 2018-05-24 13:40:44 +01:00
power64 add signed fixed size integer typedefs 2018-05-12 19:19:52 +02:00
rc rcpu: fix pvar to initialize empty variables (thanks mycroftiv) 2018-11-13 11:03:37 +01:00
sparc ape: floating point improvements (thanks spew) 2018-05-24 13:40:44 +01:00
sparc64 ape: floating point improvements (thanks spew) 2018-05-24 13:40:44 +01:00
spim add signed fixed size integer typedefs 2018-05-12 19:19:52 +02:00
sys upas/fs: rework the refcounting, use 64bit qid path, add checks 2018-11-21 00:37:35 +01:00
.hgignore remove accidentally pushed change to .hgignore 2017-04-19 10:16:00 +00:00