560 Commits (690d7c10b826b53bf823faef76603cd6ad83aa1d)

Author SHA1 Message Date
j.laycock c1a928887a Add some comments/documentation 5 years ago
j.laycock 15a4c91c28 Remove Finalizer 5 years ago
j.laycock 9c9dff7386 Virtual lock memory pages and Set Process Working set size to hint to windows harder not to write pages to disk as much, add finalize function, minor renaming 5 years ago
Chris Lu 02710f9624 refactoring: remove unused functions 5 years ago
Chris Lu 0f861d23a2 avoid nil needle map 5 years ago
j.laycock 63acc8c972 rename mem_buffer to mBuffer 5 years ago
j.laycock 44ae041e80 rename more memorymapped variables to memoryMapMaxSizeMB 5 years ago
j.laycock 5885ab67b3 rename volume property MemoryMap to MemoryMapMaxSizeMB 5 years ago
j.laycock 5a6dfb05fc Only use truncate flag when creating non memory map files, rename and use memory map size for reserving max file size 5 years ago
j.laycock f6146d6ad2 use 0 instead of false for max memory flag 5 years ago
j.laycock 4257582db5 Allocate in 16MB chunks, make creation of memory maps always aligned to 16MB chunks 5 years ago
Tom Maxwell 4a878c0006 Changed the InMemory bool to a uint32 so that it can be used to alter how much space to reserve 5 years ago
j.laycock cc756ddd79 Rename End_of_file variable, implement platform indepenent memory_map.go 5 years ago
j.laycock de5a7e60a2 remove temp hack 5 years ago
j.laycock cbd0a98fa1 Add InMemory to Volume Grow structure 5 years ago
j.laycock 1f01eb78e8 Rename mem_map to mMap, remove some in_memory variables being passed around, added MemoryMapped member to volume struct 5 years ago
Tom Maxwell d637d86d22 Changes to try and pass the URL parameters through - in memory flag not working still 5 years ago
j.laycock 9a459d984b Do not vacuum memory mapped files 5 years ago
j.laycock 0123c7a898 Change to max 2GB for now 5 years ago
j.laycock 595a1beff0 Swap imports to use joeslay 5 years ago
j.laycock 1e62a2b233 Fix memory not being unmapped 5 years ago
j.laycock 840ccdc35d Refactor to pass memory maps by reference instead of value, fix memory maps not being created properly or written to properly 5 years ago
j.laycock dc50701e7d Overload createFile function, expose File in memory_map struct, delete from memory_map map on delete 5 years ago
j.laycock 523f3a12b3 use Os.File/uintptr instead of windows.Handle in memory map struct 5 years ago
j.laycock 0e5d3b1a70 Move memory_map_windows to new folder, intercept most of the read and write calls to volume dat files 5 years ago
Chris Lu 58168a8c52 volume: truncate dat files when creating 5 years ago
j.laycock 1e89e719b3 Add windows memory map functions to storage package 5 years ago
xushuxun 9af9f36b89 volume: read dat files' last modified time no matter dat files are catWrite or readonly 5 years ago
Chris Lu f9c1cd7370 avoid dead lock from dataFileAccessLock 5 years ago
Chris Lu d829df4f59 volume: protect against nil needle map 5 years ago
Chris Lu e40634e6b4 volume: fail the volume deletion if compaction is in progress 5 years ago
Chris Lu f3b99cbfe5 fix wrong alignment fix 6 years ago
Chris Lu 644c5c27b4 refactoring 6 years ago
Chris Lu 33b3366043 volume: avoid compacting wait group 6 years ago
Chris Lu fd16adbde1 stricter checking before writes 6 years ago
Chris Lu 5a135fef87 purge old code 6 years ago
Chris Lu c54d9221b9 write requests also checks cookie if overwrites 6 years ago
Chris Lu 898d943b25 refactoring 6 years ago
Chris Lu c33f423955 stop early if compaction fails 6 years ago
Chris Lu a7b1b23c58 fix wrong volume count 6 years ago
Chris Lu a3d1296ed9 go fmt 6 years ago
Chris Lu ec75b2d761 volume: fix bug with 8000GB version if using in memory index 6 years ago
Chris Lu 6883f9e322 mark volume readonly before ec encoding 6 years ago
Chris Lu c2960c7a86 defaulting file ttl to volume ttl 6 years ago
Chris Lu a14bd31f5b go fmt 6 years ago
Chris Lu f88a8bda7b ec deletion works 6 years ago
Chris Lu e63317fb08 ec deletion code complete, not tested yet 6 years ago
Chris Lu 4cea8aefd0 add grpc VolumeEcBlobDelete 6 years ago
Chris Lu 856da7aae2 ec volume support deletes 6 years ago
Chris Lu 115558e5f5 adjust counters 6 years ago