summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorBoris Burkov <boris@bur.io>2023-02-23 10:01:51 -0800
committerZorro Lang <zlang@kernel.org>2023-02-25 21:54:09 +0800
commit744a8a6be38fb1c535624e1aca69d8187688f33a (patch)
treefcde91295474d2640db68a93d551051a2f9dad5a /.gitignore
parente4561119eb12a62ed52a1a537a8e9fc24b82d29c (diff)
generic: add test for direct io partial writes
btrfs recently had a bug where a direct io partial write resulted in a hole in the file. Add a new generic test which creates a 2MiB file, mmaps it, touches the first byte, then does an O_DIRECT write of the mmapped buffer into a new file. This should result in the mapped pages being a mix of in and out of page cache and thus a partial write, for filesystems using iomap and IOMAP_DIO_PARTIAL. Signed-off-by: Boris Burkov <boris@bur.io> Reviewed-by: Zorro Lang <zlang@redhat.com> Reviewed-by: David Disseldorp <ddiss@suse.de> Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Zorro Lang <zlang@kernel.org>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index cfff8f85..644290f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -72,6 +72,7 @@ tags
/src/deduperace
/src/detached_mounts_propagation
/src/devzero
+/src/dio-buf-fault
/src/dio-interleaved
/src/dio-invalidate-cache
/src/dirhash_collide