Skip to content

Client: when computing disk usage, don't include VM shared directories - #3901

Draft
davidpanderson wants to merge 1 commit into
masterfrom
dpa_vm_disk_usage
Draft

Client: when computing disk usage, don't include VM shared directories#3901
davidpanderson wants to merge 1 commit into
masterfrom
dpa_vm_disk_usage

Conversation

@davidpanderson

Copy link
Copy Markdown
Contributor

These directories are inside the VM, so we've already counted them.
Also, traversing them can be very slow if the dir is big (e.g. nanoHUB@home)

These directories are inside the VM, so we've already counted them.
Also, traversing them can be very slow if the dir is big (e.g. nanoHUB@home)
@davidpanderson

Copy link
Copy Markdown
Contributor Author

The Travis CI build is failing on fetching sqlite.
This can be removed; sqlite isn't used anymore.

@AenBleidd

Copy link
Copy Markdown
Member

@davidpanderson, I see sqlite3 usage still in browser.cpp
Should these functions be deleted from this class (or maybe even the whole class)?

@AenBleidd

Copy link
Copy Markdown
Member

@davidpanderson

davidpanderson commented Jul 14, 2020 via email

Copy link
Copy Markdown
Contributor Author

@davidpanderson

Copy link
Copy Markdown
Contributor Author

That file (browser.cpp) should be removed.

@AenBleidd

Copy link
Copy Markdown
Member

@davidpanderson, it's already removed in a different PR

@davidpanderson

Copy link
Copy Markdown
Contributor Author

Actually, it turns out that shared/ resides in the host FS,
But apparently if the host (i.e. BOINC client) accesses it while the VM is running,
there's a locking mechanism or something that makes it very slow.
So let's not merge this for now.

@AenBleidd

Copy link
Copy Markdown
Member

I'm changing this PR to draft then. Feel free to change it back when you think it's ready

@AenBleidd
AenBleidd marked this pull request as draft July 16, 2020 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants