1. 28 8月, 2008 1 次提交
  2. 22 7月, 2008 1 次提交
  3. 04 7月, 2008 2 次提交
  4. 03 7月, 2008 1 次提交
    • A
      Add bvec_merge_data to handle stacked devices and ->merge_bvec() · cc371e66
      Alasdair G Kergon 提交于
      When devices are stacked, one device's merge_bvec_fn may need to perform
      the mapping and then call one or more functions for its underlying devices.
      
      The following bio fields are used:
        bio->bi_sector
        bio->bi_bdev
        bio->bi_size
        bio->bi_rw  using bio_data_dir()
      
      This patch creates a new struct bvec_merge_data holding a copy of those
      fields to avoid having to change them directly in the struct bio when
      going down the stack only to have to change them back again on the way
      back up.  (And then when the bio gets mapped for real, the whole
      exercise gets repeated, but that's a problem for another day...)
      Signed-off-by: NAlasdair G Kergon <agk@redhat.com>
      Cc: Neil Brown <neilb@suse.de>
      Cc: Milan Broz <mbroz@redhat.com>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      cc371e66
  5. 29 4月, 2008 3 次提交
  6. 05 3月, 2008 1 次提交
  7. 07 2月, 2008 1 次提交
  8. 25 1月, 2008 3 次提交
  9. 18 12月, 2007 1 次提交
  10. 08 11月, 2007 1 次提交
  11. 16 10月, 2007 2 次提交
  12. 10 10月, 2007 1 次提交
  13. 24 7月, 2007 1 次提交
  14. 18 7月, 2007 1 次提交
    • R
      Freezer: make kernel threads nonfreezable by default · 83144186
      Rafael J. Wysocki 提交于
      Currently, the freezer treats all tasks as freezable, except for the kernel
      threads that explicitly set the PF_NOFREEZE flag for themselves.  This
      approach is problematic, since it requires every kernel thread to either
      set PF_NOFREEZE explicitly, or call try_to_freeze(), even if it doesn't
      care for the freezing of tasks at all.
      
      It seems better to only require the kernel threads that want to or need to
      be frozen to use some freezer-related code and to remove any
      freezer-related code from the other (nonfreezable) kernel threads, which is
      done in this patch.
      
      The patch causes all kernel threads to be nonfreezable by default (ie.  to
      have PF_NOFREEZE set by default) and introduces the set_freezable()
      function that should be called by the freezable kernel threads in order to
      unset PF_NOFREEZE.  It also makes all of the currently freezable kernel
      threads call set_freezable(), so it shouldn't cause any (intentional)
      change of behaviour to appear.  Additionally, it updates documentation to
      describe the freezing of tasks more accurately.
      
      [akpm@linux-foundation.org: build fixes]
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NNigel Cunningham <nigel@nigel.suspend2.net>
      Cc: Pavel Machek <pavel@ucw.cz>
      Cc: Oleg Nesterov <oleg@tv-sign.ru>
      Cc: Gautham R Shenoy <ego@in.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      83144186
  15. 17 7月, 2007 1 次提交
  16. 12 7月, 2007 1 次提交
    • T
      sysfs: kill unnecessary attribute->owner · 7b595756
      Tejun Heo 提交于
      sysfs is now completely out of driver/module lifetime game.  After
      deletion, a sysfs node doesn't access anything outside sysfs proper,
      so there's no reason to hold onto the attribute owners.  Note that
      often the wrong modules were accounted for as owners leading to
      accessing removed modules.
      
      This patch kills now unnecessary attribute->owner.  Note that with
      this change, userland holding a sysfs node does not prevent the
      backing module from being unloaded.
      
      For more info regarding lifetime rule cleanup, please read the
      following message.
      
        http://article.gmane.org/gmane.linux.kernel/510293
      
      (tweaked by Greg to not delete the field just yet, to make it easier to
      merge things properly.)
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      7b595756
  17. 26 4月, 2007 1 次提交
    • A
      packet: fix error handling · cbc31a47
      Andrew Morton 提交于
      The packet driver is assuming (reasonably) that the (undocumented)
      request.errors is an errno.  But it is in fact some mysterious bitfield.  When
      things go wrong we return weird positive numbers to the VFS as pointers and it
      goes oops.
      
      Thanks to William Heimbigner for reporting and diagnosis.
      
      (It doesn't oops, but this driver still doesn't work for William)
      
      Cc: William Heimbigner <icxcnika@mar.tar.cc>
      Cc: Peter Osterlund <petero2@telia.com>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cbc31a47
  18. 21 2月, 2007 1 次提交
  19. 13 2月, 2007 1 次提交
  20. 12 2月, 2007 1 次提交
  21. 06 1月, 2007 1 次提交
  22. 09 12月, 2006 3 次提交
  23. 08 12月, 2006 1 次提交
  24. 04 10月, 2006 2 次提交
  25. 01 10月, 2006 3 次提交
  26. 01 8月, 2006 1 次提交
  27. 01 7月, 2006 1 次提交
  28. 27 6月, 2006 1 次提交
  29. 27 3月, 2006 1 次提交