Ansariel Hiller
d6190bbf13
Refactor LLFileSystem for and fix an old issue in LLFile ( #2332 )
2024-08-19 09:39:35 +03:00
Rye Mutt
0ee528c5fd
Mitigate asset fetch thread stalls from LLDiskCache mutex contention and trivial cleanup
...
Move LLDiskCache::updateFileAccessTime to LLFilesystem as it's the only user of that function.
Change mCacheDir and LLDiskCache::metaDataToFilepath to statics.
2024-08-14 00:31:37 -04:00
Mnikolenko Productengine
c09155574d
SL-15083 Remove old vfs files
2022-01-11 19:31:51 +02:00
Nat Goodspeed
b3708ac238
SL-15200: Use new LLApp::sleep() in LLPurgeDiskCacheThread::run().
2021-05-17 15:10:06 -04:00
Nat Goodspeed
87faf25891
SL-15200: Explain why purge() is called on another thread.
...
Also add Ansariel's explanation for why interaction through the filesystem
itself should be safe.
2021-05-17 10:24:27 -04:00
Ansariel
89cf988aaf
BUG-230673: Add warning that LLDiskCache::purge() is also called from outside the main thread
2021-05-17 09:49:32 +02:00
Ansariel
0e253cb909
BUG-230673: Trim asset disk cache regularly
2021-05-12 10:45:23 +02:00
Callum Prentice
3898609ae2
Fix for SL-15226 Simple cache viewer: Integer overflow in cache size - via FS:Ansariel
2021-05-11 12:58:05 -07:00
Callum Prentice
168d177197
This set of changes reverts the merge with master (git revert c83e740) and results in a version of the DRTVWR-519 that matches what was presemt before it was deployed as a release viewer *plus* 3 small fixes from Maxim (See commits). This branch can now be used for additional fixes before eventually being used to release D-519 as normal
2021-03-09 14:39:51 -08:00
Brad Payne (Vir Linden)
c83e740ef9
Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into DRTVWR-519"
...
This reverts commit e61f485a04 , reversing
changes made to 00c47d079f .
2021-03-08 13:56:16 +00:00
Callum Prentice
391ada1150
Fix for meta issue: SL-14211 Determine optimum cache size for VFS replacement cache
2020-10-27 13:53:17 -07:00
Mnikolenko Productengine
3051db7b61
Purge excessive files from disc cache each startup
2020-10-08 15:26:54 +03:00
Callum Prentice
1a9942a51c
Improve, rationalize and expand comments
2020-10-07 16:43:01 -07:00
Callum Prentice
5fdc4a1fb4
Add in some cache stats for the about box
2020-10-07 16:03:28 -07:00
Callum Prentice
08dfc0836f
This changeset hooks up many things that have been in progress and moves things about between llfilesystem and lldiskcache - there is still some bookkeeping work left but this is the first version that appears to work and actively manage the cache
2020-10-07 15:25:12 -07:00
Callum Prentice
3092aa8aae
Add in the C++ filesystem based cache and clean up some indempotent functions in llfilesystem
2020-10-06 17:16:53 -07:00
Callum Prentice
6be1f88a5e
Complete the change from lldiskcache -> llfilesystem and then addition of new lldiskcache implementation
2020-09-24 14:45:39 -07:00
Callum Prentice
96e2873bfa
Rename lldiskcache.* to llfilesystem.* - i think this is the right name since it's responsible for performing file system operations and (will eventually) delegrate to a separate disk cache component to save/load data and keep track of metadata etc.
2020-09-24 10:23:39 -07:00
Callum Prentice
d9448c6f52
The folder where the disk cache lives was originally renamed from llvfs to llcache but @henri's suggestion that that doesn't reflect the other files in the same place and it should be llfilesystem is a good one so I changed it over
2020-09-17 09:45:06 -07:00