1. 24 Apr, 2017 1 commit
    • Jeff Hodges's avatar
      fix first unionfs test datarace · 5404bf0e
      Jeff Hodges authored
      This first race was easy to find and fix in the tests themselves.
      
      It exposes another race in nodefs.FileSystemConnector where a node's
      mount (and therefore, treeLock) is is not the same as the grand-parent
      node's is.
      
      Updates #138.
      5404bf0e
  2. 19 Apr, 2017 1 commit
  3. 14 Mar, 2017 1 commit
  4. 10 Mar, 2017 3 commits
  5. 21 Dec, 2016 2 commits
  6. 03 Nov, 2016 1 commit
  7. 02 Nov, 2016 3 commits
    • Han-Wen Nienhuys's avatar
      Rename test file. · f4003c9b
      Han-Wen Nienhuys authored
      Fixes #127.
      f4003c9b
    • Jonathon Reinhart's avatar
      nodefs: Change defaultNode.GetAttr() to call file.GetAttr() if not nil · 994fc0fe
      Jonathon Reinhart authored
      This enhances nodes which embed defaultNode (which is most of them),
      allowing those implementations to omit a GetAttr() method. Without this,
      when the kernel calls GetAttr() for an open file, FUSE will return a
      size of zero, causing a read() of the file to always return 0, even
      though fuse returns a nonzero number of bytes.
      
      One can leverage this behavior to create a Linux procfs-like file, which
      stat shows to be zero bytes, but can be successfully read.
      
      N.B. This behavior is only useful if the FileSystemConnector Options
      specify AttrTimeout of zero. Otherwise, the result of the first call to
      GetAttr() (file == nil) is cached, and the kernel allows zero bytes to
      be read. With this caching disabled, the next GetAttr() call (file !=
      nil) will be used to control the number of readable bytes.
      994fc0fe
    • Han-Wen Nienhuys's avatar
      a2e4f919
  8. 24 Oct, 2016 1 commit
  9. 18 Oct, 2016 2 commits
  10. 15 Sep, 2016 3 commits
  11. 25 Aug, 2016 1 commit
  12. 11 Aug, 2016 4 commits
  13. 10 Aug, 2016 1 commit
  14. 09 Aug, 2016 4 commits
  15. 04 Aug, 2016 3 commits
  16. 03 Aug, 2016 3 commits
  17. 31 Jul, 2016 1 commit
  18. 25 Jul, 2016 5 commits