1. 24 Jun, 2010 2 commits
  2. 21 Jun, 2010 2 commits
    • Sage Weil's avatar
      ceph: delay umount until all mds requests drop inode+dentry refs · 17c688c3
      Sage Weil authored
      This fixes a race between handle_reply finishing an mds request, signalling
      completion, and then dropping the request structing and its dentry+inode
      refs, and pre_umount function waiting for requests to finish before
      letting the vfs tear down the dcache.  If umount was delayed waiting for
      mds requests, we could race and BUG in shrink_dcache_for_umount_subtree
      because of a slow dput.
      
      This delays umount until the msgr queue flushes, which means handle_reply
      will exit and will have dropped the ceph_mds_request struct.  I'm assuming
      the VFS has already ensured that its calls have all completed and those
      request refs have thus been dropped as well (I haven't seen that race, at
      least).
      Signed-off-by: default avatarSage Weil <sage@newdream.net>
      17c688c3
    • Sage Weil's avatar
      ceph: handle splice_dentry/d_materialize_unique error in readdir_prepopulate · d69ed05a
      Sage Weil authored
      Handle a splice_dentry failure (due to a d_materialize_unique error)
      without crashing.  (Also, report the error code.)
      Signed-off-by: default avatarSage Weil <sage@newdream.net>
      d69ed05a
  3. 17 Jun, 2010 1 commit
  4. 13 Jun, 2010 3 commits
  5. 12 Jun, 2010 1 commit
  6. 11 Jun, 2010 31 commits