1. 07 12月, 2009 5 次提交
  2. 06 12月, 2009 19 次提交
  3. 05 12月, 2009 12 次提交
  4. 04 12月, 2009 4 次提交
    • T
      Merge branch 'devel' into linux-next · 7285f2d2
      Trond Myklebust 提交于
      7285f2d2
    • N
      NFS4ERR_FILE_OPEN handling in Linux/NFS · 44ed3556
      NeilBrown 提交于
      NFS4ERR_FILE_OPEN is return by the server when an operation cannot be
      performed because the file is currently open and local (to the server)
      semantics prohibit the operation while the file is open.
      A typical case is a RENAME operation on an MS-Windows platform, which
      prevents rename while the file is open.
      
      While it is possible that such a condition is transitory, it is also
      very possible that the file will be held open for an extended period
      of time thus preventing the operation.
      
      The current behaviour of Linux/NFS is to retry the operation
      indefinitely.  This is not appropriate - we do not expect a rename to
      take an arbitrary amount of time to complete.
      
      Rather, and error should be returned.  The most obvious error code
      would be EBUSY, which is a legal at least for 'rename' and 'unlink',
      and accurately captures the reason for the error.
      
      This patch allows a few retries until about 2 seconds have elapsed,
      then returns EBUSY.
      Signed-off-by: NNeilBrown <neilb@suse.de>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      44ed3556
    • T
      Merge branch 'bugfixes' into nfs-for-next · 0b08b075
      Trond Myklebust 提交于
      0b08b075
    • M
      nfs: clean up sillyrenaming in nfs_rename() · 24e93025
      Miklos Szeredi 提交于
      The d_instantiate(new_dentry, NULL) is superfluous, the dentry is
      already negative.  Rehashing this dummy dentry isn't needed either,
      d_move() works fine on an unhashed target.
      
      The re-checking for busy after a failed nfs_sillyrename() is bogus
      too: new_dentry->d_count < 2 would be a bug here.
      Signed-off-by: NMiklos Szeredi <mszeredi@suse.cz>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      24e93025