1. 12 8月, 2010 1 次提交
    • A
      mmc: add erase, secure erase, trim and secure trim operations · dfe86cba
      Adrian Hunter 提交于
      SD/MMC cards tend to support an erase operation.  In addition, eMMC v4.4
      cards can support secure erase, trim and secure trim operations that are
      all variants of the basic erase command.
      
      SD/MMC device attributes "erase_size" and "preferred_erase_size" have been
      added.
      
      "erase_size" is the minimum size, in bytes, of an erase operation.  For
      MMC, "erase_size" is the erase group size reported by the card.  Note that
      "erase_size" does not apply to trim or secure trim operations where the
      minimum size is always one 512 byte sector.  For SD, "erase_size" is 512
      if the card is block-addressed, 0 otherwise.
      
      SD/MMC cards can erase an arbitrarily large area up to and
      including the whole card.  When erasing a large area it may
      be desirable to do it in smaller chunks for three reasons:
      
          1. A single erase command will make all other I/O on the card
             wait.  This is not a problem if the whole card is being erased, but
             erasing one partition will make I/O for another partition on the
             same card wait for the duration of the erase - which could be a
             several minutes.
      
          2. To be able to inform the user of erase progress.
      
          3. The erase timeout becomes too large to be very useful.
             Because the erase timeout contains a margin which is multiplied by
             the size of the erase area, the value can end up being several
             minutes for large areas.
      
      "erase_size" is not the most efficient unit to erase (especially for SD
      where it is just one sector), hence "preferred_erase_size" provides a good
      chunk size for erasing large areas.
      
      For MMC, "preferred_erase_size" is the high-capacity erase size if a card
      specifies one, otherwise it is based on the capacity of the card.
      
      For SD, "preferred_erase_size" is the allocation unit size specified by
      the card.
      
      "preferred_erase_size" is in bytes.
      Signed-off-by: NAdrian Hunter <adrian.hunter@nokia.com>
      Acked-by: NJens Axboe <axboe@kernel.dk>
      Cc: Kyungmin Park <kmpark@infradead.org>
      Cc: Madhusudhan Chikkature <madhu.cr@ti.com>
      Cc: Christoph Hellwig <hch@lst.de>
      Cc: Ben Gardiner <bengardiner@nanometrics.ca>
      Cc: <linux-mmc@vger.kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      dfe86cba
  2. 11 8月, 2010 1 次提交
  3. 21 7月, 2010 1 次提交
  4. 14 5月, 2010 1 次提交
  5. 23 8月, 2009 1 次提交
  6. 30 3月, 2009 1 次提交
  7. 15 11月, 2008 1 次提交
  8. 13 11月, 2008 1 次提交
  9. 28 10月, 2008 1 次提交
  10. 17 10月, 2008 1 次提交
  11. 06 8月, 2008 1 次提交
  12. 28 7月, 2008 1 次提交
  13. 26 7月, 2008 1 次提交
  14. 24 7月, 2008 1 次提交
  15. 26 4月, 2008 1 次提交
  16. 21 4月, 2008 1 次提交
  17. 17 4月, 2008 1 次提交
  18. 12 4月, 2008 2 次提交
  19. 13 3月, 2008 1 次提交
  20. 12 3月, 2008 1 次提交
  21. 08 3月, 2008 1 次提交
  22. 14 2月, 2008 1 次提交
  23. 09 2月, 2008 4 次提交
  24. 08 2月, 2008 4 次提交
  25. 03 2月, 2008 2 次提交
  26. 30 11月, 2007 1 次提交
    • P
      The namespaces compatibility list doc · 2868f89f
      Pavel Emelyanov 提交于
      People discuss how the namespaces are working/going-to-work together.
      
      Ted Ts'o proposed to create some document that describes what problems user
      may have when he/she creates some new namespace, but keeps others shared.
      I liked this idea, so here's the initial version of such a document with
      the problems I currently have in mind and can describe somewhat audibly -
      the "namespaces compatibility list".
      
      The Documentation/namespaces/ directory is about to contain more docs about
      the namespaces stuff.
      
      Thanks to Cedirc for notes and spell checks on the doc, to Daniel for
      additional info about IPC and User namespaces interaction and to Randy, who
      alluded me to using a spell checker before sending the documentation :)
      Signed-off-by: NPavel Emelyanov <xemul@openvz.org>
      Cc: Randy Dunlap <randy.dunlap@oracle.com>
      Cc: Daniel Lezcano <dlezcano@fr.ibm.com>
      Cc: Theodore Tso <tytso@mit.edu>
      Cc: Cedric Le Goater <clg@fr.ibm.com>
      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>
      2868f89f
  27. 20 11月, 2007 1 次提交
  28. 17 10月, 2007 2 次提交
  29. 10 10月, 2007 2 次提交
  30. 12 9月, 2007 1 次提交