1. 18 2月, 2010 1 次提交
  2. 12 2月, 2010 2 次提交
  3. 30 1月, 2010 1 次提交
  4. 26 1月, 2010 1 次提交
    • S
      ceph: properly handle aborted mds requests · 5b1daecd
      Sage Weil 提交于
      Previously, if the MDS request was interrupted, we would unregister the
      request and ignore any reply.  This could cause the caps or other cache
      state to become out of sync.  (For instance, aborting dbench and doing
      rm -r on clients would complain about a non-empty directory because the
      client didn't realize it's aborted file create request completed.)
      
      Even we don't unregister, we still can't process the reply normally because
      we are no longer holding the caller's locks (like the dir i_mutex).
      
      So, mark aborted operations with r_aborted, and in the reply handler, be
      sure to process all the caps.  Do not process the namespace changes,
      though, since we no longer will hold the dir i_mutex.  The dentry lease
      state can also be ignored as it's more forgiving.
      Signed-off-by: NSage Weil <sage@newdream.net>
      5b1daecd
  5. 15 1月, 2010 1 次提交
  6. 22 12月, 2009 1 次提交
  7. 08 12月, 2009 1 次提交
  8. 12 11月, 2009 1 次提交
  9. 22 10月, 2009 1 次提交
  10. 07 10月, 2009 1 次提交
    • S
      ceph: inode operations · 355da1eb
      Sage Weil 提交于
      Inode cache and inode operations.  We also include routines to
      incorporate metadata structures returned by the MDS into the client
      cache, and some helpers to deal with file capabilities and metadata
      leases.  The bulk of that work is done by fill_inode() and
      fill_trace().
      Signed-off-by: NSage Weil <sage@newdream.net>
      355da1eb