diff options
| author | Mikulas Patocka <mpatocka@redhat.com> | 2023-04-04 11:22:10 -0400 |
|---|---|---|
| committer | Mike Snitzer <snitzer@kernel.org> | 2023-04-04 13:30:17 -0400 |
| commit | b6bcb84446810df0c9364ee6e23e07866316beaf (patch) | |
| tree | 8f0efcea0b73cfc3686d9ed06463ca3c71c3d3d0 /tools/perf/scripts/python/stackcollapse.py | |
| parent | dm zero: add discard support (diff) | |
| download | linux-b6bcb84446810df0c9364ee6e23e07866316beaf.tar.gz linux-b6bcb84446810df0c9364ee6e23e07866316beaf.zip | |
dm error: add discard support
Add io_err_io_hints() and set discard limits so that the zero target
advertises support for discards.
The error target will return -EIO for discards.
This is useful when the user combines dm-error with other
discard-supporting targets in the same table; without dm-error
support, discards would be disabled for the whole combined device.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Tested-by: Milan Broz <gmazyland@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
