Permalink
Commits on May 15, 2012
  1. prep for 1.0.12 tag

    garlick committed May 15, 2012
  2. misc/t15: don't depend on usleep

    garlick committed May 15, 2012
Commits on May 14, 2012
  1. autogen + prep for 1.0.11

    garlick committed May 14, 2012
  2. Don't allow O_DIRECT (issue 110)

    9p does not preserve O_DIRECT alignment when it breaks up requests
    into msize-chunks.
    
    Fix up tests:
    kern/t35: interrupt a dd, not a 'scrub', which uses O_DIRECT
    kern/t40: scrub a file demonstrating fallback to non-O_DIRECT works
    garlick committed May 14, 2012
  3. Drop unused maxmmap feature.

    Since no performance benefit has been demonstrated, remove mmap feature
    from ioctx to make code a bit simpler.
    garlick committed May 14, 2012
  4. Fix possible race on dumpable flag (issue 105)

    To ensure diod can always dump core, we added code to user.c to set
    the dumpable flag after altering capabilities, fsuid, fsgid, or groups.
    However, we only do this if the dumpable flag tested true before the
    change.  This may be racy if another thread is executing the same code
    and has cleared the dumpable flag before the test.
    garlick committed May 14, 2012
Commits on May 3, 2012
  1. Add tests/misc/t15 to valgrind full server

    This uses the unix domain socket feature recently added to exercise
    the server with multiple simultaneous connections.
    garlick committed May 3, 2012
Commits on May 2, 2012
  1. Allow connections on UNIX domain sockets

    Server now allows a listen address to be a path, e.g.
      diod -l /path/to/socket
    
    Mount helper will accept
      mount.diod /path/to/socket:aname dir
    Instead of passing this directly into the mount system call
    with trans=unix, we use trans=fd so the auth handshake can happen
    in user space, as with inet sockets.
    
    Dtop will accept a path as one of its hostlist elements, e.g.
      dtop -h /path/to/socket,host,...
    
    Diodcat, diodload now take -s server instead of -h host -p port, e.g.
      diodcat -s /path/to/socket
    or
      diodcat -s HOST:PORT
    
    The purpose of this is to allow tests that will create simultaneous
    connections (simulating many clients) without having to occupy
    an IP port that might be in conflict on a test system/build farm node.
    
    Tests will be added in a future commit.
    garlick committed May 2, 2012
Commits on Mar 30, 2012
  1. prep for 1.0.10 tag

    garlick committed Mar 30, 2012
Commits on Mar 18, 2012
  1. Autogen after adding tests

    garlick committed Mar 18, 2012
  2. make misc/t10 independent of cpu performance

    The content of ctl:tpools including number of outstanding requests
    was part of the expected output.  Avoid depending on this as
    the number of outstanding requests can change, e.g. on uniprocessor
    powerpc test system.
    garlick committed Mar 18, 2012
Commits on Mar 11, 2012
  1. prep for 1.0.9 tag, autoreconfig

    garlick committed Mar 11, 2012
  2. Add NP_ASSERT macro and use that everywhere

    Removed ASSERT macro in libdiod and added NP_ASSERT macro in libnpfs.
    Now all server code will log assert messages to the configured
    log destination rather than lose them in some cases.
    garlick committed Mar 11, 2012
  3. enable core dumps for diod (issue 105)

    Previous attempt at fixing this in 1.0.8 was insufficient.
    garlick committed Mar 11, 2012
Commits on Mar 9, 2012
  1. prep for 1.0.8, autoreconfig

    garlick committed Mar 9, 2012
Commits on Mar 8, 2012
Commits on Mar 7, 2012
  1. Have fstest dd from nonblocking /dev/urandom

    /dev/random blocks when insufficient entropy is available,
    which can be a pain when running tests on an otherwise idle system.
    garlick committed Mar 7, 2012
  2. Interpret 9P2000.L open flags (issue 101)

    Upstream switched to hardwireed 9P open flags and translates from arch
    native linux flags to these flags.
    
    For x86_64, this is a no-op (bits are the same).
    It fixes potential incorrect bits when client != server arch.
    garlick committed Mar 7, 2012
  3. prep for 1.0.7 tag

    garlick committed Mar 7, 2012