aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMartin K. Petersen <[email protected]>2011-05-18 10:37:35 +0200
committerJens Axboe <[email protected]>2011-05-18 10:37:35 +0200
commita934a00a69e940b126b9bdbf83e630ef5fe43523 (patch)
treeb3f82d7b0a6c34c4d449debd2d1d242bdbf84b56 /tools/perf/scripts/python/net_dropmonitor.py
parentbbdd304cf66fbf2b4b2d28418dc619d443635e83 (diff)
block: Fix discard topology stacking and reporting
In some cases we would end up stacking discard_zeroes_data incorrectly. Fix this by enabling the feature by default for stacking drivers and clearing it for low-level drivers. Incorporating a device that does not support dzd will then cause the feature to be disabled in the stacking driver. Also ensure that the maximum discard value does not overflow when exported in sysfs and return 0 in the alignment and dzd fields for devices that don't support discard. Reported-by: Lukas Czerner <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]> Acked-by: Mike Snitzer <[email protected]> Cc: [email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions