1. 17 Jan, 2013 1 commit
    • Alex Elder's avatar
      rbd: kill create_snap sysfs entry · e4a4a559
      Alex Elder authored
      
      Josh proposed the following change, and I don't think I could
      explain it any better than he did:
      
          From: Josh Durgin <josh.durgin@inktank.com>
          Date: Tue, 24 Jul 2012 14:22:11 -0700
          To: ceph-devel <ceph-devel@vger.kernel.org>
          Message-ID: <500F1203.9050605@inktank.com>
          From: Josh Durgin <josh.durgin@inktank.com>
      
      
          Right now the kernel still has one piece of rbd management
          duplicated from the rbd command line tool: snapshot creation.
          There's nothing special about snapshot creation that makes it
          advantageous to do from the kernel, so I'd like to remove the
          create_snap sysfs interface.  That is,
      	/sys/bus/rbd/devices/<id>/create_snap
          would be removed.
      
          Does anyone rely on the sysfs interface for creating rbd
          snapshots?  If so, how hard would it be to replace with:
      
      	rbd snap create pool/image@snap
      
          Is there any benefit to the sysfs interface that I'm missing?
      
          Josh
      
      This patch implements this proposal, removing the code that
      implements the "snap_create" sysfs interface for rbd images.
      As a result, quite a lot of other supporting code goes away.
      
      [elder@inktank.com: commented out rbd_req_sync_exec() to avoid warning]
      Suggested-by: default avatarJosh Durgin <josh.durgin@inktank.com>
      Signed-off-by: default avatarAlex Elder <elder@inktank.com>
      Reviewed-by: default avatarJosh Durgin <josh.durgin@inktank.com>
      (based on commit 02cdb02c)
      e4a4a559
  2. 23 Apr, 2012 1 commit
  3. 12 Apr, 2012 1 commit
  4. 09 Apr, 2012 1 commit
  5. 01 Apr, 2012 1 commit
  6. 30 Mar, 2012 2 commits
  7. 28 Mar, 2012 1 commit
  8. 27 Mar, 2012 1 commit
  9. 20 Mar, 2012 2 commits
  10. 16 Mar, 2012 1 commit
  11. 13 Mar, 2012 1 commit
    • Rafael J. Wysocki's avatar
      PM / QoS: Make it possible to expose PM QoS latency constraints · 85dc0b8a
      Rafael J. Wysocki authored
      
      A runtime suspend of a device (e.g. an MMC controller) belonging to
      a power domain or, in a more complicated scenario, a runtime suspend
      of another device in the same power domain, may cause power to be
      removed from the entire domain.  In that case, the amount of time
      necessary to runtime-resume the given device (e.g. the MMC
      controller) is often substantially greater than the time needed to
      run its driver's runtime resume callback.  That may hurt performance
      in some situations, because user data may need to wait for the
      device to become operational, so we should make it possible to
      prevent that from happening.
      
      For this reason, introduce a new sysfs attribute for devices,
      power/pm_qos_resume_latency_us, allowing user space to specify the
      upper bound of the time necessary to bring the (runtime-suspended)
      device up after the resume of it has been requested.  However, make
      that attribute appear only for the devices whose drivers declare
      support for it by calling the (new) dev_pm_qos_expose_latency_limit()
      helper function with the appropriate initial value of the attribute.
      Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      Reviewed-by: default avatarKevin Hilman <khilman@ti.com>
      Reviewed-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      85dc0b8a
  12. 07 Mar, 2012 1 commit
  13. 16 Feb, 2012 1 commit
  14. 15 Feb, 2012 1 commit
  15. 10 Feb, 2012 1 commit
  16. 09 Feb, 2012 1 commit
  17. 08 Feb, 2012 1 commit
    • Ohad Ben-Cohen's avatar
      rpmsg: add virtio-based remote processor messaging bus · bcabbcca
      Ohad Ben-Cohen authored
      
      Add a virtio-based inter-processor communication bus, which enables
      kernel drivers to communicate with entities, running on remote
      processors, over shared memory using a simple messaging protocol.
      
      Every pair of AMP processors share two vrings, which are used to send
      and receive the messages over shared memory.
      
      The header of every message sent on the rpmsg bus contains src and dst
      addresses, which make it possible to multiplex several rpmsg channels on
      the same vring.
      
      Every rpmsg channel is a device on this bus. When a channel is added,
      and an appropriate rpmsg driver is found and probed, it is also assigned
      a local rpmsg address, which is then bound to the driver's callback.
      
      When inbound messages carry the local address of a bound driver,
      its callback is invoked by the bus.
      
      This patch provides a kernel interface only; user space interfaces
      will be later exposed by kernel users of this rpmsg bus.
      
      Designed with Brian Swetland <swetland@google.com>.
      Signed-off-by: default avatarOhad Ben-Cohen <ohad@wizery.com>
      Acked-by: Rusty Russell <rusty@rustcorp.com.au> (virtio_ids.h)
      Cc: Brian Swetland <swetland@google.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Greg KH <greg@kroah.com>
      Cc: Stephen Boyd <sboyd@codeaurora.org>
      bcabbcca
  18. 23 Jan, 2012 1 commit
  19. 13 Jan, 2012 1 commit
  20. 12 Jan, 2012 1 commit
    • Kay Sievers's avatar
      modules: sysfs - export: taint, coresize, initsize · cca3e707
      Kay Sievers authored
      
      Recent tools do not want to use /proc to retrieve module information. A few
      values are currently missing from sysfs to replace the information available
      in /proc/modules.
      
      This adds /sys/module/*/{coresize,initsize,taint} attributes.
      
      TAINT_PROPRIETARY_MODULE (P) and TAINT_OOT_MODULE (O) flags are both always
      shown now, and do no longer exclude each other, also in /proc/modules.
      
      Replace the open-coded sysfs attribute initializers with the __ATTR() macro.
      
      Add the new attributes to Documentation/ABI.
      
      Cc: Lucas De Marchi <lucas.demarchi@profusion.mobi>
      Signed-off-by: default avatarKay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      cca3e707
  21. 11 Jan, 2012 1 commit
  22. 09 Jan, 2012 1 commit
  23. 06 Jan, 2012 1 commit
  24. 02 Jan, 2012 1 commit
  25. 12 Dec, 2011 1 commit
  26. 07 Dec, 2011 1 commit
  27. 06 Dec, 2011 1 commit
  28. 05 Dec, 2011 1 commit
  29. 23 Nov, 2011 1 commit
  30. 22 Nov, 2011 1 commit
  31. 15 Nov, 2011 1 commit
  32. 11 Nov, 2011 1 commit
  33. 10 Nov, 2011 1 commit
  34. 09 Nov, 2011 1 commit
  35. 07 Nov, 2011 1 commit
  36. 24 Oct, 2011 2 commits
  37. 05 Oct, 2011 1 commit