Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Sep 10, 2013
  1. @demonfoo

    Clean up Changes, and expand info on what was changed.

    demonfoo authored
    Small tweak to README.
  2. @demonfoo

    Updates to README.

    demonfoo authored
Commits on Sep 8, 2013
  1. @demonfoo
  2. @demonfoo
  3. @demonfoo
  4. @demonfoo

    Use fuse_buf_* convenience functions for non-contiguous or FD buffers.

    demonfoo authored
    Use heredoc instead of quoted text for about, and improve output.
Commits on Sep 7, 2013
  1. @demonfoo

    Fix up fuse_buf_copy() wrapper.

    demonfoo authored
    The 'mem' member in the destination element should only be updated if
    that element is a memory buffer, not an FD buffer.
  2. @demonfoo
Commits on Sep 6, 2013
  1. @demonfoo
Commits on Sep 5, 2013
  1. @demonfoo

    Documentation updates.

    demonfoo authored
  2. @demonfoo
  3. @demonfoo
  4. @demonfoo

    Implemented fuse_buf_copy().

    demonfoo authored
    Cast buf as (char *) to prevent a warning in the write() wrapper.
    
    Handle positive returns properly in read_buf(). Returning 0 seems to
    work okay, but we're supposed to return the total read size.
    
    An extra little bit for the changelog.
Commits on Sep 4, 2013
  1. @demonfoo

    Enable a potentially zero-copy read path.

    demonfoo authored
    Instead of using newSVpvn(), make an SV around the passed buffer, so we
    can skip unnecessary data copying. This makes the write buffer SV read-only.
    The only possible problem is if the write() implementation tries to hang
    onto the SV; I'm thinking about making a "zerocopy" option flag and using
    this path only when that option is enabled.
  2. @demonfoo
  3. @demonfoo

    Document write_buf.

    demonfoo authored
    Fix up read_buf docs.
    
    Change order of arguments for write_buf, to make it more consistent
    with read_buf.
    
    Fix up loopback.pl to use the new argument order for write_buf.
  4. @demonfoo

    Implemented write_buf() wrapper. Still needs fuse_buf_copy().

    demonfoo authored
    Made alterations to read_buf() wrapper to use an array, instead of a
    single item, to accommodate different strategies.
    
    Altered loopback.pl to support write_buf, and to use the modified
    read_buf semantics.
    
    Also changed open() use in daemonize() inside loopback.pl to 3-operand
    calling syntax, because it's just the right thing to do.
Commits on Sep 3, 2013
  1. @demonfoo

    Change Fuse::main() unknown function handling path.

    demonfoo authored
    If a handler function with a name that isn't known is supplied to
    Fuse::main(), instead of croak, use carp. There are legitimate situations
    where a function (like one of the FUSE 2.8/2.9 specific ops) is passed,
    but isn't available due to the underlying libfuse being too old to use
    them, so they're just not available, and it's better to whine but not
    die over them.
  2. @demonfoo

    Document 'read_buf' operation.

    demonfoo authored
    Added accessors for the FUSE_BUF_* constants, and exported them under the
    'zerocopy' and 'all' tags.
    
    Removed unnecessary detritus from the read_buf() wrapper.
  3. @demonfoo

    Documented 'nopath' and 'utime_omit_ok' flags.

    demonfoo authored
    Exported UTIME_NOW and UTIME_OMIT under 'ALL' and 'utime' tags.
    
    Implemented read_buf() operation, and added an implementation in
    example/loopback.pl. Only tested with memory, not with FD based
    mode.
    
    Fixed fallocate() wrapper to use the correct callback number.
    
    Altered testing infrastructure to pass logfile name to loopback.pl, and
    have it open the logfile, instead of trying to open it in test/s/mount.t,
    as since loopback.pl's daemonize() reopens stdout/stderr only /dev/null
    normally, the logfile is worthless. This makes it functional again.
Commits on Sep 2, 2013
  1. @demonfoo

    Incorporate FUSE 2.9 feature support.

    demonfoo authored
    Since the FUSE includes don't have a define for the micro version number,
    and the 'fallocate' operation is new as of FUSE 2.9.1, add a bit to the
    Makefile.PL to split up the version number into major, minor and micro
    numbers and add -D defines for the build to pass them in.
    
    Altered fuse_version() to provide separate major/minor/micro version
    numbers if called in array context.
    
    Added support for fallocate() and flock(). Also stubbed out read_buf()
    and write_buf().
    
    Added support for the 'nopath' and 'utime_omit_ok' flags. Also, added
    implementations to access the UTIME_NOW and UTIME_OMIT constants.
    
    Added basic docs for fallocate() and flock().
    
    Added change note to Changes file.
  2. @demonfoo

    Fix tabbing on lines added recently.

    demonfoo authored
    Use SP directly instead of &TOPs.
    
    Describe the fix I made in the Changes file.
Commits on Aug 31, 2013
  1. @demonfoo
  2. @demonfoo
Commits on May 8, 2013
  1. Merge pull request #13 from isync/master

    authored
    Tweaks on loopback.pl example
Commits on Jan 28, 2013
  1. @isync

    Update examples/readdir.pl

    isync authored
    $file already sanitized in filename_fixup, right?
  2. @isync

    Update examples/loopback.pl

    isync authored
    Unix::Mknod might not be available or might not work - same as for Lchown. Graceful fallback. Is "POSIX::errno();" the right error code?
Commits on Jan 27, 2013
  1. @isync

    Update examples/loopback.pl

    isync authored
    I might misunderstand usage, but I think, without a path in @ARGV, the script should spit out some usage info, so a user doesn't have to dig into the code for a quick test-drive.
  2. @isync

    Update examples/loopback.pl

    isync authored
    Lchown might not be available on the platform, or it might just not work out-of-the-box, as for me today ("Can't locate loadable object for module Lchown"). Fallback gracefully in these cases.
  3. @isync

    Update examples/loopback.pl

    isync authored
    Added ENOTDIR to POSIX exports (was missing).
Commits on Dec 9, 2012
  1. Merge pull request #12 from frett/statfs

    authored
    set the fragment size to the same value as the block size
Commits on Dec 8, 2012
  1. @frett

    set the fragment size to the same value as the block size

    frett authored
    I ran into an issue where a Fuse mount was correctly reporting the free space in df on FC17, but the same share when viewed from OSX 10.8 over samba was reporting incorrect free space. It appears that some free space calculations use frsize and some use bsize, so for now we should set them to the same value.
    
    see: http://article.gmane.org/gmane.comp.file-systems.fuse.devel/3902
Commits on Nov 27, 2012
  1. Merge pull request #11 from frett/timeFmtFix

    authored
    parse string timestamp values as doubles
  2. @frett

    parse string values as doubles.

    frett authored
Commits on Oct 23, 2012
  1. Merge pull request #10 from frett/master

    authored
    Preserve call stack in cloned interpreter
Something went wrong with that request. Please try again.