aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMike Snitzer <[email protected]>2012-09-26 23:45:39 +0100
committerAlasdair G Kergon <[email protected]>2012-09-26 23:45:39 +0100
commit307615a26e95406c42c95916a66ba50434567e0f (patch)
tree3fcb794cbd50958839c955ec492b3fb25fd801b6 /tools/perf/util/trace-event-scripting.c
parent979570e02981d4a8fc20b3cc8fd651856c98ee9d (diff)
dm thin: do not set discard_zeroes_data
The dm thin pool target claims to support the zeroing of discarded data areas. This turns out to be incorrect when processing discards that do not exactly cover a complete number of blocks, so the target must always set discard_zeroes_data_unsupported. The thin pool target will zero blocks when they are allocated if the skip_block_zeroing feature is not specified. The block layer may send a discard that only partly covers a block. If a thin pool block is partially discarded then there is no guarantee that the discarded data will get zeroed before it is accessed again. Due to this, thin devices cannot claim discards will always zero data. Signed-off-by: Mike Snitzer <[email protected]> Signed-off-by: Joe Thornber <[email protected]> Cc: [email protected] # 3.4+ Signed-off-by: Alasdair G Kergon <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions