android_kernel_samsung_univ.../Documentation/block
Jens Axboe 0034af0365 block: make /sys/block/<dev>/queue/discard_max_bytes writeable
Lots of devices support huge discard sizes these days. Depending
on how the device handles them internally, huge discards can
introduce massive latencies (hundreds of msec) on the device side.

We have a sysfs file, discard_max_bytes, that advertises the max
hardware supported discard size. Make this writeable, and split
the settings into a soft and hard limit. This can be set from
'discard_granularity' and up to the hardware limit.

Add a new sysfs file, 'discard_max_hw_bytes', that shows the hw
set limit.

Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2015-07-17 08:41:53 -06:00
..
00-INDEX
biodoc.txt Documentation: Remove mentioning of block barriers 2015-03-20 07:41:56 -06:00
biovecs.txt
capability.txt
cfq-iosched.txt
cmdline-partition.txt
data-integrity.txt
deadline-iosched.txt
ioprio.txt
null_blk.txt
queue-sysfs.txt block: make /sys/block/<dev>/queue/discard_max_bytes writeable 2015-07-17 08:41:53 -06:00
request.txt
stat.txt
switching-sched.txt
writeback_cache_control.txt