1. 04 Aug, 2016 3 commits
  2. 03 Aug, 2016 3 commits
  3. 31 Jul, 2016 1 commit
  4. 25 Jul, 2016 5 commits
  5. 22 Jul, 2016 1 commit
    • Han-Wen Nienhuys's avatar
      Rewrite mount_darwin.go, obviating CGO. · ebe08a81
      Han-Wen Nienhuys authored
      The strategy was inspired by the mount code for Darwin in
      bazil.org/fuse.
      
      Unfortunately, OSX must have the event loop started before mounting
      can be completed. This means that WaitMount() must be maintained for
      use on OSX.
      
      Change-Id: Ie53425f306b4575b3e94e45407bab05017f5ce14
      ebe08a81
  6. 18 Jul, 2016 4 commits
  7. 13 Jul, 2016 2 commits
  8. 12 Jul, 2016 2 commits
  9. 11 Jul, 2016 1 commit
    • Han-Wen Nienhuys's avatar
      Add Debug fields to all Options structs, and use those. · a27cac55
      Han-Wen Nienhuys authored
      SetDebug methods are maintained for compatibility.
      
      This is part of a patch series to process the INIT opcode on
      mount. This will enable filesystems to switch functionality depending
      on kernel settings.
      
      In order to get the debug output for the INIT opcode, the debug option
      must be passed to the mount method.
      
      Deprecate the SetDebug methods. There is often little practical use in
      toggling debug on the fly, since the error scenarios depend on timing
      details, and must usually be isolated into unittests.
      
      Change-Id: I221c995add5f7621b627f738d7e97af7daf81b2a
      a27cac55
  10. 05 Jul, 2016 3 commits
  11. 30 Jun, 2016 3 commits
  12. 29 May, 2016 1 commit
    • Jakob Unterwurzacher's avatar
      nodefs: lock early on FORGET · bd746dd8
      Jakob Unterwurzacher authored
      Taking the treeLock after inodeMap.Forget() exposed a
      small window where the Inode that is about to be forgotten
      could be handed out to the kernel under a new node ID.
      
      Testing with fsstress for 1.000+ iterations showed that the
      race can actually be hit, and causes "No such file or directory"
      errors.
      
      With the lock taken earlier, loopbackfs passes 10.000+ fsstress
      iterations.
      
      Change-Id: Ic02ae757d9a726ece01e8f0b3f0ff877f8e2dbc3
      bd746dd8
  13. 23 May, 2016 1 commit
  14. 22 May, 2016 1 commit
  15. 18 May, 2016 1 commit
  16. 24 Apr, 2016 4 commits
  17. 13 Apr, 2016 1 commit
    • Han-Wen Nienhuys's avatar
      fuse/nodefs: Add TreeWatcher interface. · 259481ac
      Han-Wen Nienhuys authored
      Use the TreeWatcher interface in pathfs to synchronize the parent
      mapping in pathfs with the tree management in nodefs.
      
      Tested:
        loopback -l $mount $orig
        fsstress -p 1 -z -f rmdir=10 -f link=10 -f creat=10 -f mkdir=10 \
          -f rename=30 -f stat=30 -f unlink=30 -f truncate=20 -m 8 -n 1000 \
          -d $mount -s 1456162204 ; sleep 1; echo ok ; rm -Rf $mount
      
      Fixes #99.
      
      Change-Id: I8668571c7dabf6da6ec708eec53de1887864b9ea
      259481ac
  18. 04 Apr, 2016 1 commit
  19. 30 Mar, 2016 2 commits