diff options
author | Paul Dagnelie <[email protected]> | 2020-08-26 21:38:27 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-26 21:38:27 -0700 |
commit | 4aa3b3bd471cd8b9b18fd1e67c685932763f306b (patch) | |
tree | 98888588563fc93bbee1c5d480b2a5bfbf5100a3 /lib | |
parent | ad52de77c2a518d32f979358f9a3e4cefeb44977 (diff) |
Always track temporary fses and snapshots for accounting
The root cause of the issue is that we only occasionally do as the
comments in the code suggest and actually ignore the %recv dataset when
it comes to filesystem limit tracking. Specifically, the only time we
ignore it is when initializing the filesystem and snapshot limit values;
when creating a new %recv dataset or deleting one, we always update
the bookkeeping. This causes a problem if you init the fs count on a
filesystem that already has a %recv dataset, since the bookmarking
will be decremented but not incremented. This is resolved in this
patch by simply always tracking the %recv dataset as a child.
Reviewed-by: Matt Ahrens <[email protected]>
Reviewed by: Jerry Jelinek <[email protected]>
Signed-off-by: Paul Dagnelie <[email protected]>
Closes #10791
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions