services/mounttable/btmtd: Keep track of nodes per user

Keep track of who created each node and how many they've created. This
is only accounting. There is no quota yet.

We use the same logic as mounttabled to identify the creator of a node.

Each node now contains the name of its creator, and we store one counter
per creator in a separate table. The counter is incremented when a node
is created, and decremented when a node is deleted.

Change-Id: I8a0045c393b00cf48aaaec76dbf08ff2d9cd2ccd
4 files changed
tree: de0f94c6d43591b49aa50a3442a9b6b2cfe8d015
  1. cmd/
  2. examples/
  3. internal/
  4. lib/
  5. runtime/
  6. services/
  7. test/
  8. .gitignore
  9. AUTHORS
  10. CONTRIBUTING.md
  11. CONTRIBUTORS
  12. envvar.go
  13. envvar_test.go
  14. LICENSE
  15. PATENTS
  16. README.md
  17. VERSION
README.md

Vanadium

This repository contains a reference implementation of the Vanadium APIs.

Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.