diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2019-01-29 12:46:25 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-03-05 18:55:17 +0100 |
commit | 6484cbe987e0e44b8ebf224fc9faf7f73ace10d2 (patch) | |
tree | 9fe6187380123ff29c4a93a73435f5f4dd012e8b /scripts/gdb/linux/utils.py | |
parent | fd7e3f0d8f25e4e3fed9fa3a743af92ebcbaf4e9 (diff) |
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions