1. 20 Jun, 2012 6 commits
    • Sage Weil's avatar
      libceph: flush msgr queue during mon_client shutdown · 642c0dbd
      Sage Weil authored
      We need to flush the msgr workqueue during mon_client shutdown to
      ensure that any work affecting our embedded ceph_connection is
      finished so that we can be safely destroyed.
      
      Previously, we were flushing the work queue after osd_client
      shutdown and before mon_client shutdown to ensure that any osd
      connection refs to authorizers are flushed.  Remove the redundant
      flush, and document in the comment that the mon_client flush is
      needed to cover that case as well.
      Signed-off-by: default avatarSage Weil <sage@inktank.com>
      Reviewed-by: default avatarAlex Elder <elder@inktank.com>
      (cherry picked from commit f3dea7ed)
      642c0dbd
    • Yan, Zheng's avatar
      rbd: Clear ceph_msg->bio_iter for retransmitted message · b132cf4c
      Yan, Zheng authored
      The bug can cause NULL pointer dereference in write_partial_msg_pages
      Signed-off-by: default avatarZheng Yan <zheng.z.yan@intel.com>
      Reviewed-by: default avatarAlex Elder <elder@inktank.com>
      (cherry picked from commit 43643528)
      b132cf4c
    • Sage Weil's avatar
      libceph: use con get/put ops from osd_client · 88ed6ea0
      Sage Weil authored
      There were a few direct calls to ceph_con_{get,put}() instead of the con
      ops from osd_client.c.  This is a bug since those ops aren't defined to
      be ceph_con_get/put.
      
      This breaks refcounting on the ceph_osd structs that contain the
      ceph_connections, and could lead to all manner of strangeness.
      
      The purpose of the ->get and ->put methods in a ceph connection are
      to allow the connection to indicate it has a reference to something
      external to the messaging system, *not* to indicate something
      external has a reference to the connection.
      
      [elder@inktank.com: added that last sentence]
      Signed-off-by: default avatarSage Weil <sage@newdream.net>
      Reviewed-by: default avatarAlex Elder <elder@inktank.com>
      (cherry picked from commit 0d47766f)
      88ed6ea0
    • Alex Elder's avatar
      libceph: osd_client: don't drop reply reference too early · 680584fa
      Alex Elder authored
      In ceph_osdc_release_request(), a reference to the r_reply message
      is dropped.  But just after that, that same message is revoked if it
      was in use to receive an incoming reply.  Reorder these so we are
      sure we hold a reference until we're actually done with the message.
      Signed-off-by: default avatarAlex Elder <elder@inktank.com>
      Reviewed-by: default avatarSage Weil <sage@inktank.com>
      (cherry picked from commit ab8cb34a)
      680584fa
    • Yan, Zheng's avatar
      ceph: check PG_Private flag before accessing page->private · 61600ef8
      Yan, Zheng authored
      I got lots of NULL pointer dereference Oops when compiling kernel on ceph.
      The bug is because the kernel page migration routine replaces some pages
      in the page cache with new pages, these new pages' private can be non-zero.
      Signed-off-by: default avatarZheng Yan <zheng.z.yan@intel.com>
      Signed-off-by: default avatarSage Weil <sage@inktank.com>
      (cherry picked from commit 28c0254e)
      61600ef8
    • Linus Torvalds's avatar
      Merge tag 'sound-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · f40759e7
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "Most of changes are fairly small and driver-specific.
      
        A remaining regression fix for USB-audio sync pipe check, a fix for
        HD-audio power-up sequence, fixes for ASoC pxa-ssp compile issues, and
        bunch of ASoC codec and trivial fix patches."
      
      * tag 'sound-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: 6fire: use NULL instead of 0 for pointer assignment
        ALSA: hda - Handle open while transitioning to D3.
        ALSA: snd-usb: make snd_usb_substream_capture_trigger static
        ALSA: snd-usb: fix sync pipe check
        ASoC: tegra+wm8903: turn of mic detect when card is removed
        ASoC: wm8996: Mark the CODEC as cache only when powering off on boot
        ASoC: wm8996: Move reset before the initial regulator disable
        ASoC: wm8996: Remove spurious regulator_bulk_free()
        ASoC: wm8904: Fix cache only management
        ASoC: wm8904: Fix GPIO and MICBIAS initialisation for regmap conversion
        ASoC: fix pxa-ssp compiling issue under mach-mmp
        ARM: MMP: add pxa910-ssp into ssp_id_table
      f40759e7
  2. 19 Jun, 2012 1 commit
  3. 18 Jun, 2012 13 commits
  4. 17 Jun, 2012 20 commits