aboutsummaryrefslogtreecommitdiff
path: root/weed/storage
AgeCommit message (Expand)AuthorFilesLines
2019-10-22refactor ScanVolumeFileFrom()Chris Lu3-39/+7
2019-10-22refactor memory map related codeChris Lu5-50/+32
2019-10-21go fmtChris Lu1-1/+1
2019-10-21adjust parameter namesChris Lu6-16/+16
2019-10-18Comma, no space?j.laycock1-1/+1
2019-10-18using a space instead of a comma to hopefully fix the build!j.laycock1-1/+1
2019-10-18Make volumeCreate more consistent between all 3 implementations.j.laycock2-3/+3
2019-10-18Fix volume_create breaking the buildj.laycock1-1/+1
2019-10-14Merge pull request #10 from chrislusf/masterjoeslay2-0/+7
2019-10-09fix logic errorChris Lu1-1/+1
2019-10-09volume: return error if superblock is not initializedChris Lu2-0/+7
2019-10-01Make releaseMemory private and return byte array instead, fix other platform ...j.laycock4-27/+24
2019-09-20limit locking physical memory to 80% of max physical memoryj.laycock1-13/+64
2019-09-19minor change to setProcessWorkingSetSize functionj.laycock1-4/+4
2019-09-12Change joeslay paths to chrislusf pathsj.laycock48-128/+128
2019-09-12Merge pull request #6 from chrislusf/masterjoeslay1-4/+0
2019-09-11volume: skip readonly checking when Destroy()Chris Lu1-4/+0
2019-09-11Add some comments/documentationj.laycock1-1/+7
2019-09-11Merge pull request #5 from chrislusf/masterjoeslay2-25/+18
2019-09-10Remove Finalizerj.laycock1-2/+0
2019-09-10Virtual lock memory pages and Set Process Working set size to hint to windows...j.laycock1-24/+79
2019-09-09refactoring: remove unused functionsChris Lu2-31/+0
2019-09-09avoid nil needle mapChris Lu1-0/+24
2019-09-05rename mem_buffer to mBufferj.laycock4-26/+26
2019-09-05rename more memorymapped variables to memoryMapMaxSizeMBj.laycock1-4/+4
2019-09-05rename volume property MemoryMap to MemoryMapMaxSizeMBj.laycock3-15/+15
2019-09-05Only use truncate flag when creating non memory map files, rename and use mem...j.laycock1-9/+13
2019-09-05use 0 instead of false for max memory flagj.laycock1-2/+2
2019-09-05Allocate in 16MB chunks, make creation of memory maps always aligned to 16MB ...j.laycock1-5/+12
2019-09-04Changed the InMemory bool to a uint32 so that it can be used to alter how muc...Tom Maxwell9-13/+37
2019-09-04Rename End_of_file variable, implement platform indepenent memory_map.goj.laycock4-9/+28
2019-09-03remove temp hackj.laycock1-1/+0
2019-09-03Add InMemory to Volume Grow structurej.laycock1-2/+2
2019-09-03Rename mem_map to mMap, remove some in_memory variables being passed around, ...j.laycock14-73/+94
2019-09-03Changes to try and pass the URL parameters through - in memory flag not worki...Tom Maxwell7-22/+24
2019-09-03Do not vacuum memory mapped filesj.laycock1-65/+81
2019-09-02Change to max 2GB for nowj.laycock1-1/+1
2019-09-02Merge pull request #2 from chrislusf/masterjoeslay2-2/+2
2019-09-02Swap imports to use joeslayj.laycock44-112/+112
2019-08-30Fix memory not being unmappedj.laycock1-2/+2
2019-08-30Refactor to pass memory maps by reference instead of value, fix memory maps n...j.laycock5-39/+39
2019-08-30Overload createFile function, expose File in memory_map struct, delete from m...j.laycock4-4/+35
2019-08-30use Os.File/uintptr instead of windows.Handle in memory map structj.laycock1-16/+16
2019-08-30Move memory_map_windows to new folder, intercept most of the read and write c...j.laycock4-110/+170
2019-08-26volume: truncate dat files when creatingChris Lu2-2/+2
2019-08-23Merge pull request #1 from chrislusf/masterjoeslay1-1/+1
2019-08-23Add windows memory map functions to storage packagej.laycock1-0/+216
2019-08-21volume: read dat files' last modified time no matter dat files are catWrite o...xushuxun1-1/+1
2019-08-15avoid dead lock from dataFileAccessLockChris Lu1-1/+1
2019-08-14volume: protect against nil needle mapChris Lu6-17/+92