Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Pre-init original_chunks because we might need to fflush early in the | Steve Slaven | 2009-08-06 | 2 | -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 blocks | Steve Slaven | 2009-08-06 | 1 | -0/+4 |
| | |||||
* | Update chunk ref counts when we update the on-disk chunk list | Steve Slaven | 2009-08-06 | 1 | -23/+30 |
| | |||||
* | Add reference counting so we can delete unused chunks | Steve Slaven | 2009-08-06 | 5 | -24/+93 |
| | |||||
* | Another thoughtstable2009080601 | Steve Slaven | 2009-08-06 | 1 | -0/+2 |
| | |||||
* | Debugging utilities | Steve Slaven | 2009-08-04 | 2 | -0/+32 |
| | |||||
* | More thoughts/notes | Steve Slaven | 2009-08-04 | 1 | -0/+7 |
| | |||||
* | Made header length a variable so we can change it later if needed | Steve Slaven | 2009-08-04 | 1 | -4/+6 |
| | |||||
* | Added more logging, fixed error with storage size for block length | Steve Slaven | 2009-08-04 | 1 | -3/+18 |
| | |||||
* | Added note about fsck | Steve Slaven | 2009-08-04 | 1 | -0/+3 |
| | |||||
* | Don't use a stream class for now | Steve Slaven | 2009-08-04 | 1 | -3/+5 |
| | |||||
* | Fix deserialize name | Steve Slaven | 2009-08-04 | 1 | -1/+1 |
| | |||||
* | Added binary format chunk serializer | Steve Slaven | 2009-08-04 | 2 | -1/+74 |
| | |||||
* | Namespace/module fixes | Steve Slaven | 2009-08-04 | 1 | -3/+3 |
| | |||||
* | Namespace/module fixes | Steve Slaven | 2009-08-04 | 2 | -2/+8 |
| | |||||
* | Added storage switch back in | Steve Slaven | 2009-08-04 | 1 | -3/+8 |
| | |||||
* | Fix namespace problem | Steve Slaven | 2009-08-04 | 3 | -5/+5 |
| | |||||
* | Fix some missing symbols | Steve Slaven | 2009-08-04 | 1 | -2/+4 |
| | |||||
* | Use the new chunk storage | Steve Slaven | 2009-08-04 | 1 | -1/+4 |
| | |||||
* | Chunk storage handlers | Steve Slaven | 2009-08-04 | 3 | -0/+197 |
| | |||||
* | Split up main classes | Steve Slaven | 2009-08-04 | 5 | -982/+769 |
| | |||||
* | Use some more printf like % stuff instead of str()before-class-split | Steve Slaven | 2009-07-29 | 1 | -6/+6 |
| | |||||
* | Eliminated some more str() stuff | Steve Slaven | 2009-07-29 | 1 | -6/+9 |
| | |||||
* | Changed debug to use param args instead of way too much + str() | Steve Slaven | 2009-07-29 | 1 | -76/+72 |
| | |||||
* | Use "best" cpickle format | Steve Slaven | 2009-07-29 | 1 | -1/+1 |
| | |||||
* | More notes/thoughts | Steve Slaven | 2009-07-29 | 1 | -1/+8 |
| | |||||
* | Changed default log level | Steve Slaven | 2009-07-29 | 1 | -1/+1 |
| | |||||
* | Some thoughts/info on stuff that should be done some day | Steve Slaven | 2009-07-29 | 1 | -0/+53 |
| | |||||
* | Be more explicit about saving chunks, since some other parts of the code | Steve Slaven | 2009-07-29 | 1 | -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 stuff | Steve Slaven | 2009-07-29 | 1 | -2/+4 |
| | |||||
* | Fixed some off-by-one errors in write when extending the blocks with nulls | Steve Slaven | 2009-07-29 | 1 | -3/+6 |
| | |||||
* | Added some more debug info, assert that our calculated size when saving | Steve Slaven | 2009-07-29 | 1 | -6/+20 |
| | | | | matches what we thought it would | ||||
* | More fixes to ftruncate to expand a file which was causing the "fake" mmap | Steve Slaven | 2009-07-28 | 1 | -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 of | Steve Slaven | 2009-07-28 | 1 | -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 used | Steve Slaven | 2009-07-28 | 1 | -3/+0 |
| | |||||
* | Only add O_CREAT if it was passed initially | Steve Slaven | 2009-07-28 | 1 | -1/+5 |
| | |||||
* | Do create new fh if needed | Steve Slaven | 2009-07-28 | 1 | -1/+1 |
| | |||||
* | Fix not incrementing blocks while filling | Steve Slaven | 2009-07-28 | 1 | -1/+2 |
| | |||||
* | Bug fixes to extend via seek(), properly setting dirty flag and not trying | Steve Slaven | 2009-07-28 | 1 | -4/+12 |
| | | | | to pull up block -1 | ||||
* | Always open the main fh for serialization in rw mode | Steve Slaven | 2009-07-28 | 1 | -4/+8 |
| | |||||
* | Fixed log message and added log message for serialization | Steve Slaven | 2009-07-28 | 1 | -3/+6 |
| | |||||
* | Added an exception printer on the file setup since it seems to crash there | Steve Slaven | 2009-07-28 | 1 | -12/+10 |
| | | | | a lot when there are file serialization problems | ||||
* | Fix flag detection (rdonly,rdrw,etc), fix some variables shadowing | Steve Slaven | 2009-07-28 | 1 | -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 level | Steve Slaven | 2009-07-28 | 1 | -7/+7 |
| | |||||
* | Changed to log to stderr | Steve Slaven | 2009-07-28 | 1 | -1/+1 |
| | |||||
* | Use the logging package instead of dmsg | Steve Slaven | 2009-07-28 | 1 | -108/+110 |
| | |||||
* | Modify ftruncate to allow growing or shrinking to a size other than 0 | Steve Slaven | 2009-07-28 | 1 | -5/+64 |
| | |||||
* | Modified to open a fh at the init using the mode requested, and just | Steve Slaven | 2009-07-28 | 1 | -26/+45 |
| | | | | | shuttling the pickle data in and out of this fh so the cp -a on files with perm of 444 should work correctly | ||||
* | A workaround attempt to fix opening a file for writing then changing it to | Steve Slaven | 2009-07-28 | 1 | -3/+22 |
| | | | | R/O later (happens with cp -a, etc) | ||||
* | Allow switching chunk styles | Steve Slaven | 2009-07-24 | 1 | -2/+13 |
| |