Chris Lu
							
						 | 
						
							
							
							
								
							
								57e441d67b
								
							
								
							
						 | 
						
							
							
								
								fix compaction logic
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								b7156291a8
								
							
								
							
						 | 
						
							
							
								
								adjust variable names
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								4b5ba4927f
								
							
								
							
						 | 
						
							
							
								
								adjust NewDiskFile() paramaters
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								cd7ce720c7
								
							
								
							
						 | 
						
							
							
								
								fix test
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								19b6a16003
								
							
								
							
						 | 
						
							
							
								
								changed from os.file to backend.DataStorageBackend
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								7a51a9a582
								
							
								
							
						 | 
						
							
							
								
								refactor: simplifying to ReadAt() and WriteAt()
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								46ed2ca902
								
							
								
							
						 | 
						
							
							
								
								refactoring
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								f937933b3d
								
							
								
							
						 | 
						
							
							
								
								refactoring
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								3c865ee39b
								
							
								
							
						 | 
						
							
							
								
								fix missing needle header read
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								fc412e428b
								
							
								
							
						 | 
						
							
							
								
								refactor ScanVolumeFileFrom()
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								c9a183eb69
								
							
								
							
						 | 
						
							
							
								
								refactor memory map related code
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								fec07c829d
								
							
								
							
						 | 
						
							
							
								
								go fmt
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								faec9076a4
								
							
								
							
						 | 
						
							
							
								
								adjust parameter names
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								2e2fe00dbd
								
							
								
							
						 | 
						
							
							
								
								Comma, no space?
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								248f3be6e3
								
							
								
							
						 | 
						
							
							
								
								using a space instead of a comma to hopefully fix the build!
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								2c455841ea
								
							
								
							
						 | 
						
							
							
								
								Make volumeCreate more consistent between all 3 implementations.
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								b0ddad6889
								
							
								
							
						 | 
						
							
							
								
								Fix volume_create breaking the build
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								87e5a02a99
								
							
								
							
						 | 
						
							
							
								
								fix logic error
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								09874f0d16
								
							
								
							
						 | 
						
							
							
								
								volume: return error if superblock is not initialized
							
							
							
							
							
							
								
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1079 
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								eb27c2b037
								
							
								
							
						 | 
						
							
							
								
								Make releaseMemory private and return byte array instead, fix other platform compilation issues, reduce in-memory chunk size.
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								d5f5acb734
								
							
								
							
						 | 
						
							
							
								
								limit locking physical memory to 80% of max physical memory
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								476140fd6b
								
							
								
							
						 | 
						
							
							
								
								minor change to setProcessWorkingSetSize function
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								6fc6322c90
								
							
								
							
						 | 
						
							
							
								
								Change joeslay paths to chrislusf paths
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								5e9c65469e
								
							
								
							
						 | 
						
							
							
								
								volume: skip readonly checking when Destroy()
							
							
							
							
							
							
								
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1063 
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								c1a928887a
								
							
								
							
						 | 
						
							
							
								
								Add some comments/documentation
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								15a4c91c28
								
							
								
							
						 | 
						
							
							
								
								Remove Finalizer
							
							
							
							
								
							
							
						 | 
						6 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
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								02710f9624
								
							
								
							
						 | 
						
							
							
								
								refactoring: remove unused functions
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								0f861d23a2
								
							
								
							
						 | 
						
							
							
								
								avoid nil needle map
							
							
							
							
							
							
								
							
							
							fix https://github.com/chrislusf/seaweedfs/issues/1061 
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								63acc8c972
								
							
								
							
						 | 
						
							
							
								
								rename mem_buffer to mBuffer
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								44ae041e80
								
							
								
							
						 | 
						
							
							
								
								rename more memorymapped variables to memoryMapMaxSizeMB
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								5885ab67b3
								
							
								
							
						 | 
						
							
							
								
								rename volume property MemoryMap to MemoryMapMaxSizeMB
							
							
							
							
								
							
							
						 | 
						6 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
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								f6146d6ad2
								
							
								
							
						 | 
						
							
							
								
								use 0 instead of false for max memory flag
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								4257582db5
								
							
								
							
						 | 
						
							
							
								
								Allocate in 16MB chunks, make creation of memory maps always aligned to 16MB chunks
							
							
							
							
								
							
							
						 | 
						6 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
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								cc756ddd79
								
							
								
							
						 | 
						
							
							
								
								Rename End_of_file variable, implement platform indepenent memory_map.go
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								de5a7e60a2
								
							
								
							
						 | 
						
							
							
								
								remove temp hack
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								cbd0a98fa1
								
							
								
							
						 | 
						
							
							
								
								Add InMemory to Volume Grow structure
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								1f01eb78e8
								
							
								
							
						 | 
						
							
							
								
								Rename mem_map to mMap, remove some in_memory variables being passed around, added MemoryMapped member to volume struct
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								Tom Maxwell
							
						 | 
						
							
							
							
								
							
								d637d86d22
								
							
								
							
						 | 
						
							
							
								
								Changes to try and pass the URL parameters through - in memory flag not working still
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								9a459d984b
								
							
								
							
						 | 
						
							
							
								
								Do not vacuum memory mapped files
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								0123c7a898
								
							
								
							
						 | 
						
							
							
								
								Change to max 2GB for now
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								595a1beff0
								
							
								
							
						 | 
						
							
							
								
								Swap imports to use joeslay
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								1e62a2b233
								
							
								
							
						 | 
						
							
							
								
								Fix memory not being unmapped
							
							
							
							
								
							
							
						 | 
						6 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
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								dc50701e7d
								
							
								
							
						 | 
						
							
							
								
								Overload createFile function, expose File in memory_map struct, delete from memory_map map on delete
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								523f3a12b3
								
							
								
							
						 | 
						
							
							
								
								use Os.File/uintptr instead of windows.Handle in memory map struct
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								j.laycock
							
						 | 
						
							
							
							
								
							
								0e5d3b1a70
								
							
								
							
						 | 
						
							
							
								
								Move memory_map_windows to new folder, intercept most of the read and write calls to volume dat files
							
							
							
							
								
							
							
						 | 
						6 years ago | 
					
				
					
						
							
							
								 
								Chris Lu
							
						 | 
						
							
							
							
								
							
								58168a8c52
								
							
								
							
						 | 
						
							
							
								
								volume: truncate dat files when creating
							
							
							
							
								
							
							
						 | 
						6 years ago |