1. 25 1月, 2008 6 次提交
  2. 15 1月, 2008 1 次提交
  3. 11 1月, 2008 1 次提交
  4. 18 12月, 2007 2 次提交
  5. 11 12月, 2007 2 次提交
  6. 19 11月, 2007 1 次提交
  7. 15 11月, 2007 2 次提交
    • C
      rd: fix data corruption on memory pressure · 5d0360ee
      Christian Borntraeger 提交于
      We have seen ramdisk based install systems, where some pages of mapped
      libraries and programs were suddendly zeroed under memory pressure.  This
      should not happen, as the ramdisk avoids freeing its pages by keeping them
      dirty all the time.
      
      It turns out that there is a case, where the VM makes a ramdisk page clean,
      without telling the ramdisk driver.  On memory pressure shrink_zone runs
      and it starts to run shrink_active_list.  There is a check for
      buffer_heads_over_limit, and if true, pagevec_strip is called.
      pagevec_strip calls try_to_release_page.  If the mapping has no releasepage
      callback, try_to_free_buffers is called.  try_to_free_buffers has now a
      special logic for some file systems to make a dirty page clean, if all
      buffers are clean.  Thats what happened in our test case.
      
      The simplest solution is to provide a noop-releasepage callback for the
      ramdisk driver.  This avoids try_to_free_buffers for ramdisk pages.
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Acked-by: NNick Piggin <npiggin@suse.de>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      5d0360ee
    • O
      paride: pf driver fixes · e62aa046
      Ondrej Zary 提交于
      The pf driver for parallel port floppy drives seems to be broken.  At least
      with Imation SuperDisk with EPAT chip, the driver calls pi_connect() and
      pi_disconnect after each transferred sector.  At least with EPAT, this
      operation is very expensive - causes drive recalibration.  Thus, transferring
      even a single byte (dd if=/dev/pf0 of=/dev/null bs=1 count=1) takes 20
      seconds, making the driver useless.
      
      The pf_next_buf() function seems to be broken as it returns 1 always (except
      when pf_run is non-zero), causing the loop in do_pf_read_drq (and
      do_pf_write_drq) to be executed only once.
      
      The following patch fixes this problem.  It also fixes swapped descriptions in
      pf_lock() function and removes DBMSG macro, which seems useless.
      Signed-off-by: NOndrej Zary <linux@rainbow-software.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e62aa046
  8. 13 11月, 2007 1 次提交
  9. 08 11月, 2007 1 次提交
  10. 06 11月, 2007 1 次提交
  11. 29 10月, 2007 1 次提交
    • M
      cciss: update copyright notices · bd4f36d6
      Mike Miller 提交于
      This patch updates the copyright information for the cciss driver. It
      includes extending the year to 2007 (how timely) and some minor corrections
      deemed necessary by HP legal and the Open Source Review Board. Please
      consider this patch for inclusion.
      Signed-off-by: NMike Miller <mike.miller@hp.com>
      --------------------------------------------------------------------------------
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      bd4f36d6
  12. 25 10月, 2007 1 次提交
  13. 24 10月, 2007 4 次提交
  14. 23 10月, 2007 3 次提交
    • R
      Remove old lguest bus and drivers. · 0ca49ca9
      Rusty Russell 提交于
      This gets rid of the lguest bus, drivers and DMA mechanism, to make
      way for a generic virtio mechanism.
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      0ca49ca9
    • R
      Block driver using virtio. · e467cde2
      Rusty Russell 提交于
      The block driver uses scatter-gather lists with sg[0] being the
      request information (struct virtio_blk_outhdr) with the type, sector
      and inbuf id.  The next N sg entries are the bio itself, then the last
      sg is the status byte.  Whether the N entries are in or out depends on
      whether it's a read or a write.
      
      We accept the normal (SCSI) ioctls: they get handed through to the other
      side which can then handle it or reply that it's unsupported.  It's
      not clear that this actually works in general, since I don't know
      if blk_pc_request() requests have an accurate rq_data_dir().
      
      Although we try to reply -ENOTTY on unsupported commands, ioctl(fd,
      CDROMEJECT) returns success to userspace.  This needs a separate
      patch.
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      e467cde2
    • J
      [SG] Update drivers to use sg helpers · 45711f1a
      Jens Axboe 提交于
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      45711f1a
  15. 20 10月, 2007 6 次提交
  16. 19 10月, 2007 1 次提交
    • J
      Add missing newlines to some uses of dev_<level> messages · 898eb71c
      Joe Perches 提交于
      Found these while looking at printk uses.
      
      Add missing newlines to dev_<level> uses
      Add missing KERN_<level> prefixes to multiline dev_<level>s
      Fixed a wierd->weird spelling typo
      Added a newline to a printk
      Signed-off-by: NJoe Perches <joe@perches.com>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Cc: Mark M. Hoffman <mhoffman@lightlink.com>
      Cc: Roland Dreier <rolandd@cisco.com>
      Cc: Tilman Schmidt <tilman@imap.cc>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Jeff Garzik <jeff@garzik.org>
      Cc: Stephen Hemminger <shemminger@linux-foundation.org>
      Cc: Greg KH <greg@kroah.com>
      Cc: Jeremy Fitzhardinge <jeremy@goop.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: David Brownell <david-b@pacbell.net>
      Cc: James Smart <James.Smart@Emulex.Com>
      Cc: Andrew Vasquez <andrew.vasquez@qlogic.com>
      Cc: "Antonino A. Daplas" <adaplas@pol.net>
      Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Jaroslav Kysela <perex@suse.cz>
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      898eb71c
  17. 17 10月, 2007 6 次提交