diff options
author | 2019-01-29 12:46:25 +0100 | |
---|---|---|
committer | 2019-03-05 18:55:17 +0100 | |
commit | 6484cbe987e0e44b8ebf224fc9faf7f73ace10d2 (patch) | |
tree | 9fe6187380123ff29c4a93a73435f5f4dd012e8b /tools/perf/scripts/python/syscall-counts.py | |
parent | rbd: get rid of obj_req->obj_request_count (diff) | |
download | wireguard-linux-6484cbe987e0e44b8ebf224fc9faf7f73ace10d2.tar.xz wireguard-linux-6484cbe987e0e44b8ebf224fc9faf7f73ace10d2.zip |
rbd: handle DISCARD and WRITE_ZEROES separately
With discard_zeroes_data gone in commit 48920ff2a5a9 ("block: remove
the discard_zeroes_data flag"), continuing to provide this guarantee is
pointless: applications can't query it and discards can only be used
for deallocating.
Add OBJ_OP_ZEROOUT and move the existing logic under it. As the first
step to divorcing OBJ_OP_DISCARD, stop worrying about copyups but keep
special casing whole-object layered discards.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions