Permalink
Commits on Aug 28, 2012
  1. README.md: add notes on fs tree

    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Aug 28, 2012
  2. fstree: re-create frs on startup

    Since frs are inserted directly into the fsroot, querying a subset of
    them on 'ls' output is hard.  As a workaround, mkdir the paths
    corresponding to all the frs on startup.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Aug 28, 2012
  3. fuse: fix getattr/ opendir for dirs missing in backing FS

    Don't assume that directories will always be available in the backing
    FS; try the fstree.  This doesn't fix readdir, so missing directories
    won't be shown in the 'ls' output, but can be opened.  Unfortunately,
    drs are inserted directly into the fsroot -- this needs to be changed
    to some recursive format to ease lookups.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Aug 28, 2012
  4. persist: handle writing empty dr_tree

    Fix a bug: phoneixfs used to read error (num_keys) on empty
    filesystem.  Don't assume that are always dr entries to write; when
    there are no entries to write, write num_keys = 0.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Aug 28, 2012
  5. fuse: fix getattr/ open for files missing in backing FS

    Don't assume that the latest version of a file will always be
    available in the backing FS; try the fstree.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Aug 28, 2012
  6. Makefile: compile with -O0

    Since phoenixfs is in its early stages of development, compile with
    -O0 to aid debugging.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Aug 28, 2012
  7. persist: handle writing empty vfr_tree

    Fix a bug: phoneixfs used to crash on empty filesystem.  Don't assume
    that are always vfr entries to write; when there are no entries to
    write, write num_keys = 0.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Aug 28, 2012
  8. loose: don't rewrite idx unnecessarily

    As a minor optimization, don't rewrite the idx when there are no new
    entries.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Aug 28, 2012
Commits on Aug 24, 2012
  1. README.md: convert to Markdown and update

    Add usage information and technical documentation.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Aug 24, 2012
  2. fuse: create .git/

    This removes an additional step in the setup of having to `git int`
    the gitdir.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Aug 24, 2012
  3. pack: check if an fseek fails

    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Aug 24, 2012
  4. pack: make unmap_write_idx emit a dbg message

    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Aug 24, 2012
  5. loose: fix code to update idx

    Update idx used to re-add existing entries in idx into looseroot, but
    forgot to set the corresponding offsets.  Fix this.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Aug 24, 2012
  6. Squelch some compiler warnings

    Most of them are about the return value of `fread` not being used.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Aug 23, 2012
Commits on Aug 23, 2012
  1. pack, loose: add offsets to dbg messages

    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Aug 23, 2012
  2. test-pack: rewrite

    The previous version of test-pack wasn't working anyway.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Aug 23, 2012
  3. fuse: create .git/loose

    This removes an additional step in the setup of having to create
    `.git/loose` directory.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Aug 23, 2012
  4. persist: don't crash on empty tree

    When the root of the tree does not exist, simply return.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Aug 23, 2012
Commits on Apr 1, 2012
  1. loose: create non-existent loose file

    phoenixfs used to crash on umount when the loose object being read
    from didn't exist.  Fix this problem by creating the non-existent
    loose object.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Apr 1, 2012
  2. fuse: use .git/fstree for fstree information

    Use .git/fstree instead of .git/HEAD for keeping fstree information
    since .git/HEAD is created by git by default.  This fixes a bug where
    phoenixfs would try to read .git/HEAD on first invocation and buffer
    overflow.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Apr 1, 2012
Commits on Mar 31, 2012
  1. Update remaining references to "gitfs"

    The project is called "phoenixfs", not gitfs.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Mar 31, 2012
  2. README: Add basic usage instructions

    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Mar 31, 2012
Commits on Mar 22, 2011
  1. Change project name to phoenixfs

    There is an existing project with named `gitfs`.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Mar 21, 2011
Commits on Mar 21, 2011
  1. sha1: Change prototype of sha1_file to match implementation

    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Mar 21, 2011
  2. fuse, pack, fstree: Improve debug messages for loose, pack

    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Mar 21, 2011
  3. fuse: Fix bug in `release`

    Revert to the latest revision before releasing a historical file.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Mar 21, 2011
  4. fstree: Fix bug related to '\0' omission

    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Mar 21, 2011
  5. fuse: Implement `rename`

    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Mar 21, 2011
  6. fuse: Implement `symlink`

    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Mar 21, 2011
  7. fuse: Fix bugs in `open` and `release`

    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Mar 21, 2011
  8. persist: Tighten reads; empty every buffer before reading into it

    This is done to prevent bugs from creeping in while reading this weak
    file format. Ideally, it should not be necessary.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Mar 21, 2011
  9. btree, fstree: Add support for symbolic links

    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Mar 21, 2011
  10. split_basename: Strip trailing '/' from directory names

    This fixes a bug in `readdir` in fuse.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Mar 21, 2011
  11. loose, pack: Fix a couple of silly bugs

    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Mar 20, 2011
  12. fuse: Use packfile backing when loose objects are missing

    Although the implementation is technically complete, it is very buggy.
    
    Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
    artagnon committed Mar 20, 2011