1. 09 11月, 2009 1 次提交
  2. 20 10月, 2009 2 次提交
  3. 12 10月, 2009 1 次提交
  4. 02 10月, 2009 1 次提交
    • C
      block: use normal I/O path for discard requests · c15227de
      Christoph Hellwig 提交于
      prepare_discard_fn() was being called in a place where memory allocation
      was effectively impossible.  This makes it inappropriate for all but
      the most trivial translations of Linux's DISCARD operation to the block
      command set.  Additionally adding a payload there makes the ownership
      of the bio backing unclear as it's now allocated by the device driver
      and not the submitter as usual.
      
      It is replaced with QUEUE_FLAG_DISCARD which is used to indicate whether
      the queue supports discard operations or not.  blkdev_issue_discard now
      allocates a one-page, sector-length payload which is the right thing
      for the common ATA and SCSI implementations.
      
      The mtd implementation of prepare_discard_fn() is replaced with simply
      checking for the request being a discard.
      
      Largely based on a previous patch from Matthew Wilcox <matthew@wil.cx>
      which did the prepare_discard_fn but not the different payload allocation
      yet.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      c15227de
  5. 25 9月, 2009 2 次提交
  6. 24 9月, 2009 1 次提交
    • J
      mtd: nand: fix htmldocs warnings · 58475fb9
      Jaswinder Singh Rajput 提交于
      Fixed following htmldocs warnings:
      
        DOCPROC Documentation/DocBook/mtdnand.xml
        Warning(drivers/mtd/nand/nand_base.c:769): No description found for parameter 'page'
        Warning(drivers/mtd/nand/nand_base.c:785): No description found for parameter 'page'
        Warning(drivers/mtd/nand/nand_base.c:824): No description found for parameter 'page'
        Warning(drivers/mtd/nand/nand_base.c:947): No description found for parameter 'page'
        Warning(drivers/mtd/nand/nand_base.c:996): No description found for parameter 'page'
        Warning(drivers/mtd/nand/nand_base.c:1040): No description found for parameter 'page'
      Signed-off-by: NJaswinder Singh Rajput <jaswinderrajput@gmail.com>
      Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
      58475fb9
  7. 23 9月, 2009 2 次提交
  8. 22 9月, 2009 1 次提交
  9. 21 9月, 2009 3 次提交
  10. 20 9月, 2009 26 次提交