1. 08 May, 2007 1 commit
  2. 03 Feb, 2007 1 commit
  3. 08 Dec, 2006 1 commit
  4. 06 Dec, 2006 3 commits
  5. 20 Oct, 2006 1 commit
  6. 27 Sep, 2006 1 commit
  7. 23 Sep, 2006 5 commits
    • Chuck Lever's avatar
      NFS: Use cached page as buffer for NFS symlink requests · 94a6d753
      Chuck Lever authored
      
      Now that we have a copy of the symlink path in the page cache, we can pass
      a struct page down to the XDR routines instead of a string buffer.
      
      Test plan:
      Connectathon, all NFS versions.
      Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      94a6d753
    • Chuck Lever's avatar
      NFS: Fix double d_drop in nfs_instantiate() error path · 4f390c15
      Chuck Lever authored
      
      If the LOOKUP or GETATTR in nfs_instantiate fail, nfs_instantiate will do a
      d_drop before returning.  But some callers already do a d_drop in the case
      of an error return.  Make certain we do only one d_drop in all error paths.
      
      This issue was introduced because over time, the symlink proc API diverged
      slightly from the create/mkdir/mknod proc API.  To prevent other coding
      mistakes of this type, change the symlink proc API to be more like
      create/mkdir/mknod and move the nfs_instantiate call into the symlink proc
      routines so it is used in exactly the same way for create, mkdir, mknod,
      and symlink.
      
      Test plan:
      Connectathon, all versions of NFS.
      Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      4f390c15
    • David Howells's avatar
      NFS: Share NFS superblocks per-protocol per-server per-FSID · 54ceac45
      David Howells authored
      The attached patch makes NFS share superblocks between mounts from the same
      server and FSID over the same protocol.
      
      It does this by creating each superblock with a false root and returning the
      real root dentry in the vfsmount presented by get_sb(). The root dentry set
      starts off as an anonymous dentry if we don't already have the dentry for its
      inode, otherwise it simply returns the dentry we already have.
      
      We may thus end up with several trees of dentries in the superblock, and if at
      some later point one of anonymous tree roots is discovered by normal filesystem
      activity to be located in another tree within the superblock, the anonymous
      root is named and materialises attached to the second tree at the appropriate
      point.
      
      Why do it this way? Why not pass an extra argument to the mount() syscall to
      indicate the subpath and then pathwalk from the server root to the desired
      directory? You can't guarantee this will work for two reasons:
      
       (1) The ro...
      54ceac45
    • David Howells's avatar
      NFS: Eliminate client_sys in favour of cl_rpcclient · 5006a76c
      David Howells authored
      
      Eliminate nfs_server::client_sys in favour of nfs_client::cl_rpcclient as we
      only really need one per server that we're talking to since it doesn't have any
      security on it.
      
      The retransmission management variables are also moved to the common struct as
      they're required to set up the cl_rpcclient connection.
      
      The NFS2/3 client and client_acl connections are thenceforth derived by cloning
      the cl_rpcclient connection and post-applying the authorisation flavour.
      
      The code for setting up the initial common connection has been moved to
      client.c as nfs_create_rpc_client().  All the NFS program definition tables are
      also moved there as that's where they're now required rather than super.c.
      Signed-Off-By: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      5006a76c
    • David Howells's avatar
      NFS: Add extra const qualifiers · 509de811
      David Howells authored
      
      Add some extra const qualifiers into NFS.
      Signed-Off-By: default avatarDavid Howells <dhowells@redhat.com>
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      509de811
  8. 09 Jun, 2006 1 commit
    • David Howells's avatar
      NFS: Split fs/nfs/inode.c · f7b422b1
      David Howells authored
      As fs/nfs/inode.c is rather large, heterogenous and unwieldy, the attached
      patch splits it up into a number of files:
      
       (*) fs/nfs/inode.c
      
           Strictly inode specific functions.
      
       (*) fs/nfs/super.c
      
           Superblock management functions for NFS and NFS4, normal access, clones
           and referrals.  The NFS4 superblock functions _could_ move out into a
           separate conditionally compiled file, but it's probably not worth it as
           there're so many common bits.
      
       (*) fs/nfs/namespace.c
      
           Some namespace-specific functions have been moved here.
      
       (*) fs/nfs/nfs4namespace.c
      
           NFS4-specific namespace functions (this could be merged into the previous
           file).  This file is conditionally compiled.
      
       (*) fs/nfs/internal.h
      
           Inter-file declarations, plus a few simple utility functions moved from
           fs/nfs/inode.c.
      
           Additionally, all the in-.c-file externs have been moved here, and those
           files they were moved from now includes this file.
      
      For the most part, the ...
      f7b422b1
  9. 20 Mar, 2006 4 commits
  10. 06 Jan, 2006 2 commits
    • J. Bruce Fields's avatar
      NFSv3: try get_root user-supplied security_flavor · 03c21733
      J. Bruce Fields authored
      
       Thanks to Ed Keizer for bug and root cause.  He says: "... we could only mount
       the top-level Solaris share. We could not mount deeper into the tree.
       Investigation showed that Solaris allows UNIX authenticated FSINFO only on the
       top level of the share. This is a problem because we share/export our home
       directories one level higher than we mount them. I.e. we share the partition
       and not the individual home directories. This prevented access to home
       directories."
      
       We still may need to try auth_sys for the case where the client doesn't have
       appropriate credentials.
      Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      03c21733
    • Trond Myklebust's avatar
      RPC: Clean up RPC task structure · 963d8fe5
      Trond Myklebust authored
      
       Shrink the RPC task structure. Instead of storing separate pointers
       for task->tk_exit and task->tk_release, put them in a structure.
      
       Also pass the user data pointer as a parameter instead of passing it via
       task->tk_calldata. This enables us to nest callbacks.
      Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
      963d8fe5
  11. 28 Oct, 2005 2 commits
  12. 27 Oct, 2005 1 commit
  13. 18 Oct, 2005 1 commit
  14. 10 Sep, 2005 1 commit
  15. 16 Aug, 2005 1 commit
  16. 22 Jun, 2005 4 commits
  17. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4