summaryrefslogtreecommitdiffstats
path: root/include/linux/task_io_accounting_ops.h
diff options
context:
space:
mode:
authorMike Dunn2012-04-25 21:06:08 +0200
committerDavid Woodhouse2012-05-14 06:11:39 +0200
commitd062d4ede877fcd2ecc4c6262abad09a6f32950a (patch)
tree320869428d5aef43b803c4a8131140aabb21c8fb /include/linux/task_io_accounting_ops.h
parentmtd: expose ecc_strength through sysfs (diff)
downloadkernel-qcow2-linux-d062d4ede877fcd2ecc4c6262abad09a6f32950a.tar.gz
kernel-qcow2-linux-d062d4ede877fcd2ecc4c6262abad09a6f32950a.tar.xz
kernel-qcow2-linux-d062d4ede877fcd2ecc4c6262abad09a6f32950a.zip
mtd: bitflip_threshold added to mtd_info and sysfs
An element 'bitflip_threshold' is added to struct mtd_info, and also exposed as a read/write variable in sysfs. This will be used to determine whether or not mtd_read() returns -EUCLEAN or 0 (absent a hard error). If the driver leaves it as zero, mtd will set it to a default value of ecc_strength. This v2 adds the line that propagates bitflip_threshold from the master to the partitions - thanks Ivan¹. ¹ http://lists.infradead.org/pipermail/linux-mtd/2012-April/040900.html Signed-off-by: Mike Dunn <mikedunn@newsguy.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/task_io_accounting_ops.h')
0 files changed, 0 insertions, 0 deletions