Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jul 23, 2014
  1. group junit like output by filenames

    authored J. Bruce Fields committed
    Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  2. nfs4client: add test name as a compound tag

    authored J. Bruce Fields committed
    allowes to easy trace tests, e.q: [st_verify.py:_try_mand]
    
    Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Commits on Jul 19, 2014
  1. 4.1 server tests: fix REBT1

    J. Bruce Fields authored
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Commits on Jul 18, 2014
  1. 4.1 server tests: fix failure of tests on newly checked out pynfs

    J. Bruce Fields authored
    Fix a regression from 39ede6c "4.1 server: move nfs4_ops.py to
    nfs_ops.py".
    
    Escaped detection for a while as I was only testing preexisting repos
    with nfs4_ops.py still lying around.  On a newly checked out repo all
    4.1 pynfs tests fail.
    
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Commits on Jul 11, 2014
  1. Open files with OPEN4_SHARE_DENY_NONE for DELEG5 test

    Malahal Naineni authored J. Bruce Fields committed
    DELEG5 test, while getting the READ delegation, uses
    OPEN4_SHARE_DENY_WRITE as that is the default. Pass
    OPEN4_SHARE_DENY_NONE explicitly as that is assumed
    in the test.
    
    Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  2. Check for None to avoid python exception.

    Malahal Naineni authored J. Bruce Fields committed
    Signed-off-by: Malahal Naineni <malahal@us.ibm.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  3. 4.0 server tests: allow NOENT on empty symlink creation

    J. Bruce Fields authored
    As far as I can tell NFS4ERR_NOENT is also a legal return here.
    
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  4. 4.1 server tests: don't require large-ACL support

    J. Bruce Fields authored
    Some servers or filesystems aren't going to support ACLs with hundreds
    of entries, and that's OK, we shouldn't be erroring out because they
    don't.
    
    Better would be to test a range of sizes and allow either OK or (past a
    certain point) an appropriate error (FBIG?).
    
    Ideal might be to actually allow pynfs to support server limits such as
    this without reporting them as errors.
    
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  5. Use original reserved port setting for reconnect.

    Srikrishan Malik authored J. Bruce Fields committed
    Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  6. 4.1 client: tame debugging spam

    J. Bruce Fields authored
    As of 6439a2f "4.1 server: add -v flag & silence random output"
    server tests were producing huge logs.  Fix.
    
    (Better might be to remove the --showtraffic option from 4.0 and 4.1 and
    just rely on --verbose instead?)
    
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Commits on Jun 18, 2014
  1. @kinglongmee

    NFS4.0: Case for linking to bad source path with zero-length

    kinglongmee authored J. Bruce Fields committed
    Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  2. @kinglongmee

    NFS4.1: try to clean sessions after testing

    kinglongmee authored J. Bruce Fields committed
    There are many sessions left after testing, they hold drc memory at server.
    This patch tries to clean session after each testcase.
    
    Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  3. @kinglongmee

    NFS4.0: Add IPv6 support

    kinglongmee authored J. Bruce Fields committed
    Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Commits on Jun 5, 2014
  1. nfs3clnt: reconnect when sending on inactive pipe

    Weston Andros Adamson authored J. Bruce Fields committed
    Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  2. rpc: on socket error, close and mark pipe inactive

    Weston Andros Adamson authored J. Bruce Fields committed
    call _event_close() on socket errors instead of tracing back and mark the
    pipe as inactive so callers can reconnect as needed.
    
    Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  3. 4.1 server: get rid of old op_getdeviceinfo

    Weston Andros Adamson authored J. Bruce Fields committed
    This has been commented out for a while.
    
    Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  4. 4.1 server: add support for NFSv3 data servers

    Weston Andros Adamson authored J. Bruce Fields committed
    Add the NFSv3 client and a new DataServer class that handles DS ops
    using the v3 client.
    
    DataServer3 is not used yet, as it requires flexfile layouts in order
    to pass a v3 DS to clients.
    
    Tested with linux client mounting pnfs MDS via v4.1 (disabling pnfs)
    and a linux server acting as the v3 DS.
    
    Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  5. dataserver: separate generic and 4.1 code

    Weston Andros Adamson authored J. Bruce Fields committed
    Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  6. add mntv3, portmapv2 and nfsv3 .x files

    Weston Andros Adamson authored J. Bruce Fields committed
    mntv3 and nfsv3 .x files made from IETF specs by Tom Haynes
    <thomas.haynes@primarydata.com>.
    
    portmap2 .x files made from IETF specs by Weston Andros Adamson
    <dros@primarydata.com>.
    
    Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  7. 4.1 server: move nfs4_ops.py to nfs_ops.py

    Weston Andros Adamson authored J. Bruce Fields committed
    Also replace ugly exec & inspect code to just define a class with
    a __getattr__ switch.
    
    Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  8. dataserver: don't import * from nfs4 specific mods

    Weston Andros Adamson authored J. Bruce Fields committed
    don't pollute the global namespace with constants and types from nfs4_*
    
    this is in preparation for NFSv3 DSes.
    
    Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  9. dataserver: make generic interface to ops

    Weston Andros Adamson authored J. Bruce Fields committed
    Hide the execute method to make DataServer objects more generic.
    
    Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  10. 4.1 server: add -s option to print summary of ops

    Weston Andros Adamson authored J. Bruce Fields committed
    As a middle ground between verbose (-v) mode and silent mode, add
    "-s" (aka "--show_summary") to print one line per operation.
    
    The summary mode will print a "role" header whenever the role changes.
    
    Example output - mds starts, talks to v3 ds (.200), client (.11) mounts,
    touches an existing file:
    
    call v3 172.16.200.200:2049
      access
    Mounting (2, 6) on '/files'
    
    handle v4.1 ::ffff:172.16.200.11:758
      exchange_id
      create_session
      sequence, reclaim_complete
      sequence, putrootfh, secinfo_no_name
      sequence, putrootfh, getfh, getattr
      sequence, putfh, getattr
      (repeated 6 times)
      sequence, putfh, access, getattr
      sequence, putfh, lookup, getfh, getattr
      (repeated 1 times)
      sequence, putfh, secinfo -> NFS4ERR_NOTSUPP
      sequence, putfh, getattr
      (repeated 4 times)
      sequence, putfh, access, getattr
    
    call v3 172.16.200.200:2049
      create -> NFS3ERR_EXIST
      lookup
      getattr
      (repeated 1 times)
    
    handle v4.1 ::ffff:172.16.200.11:758
      sequence, putfh, open, getfh, access, getattr
    
    call v3 172.16.200.200:2049
      getattr
      (repeated 1 times)
    
    handle v4.1 ::ffff:172.16.200.11:758
      sequence, putfh, setattr, getattr
      sequence, putfh, close, getattr
    
    Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  11. 4.1 server: add -v flag & silence random output

    Weston Andros Adamson authored J. Bruce Fields committed
    By default the nfs4server spews so much information to stdout/stderr
    that it's almost useless.  Add the -v flag (aka --verbose) to enable
    the old output.
    
    Also remove some random prints and change some to log.info().
    
    Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  12. 4.1 client: remove unused imports

    Weston Andros Adamson authored J. Bruce Fields committed
    Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  13. move .x files to subdir 'xdrdef'

    Weston Andros Adamson authored J. Bruce Fields committed
    In preparation for adding more .x files, clean up the main nfs4.1 dir
    by moving these files (and autogenerated files) to a subdirectory.
    
    Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  14. 4.1 server: avoid traceback in DS disconnect()

    Weston Andros Adamson authored J. Bruce Fields committed
    Session objects have no destroy method.
    
    Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  15. dataserver: only catch connection error

    Weston Andros Adamson authored J. Bruce Fields committed
    This specifically checks for the error being reported, otherwise a
    other exceptions like a programming error  will be caught and treated
    as connection errors.
    
    Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  16. dataserver: reclaim_complete after create_session

    Weston Andros Adamson authored J. Bruce Fields committed
    Send RECLAIM_COMPLETE after CREATE_SESSION. This enables backend
    communication to v4.1 linux nfsd servers (i/o through MDS only).
    
    Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Commits on Jun 4, 2014
  1. 4.0 server tests: fix spurious ERR_ACCESS due to acl tests

    J. Bruce Fields authored
    We're modifying the acl of a file used for other unrelated tests,
    causing spurious NFS4ERR_ACCESS failures on those tests.  Use a
    temporary file instead.
    
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Commits on Jun 2, 2014
  1. 4.0 server tests: add acl tests

    J. Bruce Fields authored
    The second test may be a little much for some servers or filesystems, we
    may need to decrease the acl size to make it more generally applicable.
    
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  2. 4.0 server tests: basic test of owner attribute

    J. Bruce Fields authored
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  3. 4.0 server tests: multiple-read and multiple-write compounds

    J. Bruce Fields authored
    This really should be 4.1 test; I think a 4.0 server could be within its
    rights just to return NFS4ERR_RESOURCE.
    
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  4. 4.0 server tests: read and write in one compound

    J. Bruce Fields authored
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  5. 4.0 server tests: send lots of getattrs in one compound

    J. Bruce Fields authored
    Send a lot of getattrs in one compound to test new xdr encoding.
    
    This should probably really be a 4.1 test.
    
    Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Something went wrong with that request. Please try again.