1. 30 3月, 2011 4 次提交
  2. 29 3月, 2011 1 次提交
  3. 27 3月, 2011 1 次提交
  4. 26 3月, 2011 1 次提交
    • S
      ceph: flush msgr_wq during mds_client shutdown · ef550f6f
      Sage Weil 提交于
      The release method for mds connections uses a backpointer to the
      mds_client, so we need to flush the workqueue of any pending work (and
      ceph_connection references) prior to freeing the mds_client.  This fixes
      an oops easily triggered under UML by
      
       while true ; do mount ... ; umount ... ; done
      
      Also fix an outdated comment: the flush in ceph_destroy_client only flushes
      OSD connections out.  This bug is basically an artifact of the ceph ->
      ceph+libceph conversion.
      Signed-off-by: NSage Weil <sage@newdream.net>
      ef550f6f
  5. 23 3月, 2011 2 次提交
  6. 22 3月, 2011 9 次提交
  7. 16 3月, 2011 2 次提交
    • S
      ceph: preserve I_COMPLETE across rename · 09adc80c
      Sage Weil 提交于
      d_move puts the renamed dentry at the end of d_subdirs, screwing with our
      cached dentry directory offsets.  We were just clearing I_COMPLETE to avoid
      any possibility of trouble.  However, assigning the renamed dentry an
      offset at the end of the directory (to match it's new d_subdirs position)
      is sufficient to maintain correct behavior and hold onto I_COMPLETE.
      
      This is especially important for workloads like rsync, which renames files
      into place.  Before, we would lose I_COMPLETE and do MDS lookups for each
      file.  With this patch we only talk to the MDS on create and rename.
      Signed-off-by: NSage Weil <sage@newdream.net>
      09adc80c
    • T
      libceph: Fix base64-decoding when input ends in newline. · b09734b1
      Tommi Virtanen 提交于
      It used to return -EINVAL because it thought the end was not aligned
      to 4 bytes.
      
      Clean up superfluous src < end test in if, the while itself guarantees
      that.
      Signed-off-by: NTommi Virtanen <tommi.virtanen@dreamhost.com>
      Signed-off-by: NSage Weil <sage@newdream.net>
      b09734b1
  8. 15 3月, 2011 20 次提交