1. 09 6月, 2010 1 次提交
  2. 07 6月, 2010 1 次提交
  3. 11 5月, 2010 1 次提交
  4. 02 10月, 2009 1 次提交
  5. 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
  6. 13 6月, 2009 1 次提交
  7. 21 5月, 2009 1 次提交
  8. 28 4月, 2009 1 次提交
  9. 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
  10. 27 3月, 2009 1 次提交
  11. 07 1月, 2009 1 次提交
  12. 06 1月, 2009 1 次提交
  13. 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
  14. 15 11月, 2008 1 次提交
  15. 17 7月, 2008 2 次提交
  16. 17 3月, 2008 1 次提交
  17. 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
  18. 04 2月, 2008 1 次提交
  19. 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
  20. 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
  21. 20 10月, 2007 2 次提交
  22. 12 10月, 2007 1 次提交
  23. 23 8月, 2007 1 次提交
  24. 19 8月, 2007 1 次提交
  25. 18 7月, 2007 2 次提交
  26. 17 7月, 2007 1 次提交
  27. 16 7月, 2007 2 次提交
  28. 10 7月, 2007 2 次提交
  29. 10 5月, 2007 1 次提交
  30. 07 3月, 2007 1 次提交
  31. 12 2月, 2007 1 次提交
    • J
      [PATCH] disable init/initramfs.c · c33df4ea
      Jean-Paul Saman 提交于
      The file init/initramfs.c is always compiled and linked in the kernel
      vmlinux even when BLK_DEV_RAM and BLK_DEV_INITRD are disabled and the
      system isn't using any form of an initramfs or initrd.  In this situation
      the code is only used to unpack a (static) default initial rootfilesystem.
      The current init/initramfs.c code.  usr/initramfs_data.o compiles to a size
      of ~15 kbytes.  Disabling BLK_DEV_RAM and BLK_DEV_INTRD shrinks the kernel
      code size with ~60 Kbytes.
      
      This patch avoids compiling in the code and data for initramfs support if
      CONFIG_BLK_DEV_INITRD is not defined.  Instead of the initramfs code and
      data it uses a small routine in init/noinitramfs.c to setup an initial
      static default environment for mounting a rootfilesystem later on in the
      kernel initialisation process.  The new code is: 164 bytes of size.
      
      The patch is separated in two parts:
      1) doesn't compile initramfs code when CONFIG_BLK_DEV_INITRD is not set
      2) changing all plaforms vmlinux.lds.S files to not reserve an area of
      PAGE_SIZE when CONFIG_BLK_DEV_INITRD is not set.
      
      [deweerdt@free.fr: warning fix]
      Signed-off-by: NJean-Paul Saman <jean-paul.saman@nxp.com>
      Cc: Al Viro <viro@zeniv.linux.org.uk>
      Cc: <linux-arch@vger.kernel.org>
      Signed-off-by: NFrederik Deweerdt <frederik.deweerdt@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      c33df4ea
  32. 14 12月, 2006 1 次提交
  33. 09 12月, 2006 1 次提交
  34. 08 12月, 2006 1 次提交
    • R
      [PATCH] CISS: require same SCSI module support · 3e29fe83
      Randy Dunlap 提交于
      Building CCISS SCSI tape support in-kernel when SCSI=m causes build errors,
      so require SCSI support to be =y or same as CCISS SCSI tape support.
      
        drivers/built-in.o: In function `cciss_remove_one':
        cciss.c:(.text+0x79d4c): undefined reference to `scsi_remove_host'
        cciss.c:(.text+0x79d55): undefined reference to `scsi_host_put'
        drivers/built-in.o: In function `cciss_update_non_disk_devices':
        cciss.c:(.text+0x7bb54): undefined reference to `scsi_device_type'
        cciss.c:(.text+0x7bcc8): undefined reference to `scsi_device_type'
        cciss.c:(.text+0x7be81): undefined reference to `scsi_device_type'
        cciss.c:(.text+0x7bf81): undefined reference to `scsi_device_type'
        drivers/built-in.o: In function `cciss_proc_write':
        cciss.c:(.text+0x7c175): undefined reference to `scsi_host_alloc'
        cciss.c:(.text+0x7c1ed): undefined reference to `scsi_add_host'
        cciss.c:(.text+0x7c1f9): undefined reference to `scsi_scan_host'
        cciss.c:(.text+0x7c206): undefined reference to `scsi_host_put'
        make: *** [.tmp_vmlinux1] Error 1
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Acked-by: NMike Miller <mike.miller@hp.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3e29fe83