1. 25 3月, 2011 1 次提交
  2. 23 3月, 2011 35 次提交
  3. 22 3月, 2011 4 次提交
    • S
      ceph: move readahead default to fs/ceph from libceph · 80456f86
      Sage Weil 提交于
      Signed-off-by: NSage Weil <sage@newdream.net>
      80456f86
    • Y
      ceph: update common header files · 483fac71
      Yehuda Sadeh 提交于
      This updates the common header files used by the different ceph
      related modules. Specifically it adds definitions required by
      the rbd watch/notify feature.
      Signed-off-by: NYehuda Sadeh <yehuda@hq.newdream.net>
      483fac71
    • S
      libceph: fix osd request queuing on osdmap updates · 6f6c7006
      Sage Weil 提交于
      If we send a request to osd A, and the request's pg remaps to osd B and
      then back to A in quick succession, we need to resend the request to A. The
      old code was only calling kick_requests after processing all incremental
      maps in a message, so it was very possible to not resend a request that
      needed to be resent.  This would make the osd eventually time out (at least
      with the current default of osd timeouts enabled).
      
      The correct approach is to scan requests on every map incremental.  This
      patch refactors the kick code in a few ways:
       - all requests are either on req_lru (in flight), req_unsent (ready to
         send), or req_notarget (currently map to no up osd)
       - mapping always done by map_request (previous map_osds)
       - if the mapping changes, we requeue.  requests are resent only after all
         map incrementals are processed.
       - some osd reset code is moved out of kick_requests into a separate
         function
       - the "kick this osd" functionality is moved to kick_osd_requests, as it
         is unrelated to scanning for request->pg->osd mapping changes
      Signed-off-by: NSage Weil <sage@newdream.net>
      6f6c7006
    • D
      hwmon: (ads1015) Make gain and datarate configurable · c0046867
      Dirk Eibach 提交于
      Configuration for ads1015 gain and datarate is possible via
      devicetree or platform data.
      
      This is a followup patch to previous ads1015 patches on Jean Delvares
      tree.
      Signed-off-by: NDirk Eibach <eibach@gdsys.de>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      c0046867