Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Testing out using zip files for chunk storage to eliminate some of the huge | Steve Slaven | 2009-07-24 | 1 | -3/+103 | |
| | | | | overhead of having thousands of tiny files and directories | |||||
* | Fixed some pylint/pychecker/pyflakes errors | Steve Slaven | 2009-07-24 | 1 | -10/+7 | |
| | ||||||
* | Re-enable gzipfinal-demand-chunking-before-merge | Steve Slaven | 2009-07-24 | 1 | -2/+2 | |
| | ||||||
* | Fix read bug on buffer boundry, make psyco a flag | Steve Slaven | 2009-07-24 | 1 | -13/+40 | |
| | ||||||
* | Fix a bug with writing partial blocks | Steve Slaven | 2009-07-24 | 1 | -2/+10 | |
| | ||||||
* | Made stats a flag, moved around flags to group related ones together | Steve Slaven | 2009-07-24 | 1 | -4/+6 | |
| | ||||||
* | Added a flag that basically disables all IO to test for "perfect" | Steve Slaven | 2009-07-24 | 1 | -5/+20 | |
| | | | | performance to see how much fuse and gzip is hurting things | |||||
* | Fix a huge bug with reading data blocks sometimes returning more data than | Steve Slaven | 2009-07-24 | 1 | -8/+10 | |
| | | | | | the caller requested, renamed fusearechivewriter to fusearchivestream because it's for both reading and writing | |||||
* | Switched to cpickle and added wrappers for file open/dump/load stuff so | Steve Slaven | 2009-07-24 | 1 | -13/+32 | |
| | | | | it's easier to experiment with different methods | |||||
* | Added binary flag and gzip compression level | Steve Slaven | 2009-07-23 | 1 | -7/+8 | |
| | ||||||
* | Bumped block size a bit, initialize current block to -1 so that we don't | Steve Slaven | 2009-07-23 | 1 | -3/+3 | |
| | | | | think block zero is already loaded | |||||
* | Make file ready handle cached dirty pages | Steve Slaven | 2009-07-23 | 1 | -2/+6 | |
| | ||||||
* | Added caching some dirty blocks | Steve Slaven | 2009-07-23 | 1 | -10/+40 | |
| | ||||||
* | Added some un-commentables for profiling | Steve Slaven | 2009-07-23 | 1 | -2/+15 | |
| | ||||||
* | Don't reload a chunk if it's the same chunk we're looking at | Steve Slaven | 2009-07-23 | 1 | -1/+7 | |
| | ||||||
* | Set modified to true for initial file creation flush | Steve Slaven | 2009-07-23 | 1 | -0/+1 | |
| | ||||||
* | Fixed getattr to use fgetattr so we don't have to maintain 2 functions | Steve Slaven | 2009-07-23 | 1 | -15/+19 | |
| | ||||||
* | Get rid of some unused functions | Steve Slaven | 2009-07-23 | 1 | -66/+0 | |
| | ||||||
* | Added the modified flag again so that we don't _fflush on release | Steve Slaven | 2009-07-23 | 1 | -1/+4 | |
| | ||||||
* | Data reading seems to work | Steve Slaven | 2009-07-23 | 1 | -8/+20 | |
| | ||||||
* | File saving works now | Steve Slaven | 2009-07-23 | 1 | -13/+53 | |
| | ||||||
* | Fixed bool crash (had method and attribute with same name for fuse, write) | Steve Slaven | 2009-07-23 | 1 | -14/+20 | |
| | | | | but it jumps in to an infinite loop on write now | |||||
* | Added some warnings and removed some ; | Steve Slaven | 2009-07-23 | 1 | -10/+13 | |
| | ||||||
* | Modified to do chunking on demand, runs but file writing not working | Steve Slaven | 2009-07-23 | 1 | -56/+145 | |
| | ||||||
* | Make key a non-string, since the digest is binary it could contain a _inflate-deflate-proof-of-concept | Steve Slaven | 2009-07-23 | 1 | -2/+2 | |
| | ||||||
* | Moved block/chunk code to separate subs so that it can happen on demand | Steve Slaven | 2009-07-23 | 1 | -76/+92 | |
| | ||||||
* | More debugging tweaks | Steve Slaven | 2009-07-23 | 1 | -2/+2 | |
| |