summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorBrian Foster2016-03-15 01:42:44 +0100
committerDave Chinner2016-03-15 01:42:44 +0100
commit801cc4e17a34c32e1527827292fac9cec5d3393b (patch)
tree5752941e5b8a96f5a839f38ba444a4cbec0f6476 /block
parentLinux 4.5-rc2 (diff)
downloadkernel-qcow2-linux-801cc4e17a34c32e1527827292fac9cec5d3393b.tar.gz
kernel-qcow2-linux-801cc4e17a34c32e1527827292fac9cec5d3393b.tar.xz
kernel-qcow2-linux-801cc4e17a34c32e1527827292fac9cec5d3393b.zip
xfs: debug mode forced buffered write failure
Add a DEBUG mode-only sysfs knob to enable forced buffered write failure. An additional side effect of this mode is brute force killing of delayed allocation blocks in the range of the write. The latter is the prime motiviation behind this patch, as userspace test infrastructure requires a reliable mechanism to create and split delalloc extents without causing extent conversion. Certain fallocate operations (i.e., zero range) were used for this in the past, but the implementations have changed such that delalloc extents are flushed and converted to real blocks, rendering the test useless. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions