aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Updated some things that are doneSteve Slaven2009-08-071-3/+3
|
* Don't gzip serialized data anymore since it's basically just a single keySteve Slaven2009-08-071-5/+5
| | | | | | | in the physical file, and the chunked data that has the actual file chunk contents is already compressed. Compressing the single key data in the tree actually makes it bigger (50+ bytes instead of 34) which can be seen by gzipping them manually to test
* Added note about wanting to delete empty directoriesSteve Slaven2009-08-071-1/+4
|
* Store a key in the phyiscal file that pulls the data from a chunk toSteve Slaven2009-08-072-4/+35
| | | | minimize 100% file duplicates to be nothing more than a key length
* Update usage, took out xmp.py sample copyrights since almost all of xmp.pySteve Slaven2009-08-071-4/+4
| | | | has been replaced
* Pre-init original_chunks because we might need to fflush early in theSteve Slaven2009-08-062-1/+14
| | | | | constructor, use ftruncate since truncate doesn't exist, and handle unlocking unused chunks due to ftruncate
* Truncate files on unlink so we free their blocksSteve Slaven2009-08-061-0/+4
|
* Update chunk ref counts when we update the on-disk chunk listSteve Slaven2009-08-061-23/+30
|
* Add reference counting so we can delete unused chunksSteve Slaven2009-08-065-24/+93
|
* Another thoughtstable2009080601Steve Slaven2009-08-061-0/+2
|
* Debugging utilitiesSteve Slaven2009-08-042-0/+32
|
* More thoughts/notesSteve Slaven2009-08-041-0/+7
|
* Made header length a variable so we can change it later if neededSteve Slaven2009-08-041-4/+6
|
* Added more logging, fixed error with storage size for block lengthSteve Slaven2009-08-041-3/+18
|
* Added note about fsckSteve Slaven2009-08-041-0/+3
|
* Don't use a stream class for nowSteve Slaven2009-08-041-3/+5
|
* Fix deserialize nameSteve Slaven2009-08-041-1/+1
|
* Added binary format chunk serializerSteve Slaven2009-08-042-1/+74
|
* Namespace/module fixesSteve Slaven2009-08-041-3/+3
|
* Namespace/module fixesSteve Slaven2009-08-042-2/+8
|
* Added storage switch back inSteve Slaven2009-08-041-3/+8
|
* Fix namespace problemSteve Slaven2009-08-043-5/+5
|
* Fix some missing symbolsSteve Slaven2009-08-041-2/+4
|
* Use the new chunk storageSteve Slaven2009-08-041-1/+4
|
* Chunk storage handlersSteve Slaven2009-08-043-0/+197
|
* Split up main classesSteve Slaven2009-08-045-982/+769
|
* Use some more printf like % stuff instead of str()before-class-splitSteve Slaven2009-07-291-6/+6
|
* Eliminated some more str() stuffSteve Slaven2009-07-291-6/+9
|
* Changed debug to use param args instead of way too much + str()Steve Slaven2009-07-291-76/+72
|
* Use "best" cpickle formatSteve Slaven2009-07-291-1/+1
|
* More notes/thoughtsSteve Slaven2009-07-291-1/+8
|
* Changed default log levelSteve Slaven2009-07-291-1/+1
|
* Some thoughts/info on stuff that should be done some daySteve Slaven2009-07-291-0/+53
|
* Be more explicit about saving chunks, since some other parts of the codeSteve Slaven2009-07-291-2/+8
| | | | look at len(self.chunks) and this is NOT extended until we do a _save_chunk
* Catch when size == truncate size, some more debugging stuffSteve Slaven2009-07-291-2/+4
|
* Fixed some off-by-one errors in write when extending the blocks with nullsSteve Slaven2009-07-291-3/+6
|
* Added some more debug info, assert that our calculated size when savingSteve Slaven2009-07-291-6/+20
| | | | matches what we thought it would
* More fixes to ftruncate to expand a file which was causing the "fake" mmapSteve Slaven2009-07-281-16/+17
| | | | errors in fsx, fixed loading the right block during write()
* This is a workaround for a bug with lseek causing a getattr instead ofSteve Slaven2009-07-281-5/+30
| | | | | | fgetattr on an already opened file, so it reports the wrong file size if you use seek_end for whence by reading the on-disk info instead of the open-file info
* self.offset was never usedSteve Slaven2009-07-281-3/+0
|
* Only add O_CREAT if it was passed initiallySteve Slaven2009-07-281-1/+5
|
* Do create new fh if neededSteve Slaven2009-07-281-1/+1
|
* Fix not incrementing blocks while fillingSteve Slaven2009-07-281-1/+2
|
* Bug fixes to extend via seek(), properly setting dirty flag and not tryingSteve Slaven2009-07-281-4/+12
| | | | to pull up block -1
* Always open the main fh for serialization in rw modeSteve Slaven2009-07-281-4/+8
|
* Fixed log message and added log message for serializationSteve Slaven2009-07-281-3/+6
|
* Added an exception printer on the file setup since it seems to crash thereSteve Slaven2009-07-281-12/+10
| | | | a lot when there are file serialization problems
* Fix flag detection (rdonly,rdrw,etc), fix some variables shadowingSteve Slaven2009-07-281-39/+50
| | | | | functions/classes, modified write() to extend the file with nulls if needed, like seeking out to a larger length than the file
* Fix checking for debug level to output lots of data to use the logger levelSteve Slaven2009-07-281-7/+7
|
* Changed to log to stderrSteve Slaven2009-07-281-1/+1
|