439 Commits (295f00cdce8c76dce5c1278d8b88297b7a087424)

Author SHA1 Message Date
Chris Lu c34ffed43f go fmt 5 years ago
Chris Lu 84c503c6a7 adjust ec reading log level 5 years ago
zhangsong 1dd101f782 use read lock to avoid io hang during heartbeat 5 years ago
Chris Lu db30a46050 skip memory mapped file when compacting 5 years ago
Chris Lu 57e441d67b fix compaction logic 5 years ago
Chris Lu b7156291a8 adjust variable names 5 years ago
Chris Lu 4b5ba4927f adjust NewDiskFile() paramaters 5 years ago
Chris Lu cd7ce720c7 fix test 5 years ago
Chris Lu 19b6a16003 changed from os.file to backend.DataStorageBackend 5 years ago
Chris Lu 7a51a9a582 refactor: simplifying to ReadAt() and WriteAt() 5 years ago
Chris Lu 46ed2ca902 refactoring 5 years ago
Chris Lu f937933b3d refactoring 5 years ago
Chris Lu 3c865ee39b fix missing needle header read 5 years ago
Chris Lu fc412e428b refactor ScanVolumeFileFrom() 5 years ago
Chris Lu c9a183eb69 refactor memory map related code 5 years ago
Chris Lu fec07c829d go fmt 5 years ago
Chris Lu faec9076a4 adjust parameter names 5 years ago
j.laycock 2e2fe00dbd Comma, no space? 5 years ago
j.laycock 248f3be6e3 using a space instead of a comma to hopefully fix the build! 5 years ago
j.laycock 2c455841ea Make volumeCreate more consistent between all 3 implementations. 5 years ago
j.laycock b0ddad6889 Fix volume_create breaking the build 5 years ago
Chris Lu 87e5a02a99 fix logic error 5 years ago
Chris Lu 09874f0d16 volume: return error if superblock is not initialized 5 years ago
j.laycock eb27c2b037 Make releaseMemory private and return byte array instead, fix other platform compilation issues, reduce in-memory chunk size. 5 years ago
j.laycock d5f5acb734 limit locking physical memory to 80% of max physical memory 5 years ago
j.laycock 476140fd6b minor change to setProcessWorkingSetSize function 5 years ago
j.laycock 6fc6322c90 Change joeslay paths to chrislusf paths 5 years ago
Chris Lu 5e9c65469e volume: skip readonly checking when Destroy() 5 years ago
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