1. 05 2月, 2013 1 次提交
  2. 05 1月, 2013 1 次提交
    • P
      block: delete super ancient PC-XT driver for 1980's hardware · d1a6f4f1
      Paul Gortmaker 提交于
      This driver was for the 8 bit ISA cards that were installed in
      the PC-XT machines of 1980 vintage.  They supported the dual
      ribbon cable MFM drives of 10-20MB capacity, and ran at a 3:1
      interleave, giving performance on the order of 128kB/s.
      
      By the introduction of the PC-AT (286) these controllers were
      already scrapped in favour of 16 bit controllers with some onboard
      RAM that could support a 1:1 interleave.
      
      The git history doesn't show any evidence of runtime fixes that
      would reflect active usage; instead just the usual tree-wide API
      type changes/cleanups.  Going back to in-source changelogs, the
      last "runtime" fix that is evident is something I did over a
      dozen years ago[1] -- and even back then, the hardware was long
      since unavailable, so that ancient fix was also not runtime tested.
      
      The time is long overdue for this to get flushed, so lets get
      rid of it before anyone wastes more time doing builds and sparse
      checks etc. on long since dead code.
      
      [1] http://lkml.indiana.edu/hypermail/linux/kernel/0102.2/0027.htmlSigned-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      d1a6f4f1
  3. 30 10月, 2012 1 次提交
  4. 24 10月, 2012 1 次提交
    • K
      drivers/block: remove CONFIG_EXPERIMENTAL · b8977285
      Kees Cook 提交于
      This config item has not carried much meaning for a while now and is
      almost always enabled by default. As agreed during the Linux kernel
      summit, remove it.
      
      CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      CC: Asai Thambi S P <asamymuthupa@micron.com>
      CC: Pete Zaitcev <zaitcev@redhat.com>
      CC: Cong Wang <xiyou.wangcong@gmail.com>
      CC: Jens Axboe <jaxboe@fusionio.com>
      Signed-off-by: NKees Cook <keescook@chromium.org>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      b8977285
  5. 06 9月, 2012 1 次提交
  6. 17 3月, 2012 1 次提交
  7. 05 11月, 2011 2 次提交
  8. 09 8月, 2011 1 次提交
  9. 01 8月, 2011 1 次提交
  10. 13 5月, 2011 1 次提交
  11. 19 4月, 2011 1 次提交
  12. 06 1月, 2011 1 次提交
  13. 21 10月, 2010 1 次提交
  14. 09 6月, 2010 1 次提交
  15. 07 6月, 2010 1 次提交
  16. 11 5月, 2010 1 次提交
  17. 02 10月, 2009 1 次提交
  18. 24 6月, 2009 1 次提交
    • J
      osdblk: a Linux block device for OSD objects · 2a13877c
      Jeff Garzik 提交于
      Submitted driver exports a block device of the form /dev/osdblkX,
      where X is a decimal number.
      
      It does that by mounting a stacking block device on top
      of an osd object. For example, if you create a 2G object
      on an OSD device, you can then use this module to present
      that 2G object as a Linux block device.
      
      See inside patch for exact documentation.
      
      [Sitting at linux-next helped fix proper Kconfig dependency
       for this driver, thanks to Randy Dunlap]
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      Signed-off-by: NBoaz Harrosh <bharrosh@panasas.com>
      2a13877c
  19. 13 6月, 2009 1 次提交
  20. 21 5月, 2009 1 次提交
  21. 28 4月, 2009 1 次提交
  22. 07 4月, 2009 1 次提交
    • U
      mflash: initial support · 3fbed4c6
      unsik Kim 提交于
      This driver supports mflash IO mode for linux.
      
      Mflash is embedded flash drive and mainly targeted mobile and consumer
      electronic devices.
      
      Internally, mflash has nand flash and other hardware logics and supports 2
      different operation (ATA, IO) modes.  ATA mode doesn't need any new driver
      and currently works well under standard IDE subsystem.  Actually it's one
      chip SSD.  IO mode is ATA-like custom mode for the host that doesn't have
      IDE interface.
      
      Followings are brief descriptions about IO mode.
      A. IO mode based on ATA protocol and uses some custom command. (read confirm,
      write confirm)
      B. IO mode uses SRAM bus interface.
      C. IO mode supports 4kB boot area, so host can boot from mflash.
      
      This driver is quitely similar to a standard ATA driver, but because of
      following reasons it is currently seperated with ATA layer.
      
      1. ATA layer deals standard ATA protocol.  ATA layer have many low-
         level device specific interface, but data transfer keeps ATA rule.
         But, mflash IO mode doesn't.
      
      2. Even though currently not used in mflash driver code, mflash has
         some custom command and modes.  (nand fusing, firmware patch, etc) If
         this feature supported in linux kernel, ATA layer more altered.
      
      3. Currently PATA platform device driver doesn't support interrupt.
         (I'm not sure) But, mflash uses interrupt (polling mode is just for
         debug).
      
      4. mflash is somewhat under-develop product.  Even though some company
         already using mflash their own product, I think more time is needed for
         standardization of custom command and mode.  That time (maybe October)
         I will talk to with ATA people.  If they accept integration, I will
         integrate.
      Signed-off-by: Nunsik Kim <donari75@gmail.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      3fbed4c6
  23. 27 3月, 2009 1 次提交
  24. 07 1月, 2009 1 次提交
  25. 06 1月, 2009 1 次提交
  26. 05 1月, 2009 1 次提交
    • A
      bzip2/lzma: config and initramfs support for bzip2/lzma decompression · 30d65dbf
      Alain Knaff 提交于
      Impact: New code for initramfs decompression, new features
      
      This is the second part of the bzip2/lzma patch
      
      The bzip patch is based on an idea by Christian Ludwig, includes support for
      compressing the kernel with bzip2 or lzma rather than gzip. Both
      compressors give smaller sizes than gzip.  Lzma's decompresses faster
      than bzip2.
      
      It also supports ramdisks and initramfs' compressed using these two
      compressors.
      
      The functionality has been successfully used for a couple of years by
      the udpcast project
      
      This version applies to "tip" kernel 2.6.28
      
      This part contains:
      - support for new compressions (bzip2 and lzma) in initramfs and
      old-style ramdisk
      - config dialog for kernel compression (but new kernel compressions
      not yet supported)
      Signed-off-by: NAlain Knaff <alain@knaff.lu>
      Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
      30d65dbf
  27. 15 11月, 2008 1 次提交
  28. 17 7月, 2008 2 次提交
  29. 17 3月, 2008 1 次提交
  30. 09 2月, 2008 2 次提交
    • N
      rd: support XIP · 75acb9cd
      Nick Piggin 提交于
      Support direct_access XIP method with brd.
      Signed-off-by: NNick Piggin <npiggin@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      75acb9cd
    • N
      rewrite rd · 9db5579b
      Nick Piggin 提交于
      This is a rewrite of the ramdisk block device driver.
      
      The old one is really difficult because it effectively implements a block
      device which serves data out of its own buffer cache.  It relies on the dirty
      bit being set, to pin its backing store in cache, however there are non
      trivial paths which can clear the dirty bit (eg.  try_to_free_buffers()),
      which had recently lead to data corruption.  And in general it is completely
      wrong for a block device driver to do this.
      
      The new one is more like a regular block device driver.  It has no idea about
      vm/vfs stuff.  It's backing store is similar to the buffer cache (a simple
      radix-tree of pages), but it doesn't know anything about page cache (the pages
      in the radix tree are not pagecache pages).
      
      There is one slight downside -- direct block device access and filesystem
      metadata access goes through an extra copy and gets stored in RAM twice.
      However, this downside is only slight, because the real buffercache of the
      device is now reclaimable (because we're not playing crazy games with it), so
      under memory intensive situations, footprint should effectively be the same --
      maybe even a slight advantage to the new driver because it can also reclaim
      buffer heads.
      
      The fact that it now goes through all the regular vm/fs paths makes it
      much more useful for testing, too.
      
         text    data     bss     dec     hex filename
         2837     849     384    4070     fe6 drivers/block/rd.o
         3528     371      12    3911     f47 drivers/block/brd.o
      
      Text is larger, but data and bss are smaller, making total size smaller.
      
      A few other nice things about it:
      - Similar structure and layout to the new loop device handlinag.
      - Dynamic ramdisk creation.
      - Runtime flexible buffer head size (because it is no longer part of the
        ramdisk code).
      - Boot / load time flexible ramdisk size, which could easily be extended
        to a per-ramdisk runtime changeable size (eg. with an ioctl).
      - Can use highmem for the backing store.
      
      [akpm@linux-foundation.org: fix build]
      [byron.bbradley@gmail.com: make rd_size non-static]
      Signed-off-by: NNick Piggin <npiggin@suse.de>
      Signed-off-by: NByron Bradley <byron.bbradley@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9db5579b
  31. 04 2月, 2008 1 次提交
  32. 28 1月, 2008 1 次提交
    • A
      cdrom: Add support for Sega Dreamcast GD-ROM. · 74ee1a75
      Adrian McMenamin 提交于
      This patch adds support for the GD-Rom drive, SEGA's proprietary
      implementation of an IDE CD Rom for the SEGA Dreamcast. This driver
      implements Sega's Packet Interface (SPI) - at least partially. It will
      also read disks in SEGA's propreitary GD format.
      
      Unlike previous drivers (which were never in mainline) this uses DMA and
      not PIO to read disks. It is a new driver, not a refactoring of old
      drivers.
      
      Signed-off by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
      Acked-by: NJens Axboe <jens.axboe@oracle.com>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      74ee1a75
  33. 23 10月, 2007 1 次提交
    • 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
  34. 20 10月, 2007 2 次提交
  35. 12 10月, 2007 1 次提交
  36. 23 8月, 2007 1 次提交