kernel-ark/block
David Woodhouse d30a2605be Add BLKDISCARD ioctl to allow userspace to discard sectors
We may well want mkfs tools to use this to mark the whole device as
unwanted before they format it, for example.

The ioctl takes a pair of uint64_ts, which are start offset and length
in _bytes_. Although at the moment it might make sense for them both to
be in 512-byte sectors, I don't want to limit the ABI to that.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-10-09 08:56:02 +02:00
..
as-iosched.c Use WARN() in block/ 2008-07-26 12:00:07 -07:00
blk-barrier.c Use WRITE_BARRIER in blkdev_issue_flush(), not (1<<BIO_RW_BARRIER) 2008-10-09 08:56:02 +02:00
blk-core.c Add 'discard' request handling 2008-10-09 08:56:01 +02:00
blk-exec.c block: unexport blk_end_sync_rq 2008-07-15 21:21:45 +02:00
blk-integrity.c block: integrity flags can't use bit ops on unsigned short 2008-07-03 13:21:15 +02:00
blk-ioc.c
blk-map.c block/blk-map.c: use the new object_is_on_stack() helper 2008-07-26 12:00:02 -07:00
blk-merge.c block: Block layer data integrity support 2008-07-03 13:21:13 +02:00
blk-settings.c Add 'discard' request handling 2008-10-09 08:56:01 +02:00
blk-sysfs.c
blk-tag.c block: remove unused ->busy part of the block queue tag map 2008-08-27 09:50:19 +02:00
blk.h block: Block layer data integrity support 2008-07-03 13:21:13 +02:00
blktrace.c blktrace: simplify flags handling in __blk_add_trace 2008-10-09 08:56:01 +02:00
bsg.c block: move cmdfilter from gendisk to request_queue 2008-08-27 09:50:19 +02:00
cfq-iosched.c cfq-iosched: get rid of enable_idle being unused warning 2008-07-03 13:21:14 +02:00
cmd-filter.c block: disable sysfs parts of the disk command filter 2008-09-11 14:20:23 +02:00
compat_ioctl.c Add BLKDISCARD ioctl to allow userspace to discard sectors 2008-10-09 08:56:02 +02:00
deadline-iosched.c
elevator.c block: request_module(): use format string 2008-07-03 13:21:15 +02:00
genhd.c block: restore original behavior of /proc/partition when there's no partition 2008-09-01 08:55:10 +02:00
ioctl.c Add BLKDISCARD ioctl to allow userspace to discard sectors 2008-10-09 08:56:02 +02:00
Kconfig block: Block layer data integrity support 2008-07-03 13:21:13 +02:00
Kconfig.iosched
Makefile allow userspace to modify scsi command filter on per device basis 2008-07-03 13:21:14 +02:00
noop-iosched.c
scsi_ioctl.c SG_IO block filter whitelist missing MMC SET READ AHEAD command 2008-10-09 08:56:00 +02:00