block: add secure discard
authorAdrian Hunter <adrian.hunter@nokia.com>
Wed, 11 Aug 2010 21:17:49 +0000 (14:17 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Aug 2010 15:43:30 +0000 (08:43 -0700)
commit8d57a98ccd0b4489003473979da8f5a1363ba7a3
tree2982997ce66bb6a92c020b7189966c3097095fd7
parent93caf8e69eac763f6a20cf253ace8e7fc1ab7953
block: add secure discard

Secure discard is the same as discard except that all copies of the
discarded sectors (perhaps created by garbage collection) must also be
erased.

Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Acked-by: Jens 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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
block/blk-core.c
block/blk-lib.c
block/compat_ioctl.c
block/elevator.c
block/ioctl.c
include/linux/blk_types.h
include/linux/blkdev.h
include/linux/fs.h
kernel/trace/blktrace.c