1. 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
  2. 05 Jul, 2016 3 commits
  3. 30 Jun, 2016 3 commits
  4. 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
  5. 23 May, 2016 1 commit
  6. 22 May, 2016 1 commit
  7. 18 May, 2016 1 commit
  8. 24 Apr, 2016 4 commits
  9. 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
  10. 04 Apr, 2016 1 commit
  11. 30 Mar, 2016 2 commits
  12. 19 Feb, 2016 2 commits
  13. 18 Feb, 2016 1 commit
  14. 17 Feb, 2016 3 commits
  15. 16 Feb, 2016 2 commits
  16. 12 Feb, 2016 1 commit
  17. 09 Feb, 2016 2 commits
  18. 06 Feb, 2016 2 commits
  19. 03 Feb, 2016 1 commit
  20. 02 Feb, 2016 6 commits
  21. 21 Jan, 2016 1 commit
    • Yongwoo Park's avatar
      fix compilation error on ubuntu-32bit · f498bfe0
      Yongwoo Park authored
      time.Unix() returns int64 regardless of target platform but timeval is
      defined as int32 values on ubuntu-32bit
      NsecToTimeval has a nanosecond problem(negative value) before epoch but
      still can use second
      f498bfe0