1. 04 11月, 2008 1 次提交
  2. 02 11月, 2008 1 次提交
    • A
      saner FASYNC handling on file close · 233e70f4
      Al Viro 提交于
      As it is, all instances of ->release() for files that have ->fasync()
      need to remember to evict file from fasync lists; forgetting that
      creates a hole and we actually have a bunch that *does* forget.
      
      So let's keep our lives simple - let __fput() check FASYNC in
      file->f_flags and call ->fasync() there if it's been set.  And lose that
      crap in ->release() instances - leaving it there is still valid, but we
      don't have to bother anymore.
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      233e70f4
  3. 31 10月, 2008 6 次提交
  4. 29 10月, 2008 2 次提交
    • S
      [CIFS] Reduce number of socket retries in large write path · edf1ae40
      Steve French 提交于
      CIFS in some heavy stress conditions cifs could get EAGAIN
      repeatedly in smb_send2 which led to repeated retries and eventually
      failure of large writes which could lead to data corruption.
      
      There are three changes that were suggested by various network
      developers:
      
      1) convert cifs from non-blocking to blocking tcp sendmsg
      (we left in the retry on failure)
      2) change cifs to not set sendbuf and rcvbuf size for the socket
      (let tcp autotune the buffer sizes since that works much better
      in the TCP stack now)
      3) if we have a partial frame sent in smb_send2, mark the tcp
      session as invalid (close the socket and reconnect) so we do
      not corrupt the remaining part of the SMB with the beginning
      of the next SMB.
      
      This does not appear to hurt performance measurably and has
      been run in various scenarios, but it definately removes
      a corruption that we were seeing in some high stress
      test cases.
      Acked-by: NShirish Pargaonkar <shirishp@us.ibm.com>
      Signed-off-by: NSteve French <sfrench@us.ibm.com>
      edf1ae40
    • T
      NFS: Convert nfs_attr_generation_counter into an atomic_long · ae05f269
      Trond Myklebust 提交于
      The most important property we need from nfs_attr_generation_counter is
      monotonicity, which is not guaranteed by the current system of smp memory
      barriers. We should convert it to an atomic_long_t, and drop the memory
      barriers.
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      ae05f269
  5. 28 10月, 2008 2 次提交
  6. 29 10月, 2008 1 次提交
  7. 28 10月, 2008 3 次提交
  8. 27 10月, 2008 3 次提交
  9. 26 10月, 2008 2 次提交
  10. 24 10月, 2008 2 次提交
  11. 23 10月, 2008 17 次提交