#!/usr/bin/env bash # This documents the state of things as of 4.12-rc4. # # - fallocate -z deallocates because BLKDEV_ZERO_NOUNMAP hint is ignored by # krbd # # - unaligned fallocate -z/-p appear to not deallocate -- see caveat #2 in # linux.git commit 6ac56951dc10 ("rbd: implement REQ_OP_WRITE_ZEROES") set -ex # no blkdiscard(8) in trusty function py_blkdiscard() { local offset=$1 python <