1. 06 9月, 2005 1 次提交
    • H
      [PATCH] Floppy: Add cmos attribute to floppy driver · 94fd0db7
      Hannes Reinecke 提交于
      Currently only a device 'fdX' shows up in sysfs; the other possible
      device for this drive (like fd0h1440 etc) must be guessed from there.
      
      This patch corrects the floppy driver to create a platform device for
      each floppy found; each platform device also has an attribute 'cmos'
      which represents the cmos type for this drive. From this attribute the
      other possible device types can be computed.
      
      From: Hannes Reinecke <hare@suse.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      94fd0db7
  2. 05 9月, 2005 1 次提交
  3. 02 9月, 2005 1 次提交
  4. 30 8月, 2005 2 次提交
  5. 25 8月, 2005 1 次提交
    • J
      [PATCH] cfq-iosched.c: minor fixes · 9c2c38a1
      Jens Axboe 提交于
      One critical fix and two minor fixes for 2.6.13-rc7:
      
      - Max depth must currently be 2 to allow barriers to function on SCSI
      - Prefer sync request over async in choosing the next request
      - Never allow async request to preempt or disturb the "anticipation" for
        a single cfq process context. This is as-designed, the code right now
        is buggy in that area.
      Signed-off-by: NJens Axboe <axboe@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      9c2c38a1
  6. 06 8月, 2005 1 次提交
    • T
      [PATCH] blk: fix tag shrinking (revive real_max_size) · ba025082
      Tejun Heo 提交于
      My patch in commit fa72b903 incorrectly
      removed blk_queue_tag->real_max_depth.
      
      The original resize implementation was incorrect in the following
      points.
      
       * actual allocation size of tag_index was shorter than real_max_size,
         but assumed to be of the same size, possibly causing memory access
         beyond the allocated area.
       * bits in tag_map between max_deptn and real_max_depth were
         initialized to 1's, making the tags permanently reserved.
      
      In an attempt to fix above two bugs, I had removed allocation optimization
      in init_tag_map and real_max_size.  Tag map/index were allocated and freed
      immediately during resize.
      
      Unfortunately, I wasn't considering that tag map/index can be resized
      dynamically with tags beyond new_depth active.  This led to accessing
      freed area after shrinking tags and led to the following bug reporting
      thread on linux-scsi.
      
         http://marc.theaimsgroup.com/?l=linux-scsi&m=112319898111885&w=2
      
      To fix the problem, I've revived real_max_depth without allocation
      optimization in init_tag_map, and Andrew Vasquez confirmed that the
      problem was fixed.  As Jens is not going to be available for a week, he
      asked me to make sure that this patch reaches you.
      
         http://marc.theaimsgroup.com/?l=linux-scsi&m=112325778530886&w=2
      
      Also, a comment was added to make sure that real_max_size is needed for
      dynamic shrinking.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      ba025082
  7. 03 8月, 2005 1 次提交
  8. 28 7月, 2005 4 次提交
  9. 29 6月, 2005 6 次提交
  10. 28 6月, 2005 9 次提交
    • A
      [PATCH] cfq build fix · 99f95e52
      Andrew Morton 提交于
      drivers/block/cfq-iosched.c: In function 'cfq_put_queue':
      drivers/block/cfq-iosched.c:303: sorry, unimplemented: inlining failed in call to 'cfq_pending_requests': function body not available
      drivers/block/cfq-iosched.c:1080: sorry, unimplemented: called from here
      drivers/block/cfq-iosched.c: In function '__cfq_may_queue':
      drivers/block/cfq-iosched.c:1955: warning: the address of 'cfq_cfqq_must_alloc_slice', will always evaluate as 'true'
      make[1]: *** [drivers/block/cfq-iosched.o] Error 1
      make: *** [drivers/block/cfq-iosched.o] Error 2
      
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Cc: Jens Axboe <axboe@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      99f95e52
    • M
      [PATCH] cciss: remove partition info from CCISS_GETLUNINFO · 60564a31
      Mike Miller 提交于
      This patch fulfills a promise I made to Christoph sometime back.  I am
      removing the partition info from the CCISS_GETLUNINFO ioctl as I was informed
      my "driver had no damn business reading that structure." ;)
      
      The application folks are to use /proc or /sys for partition info from now on.
       I am only aware of a few apps that use this ioctl and I'm not sure they ever
      used the partition info.
      Signed-off-by: NMike Miller <mike.miller@hp.com>
      Acked-by: NJeff Garzik <jgarzik@pobox.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      60564a31
    • M
      [PATCH] cciss: pci domain info pass 2 · cd6fb584
      Mike Miller 提交于
      This is pass 2 of my patch to add pci domain info to an existing ioctl.  This
      time I insert the domain between dev_fn and board_id as Willy suggested and
      change the var to unsigned short to ease Christoph's concerns.  Although I
      thought unsigned int was the correct var type for this.  I also thought it
      didn't matter where I inserted it in the structure.
      Signed-off-by: NMike Miller <mike.miller@hp.com>
      Acked-by: NJeff Garzik <jgarzik@pobox.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      cd6fb584
    • M
      [PATCH] cciss: pci id fix · 3de0a70b
      Mike Miller 提交于
      This patch fixes a PCI ID I got wrong before.  It also adds support for
      another new SAS controller due out this summer.  I didn't have a marketing
      name prior to my last submission.  Also modifies the copyright date range.
      Signed-off-by: NMike Miller <mike.miller@hp.com>
      Acked-by: NJeff Garzik <jgarzik@pobox.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3de0a70b
    • B
      [PATCH] ppc32: Remove CONFIG_PMAC_PBOOK · 8c870933
      Benjamin Herrenschmidt 提交于
      This patch removes CONFIG_PMAC_PBOOK (PowerBook support).  This is now
      split into CONFIG_PMAC_MEDIABAY for the actual hotswap bay that some
      powerbooks have, CONFIG_PM for power management related code, and just left
      out of any CONFIG_* option for some generally useful stuff that can be used
      on non-laptops as well.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      8c870933
    • J
      [PATCH] CFQ io scheduler: scheduler switch oops · 96c51ce9
      Jens Axboe 提交于
      If cfq is managing a queue and a new scheduler is later selected, it is
      possible for the cfqd unplug_work work to be queued after the kblockd
      work struct has been flushed.  The problem is the ordering of
      cfq_shutdown_timer_wq() and blk_put_queue() in cfq_put_cfqd().  The
      latter may rearm the work, leaving cfq_kick_queue() with dead data.
      Signed-off-by: NJens Axboe <axboe@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      96c51ce9
    • J
      [PATCH] CFQ io scheduler updates · 3b18152c
      Jens Axboe 提交于
      - Adjust slice values
      
      - Instead of one async queue, one is defined per priority level. This
        prevents kernel threads (such as reiserfs/x and others) that run at
        higher io priority from conflicting with others. Previously, it was a
        coin toss what io prio the async queue got, it was defined by who
        first set up the queue.
      
      - Let a time slice only begin, when the previous slice is completely
        done. Previously we could be somewhat unfair to a new sync slice, if
        the previous slice was async and had several ios queued. This might
        need a little tweaking if throughput suffers a little due to this,
        allowing perhaps an overlap of a single request or so.
      
      - Optimize the calling of kblockd_schedule_work() by doing it only when
        it is strictly necessary (no requests in driver and work left to do).
      
      - Correct sync vs async logic. A 'normal' process can be purely async as
        well, and a flusher can be purely sync as well. Sync or async is now a
        property of the class defined and requests pending. Previously writers
        could be considered sync, when they were really async.
      
      - Get rid of the bit fields in cfqq and crq, use flags instead.
      
      - Various other cleanups and fixes
      Signed-off-by: NJens Axboe <axboe@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3b18152c
    • J
      [PATCH] Fix cfq_find_next_crq() · 3d25f356
      Jens Axboe 提交于
      In cfq_find_next_crq(), cfq tries to find the next request by choosing
      one of two requests before and after the current one.  Currently, when
      choosing the next request, if there's no next request, the next
      candidate is NULL, resulting in selection of the previous request.  This
      results in weird scheduling.  Once we reach the end, we always seek
      backward.
      
      The correct behavior is using the first request as the next candidate.
      cfq_choose_req() already has logics for handling wrapped requests.
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Signed-off-by: NJens Axboe <axboe@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3d25f356
    • J
      [PATCH] Update cfq io scheduler to time sliced design · 22e2c507
      Jens Axboe 提交于
      This updates the CFQ io scheduler to the new time sliced design (cfq
      v3).  It provides full process fairness, while giving excellent
      aggregate system throughput even for many competing processes.  It
      supports io priorities, either inherited from the cpu nice value or set
      directly with the ioprio_get/set syscalls.  The latter closely mimic
      set/getpriority.
      
      This import is based on my latest from -mm.
      Signed-off-by: NJens Axboe <axboe@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      22e2c507
  11. 27 6月, 2005 1 次提交
  12. 26 6月, 2005 3 次提交
  13. 24 6月, 2005 9 次提交