1. 20 May, 2004 6 commits
    • Trond Myklebust's avatar
      NFS O_DIRECT: Change the NFS O_DIRECT path so that it · 78f673ca
      Trond Myklebust authored
          no longer calls the generic VFS read and write routines.
          This allows all application read requests to pass through
          to the server, instead of just the ones that appear to be
          inside the file. this eliminates the requirement to use a
          GETATTR operation before each read or write to determine
          where the EOF is. This is a significant performance and
          scalability win.
      
          It also removes all requirements for holding the inode
          semaphore during NFS direct reads and writes, as the read
          and write logic no longer needs atomic access to the size
          of the file. this also helps client CPU scalability by
          reducing the serialization of writes against a single file.
                                                                                      
          Patch by Chuck Lever
      78f673ca
    • Trond Myklebust's avatar
      NFS_O_DIRECT: there's a code path in nfs_direct_write_seg · e89b7533
      Trond Myklebust authored
          where NFS_I(inode)->data_updates can get out of sync
          with reality, which will lead to a BUG() in nfs_clear_inode
          later on.
      
          Patch by Olaf Kirch.
      e89b7533
    • Trond Myklebust's avatar
      RPC: Ensure that if we reconnect, we delay by at least 15 · 283eb003
      Trond Myklebust authored
           seconds in order to avoid flooding of servers.
      283eb003
    • Trond Myklebust's avatar
      [PATCH] Fix NFS long symlinks checks · 3cab1c95
      Trond Myklebust authored
      The NFS readlink() methods all take a buffer length argument.  Use that
      instead of assuming PAGE_SIZE... 
      
      We need to return ENAMETOOLONG rather than EIO.
      3cab1c95
    • Neil Brown's avatar
      [PATCH] Invalid notify_change(symlink, [ATTR_MODE]) in nfsd · e6863f8b
      Neil Brown authored
      Make sure NFS client doesn't see errors from mode setting on new symlinks.
      
      When nfsd creates a symlink, it tries to set the mode as the mode is 
      carried in the NFS request and some filesystems store a mode.
      
      If the filesystem refuses to set the mode (e.g. -EOPNOTSUPP), this
      error should not be returned to the client.
      e6863f8b
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/sparc-2.6 · 37433f98
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      37433f98
  2. 19 May, 2004 34 commits