1. 30 Apr, 2009 1 commit
  2. 26 Dec, 2008 2 commits
  3. 20 Nov, 2008 1 commit
    • Steve French's avatar
      [CIFS] Do not attempt to close invalidated file handles · ddb4cbfc
      Steve French authored
      If a connection with open file handles has gone down
      and come back up and reconnected without reopening
      the file handle yet, do not attempt to send an SMB close
      request for this handle in cifs_close.  We were
      checking for the connection being invalid in cifs_close
      but since the connection may have been reconnected
      we also need to check whether the file handle
      was marked invalid (otherwise we could close the
      wrong file handle by accident).
      Acked-by: default avatarJeff Layton <jlayton@redhat.com>
      Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
      ddb4cbfc
  4. 17 Nov, 2008 1 commit
  5. 14 Nov, 2008 1 commit
    • Jeff Layton's avatar
      cifs: reinstate sharing of SMB sessions sans races · 14fbf50d
      Jeff Layton authored
      We do this by abandoning the global list of SMB sessions and instead
      moving to a per-server list. This entails adding a new list head to the
      TCP_Server_Info struct. The refcounting for the cifsSesInfo is moved to
      a non-atomic variable. We have to protect it by a lock anyway, so there's
      no benefit to making it an atomic. The list and refcount are protected
      by the global cifs_tcp_ses_lock.
      
      The patch also adds a new routines to find and put SMB sessions and
      that properly take and put references under the lock.
      Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
      Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
      14fbf50d
  6. 13 Nov, 2008 1 commit
  7. 12 Oct, 2008 1 commit
  8. 22 Sep, 2008 1 commit
  9. 23 May, 2008 1 commit
  10. 29 Apr, 2008 1 commit
  11. 07 Feb, 2008 1 commit
  12. 25 Oct, 2007 1 commit
  13. 28 Sep, 2007 1 commit
  14. 17 Jul, 2007 1 commit
  15. 13 Jul, 2007 1 commit
  16. 10 Jul, 2007 1 commit
  17. 07 Jul, 2007 1 commit
  18. 21 Jan, 2007 1 commit
  19. 07 Dec, 2006 2 commits
  20. 12 Oct, 2006 1 commit
  21. 28 Sep, 2006 1 commit
  22. 31 May, 2006 1 commit
  23. 05 Mar, 2006 1 commit
    • Steve French's avatar
      [CIFS] Always match oplock break (cache notification) to the right tcp · e77e6f3b
      Steve French authored
      session when multiply mounted.
      
      Fixes slow response when cifs client is mounted to shares on multiple
      servers and oplock break occurs (usually due to attempt to multiply open a
      file).  When treeids on mutiple mounted shares match and we find the wrong
      match first, we searched for the wrong cached files to send oplock break
      response for which usually meant that no matching file was found and thus
      the server would have to timeout the notification.  Oplock break timeout is
      about 20 seconds on some servers so this could cause significantly slower
      performance on file open calls in a few cases (in particular when multiple
      shares are mounted from multiple servers, tree ids match, and we have a
      cached file which is later opened multiple times).  This was the most
      important of the bugs that was found and fixed at Connectathon
      (interoperability testing event) this week.
      
      Acked-by:  Shaggy (shaggy@austin.ibm.com)
      Signed-off-by: Steve French (sfrench@us.ibm.com)
      e77e6f3b
  24. 03 Mar, 2006 1 commit
  25. 02 Mar, 2006 1 commit
  26. 24 Feb, 2006 1 commit
  27. 21 Feb, 2006 1 commit
  28. 13 Dec, 2005 1 commit
  29. 03 Dec, 2005 1 commit
  30. 02 Dec, 2005 1 commit
  31. 30 Nov, 2005 1 commit
  32. 11 Nov, 2005 1 commit
  33. 07 Nov, 2005 1 commit
  34. 10 Oct, 2005 1 commit
  35. 22 Sep, 2005 2 commits
  36. 24 Aug, 2005 1 commit
  37. 19 Aug, 2005 1 commit