diff options
| author | Dmitry Monakhov <[email protected]> | 2017-10-24 18:44:57 -0600 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2017-10-24 18:44:57 -0600 |
| commit | 351499a172c0c5fc52d65ee2c62b344f369ea02a (patch) | |
| tree | f4ae426a9204fe49711a0d79f57d825fc7063706 /tools/perf/scripts/python | |
| parent | 75bc5f06617fe1bc9a79ba9e3baccdcae3743404 (diff) | |
block: Invalidate cache on discard v2
It is reasonable drop page cache on discard, otherwise that pages may
be written by writeback second later, so thin provision devices will
not be happy. This seems to be a security leak in case of secure discard case.
Also add check for queue_discard flag on early stage.
Signed-off-by: Dmitry Monakhov <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions