generic: test mmap write vs. hole punching

On file systems with a block size smaller than the page size, hole
punching can leave the pages at the beginning and the end of the
hole partially mapped to disk blocks.  Make sure writes to those
pages are handled correctly.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Andreas Gruenbacher
2019-09-06 18:53:04 +02:00
committed by Eryu Guan
parent 0837e90798
commit 332232b37f
3 changed files with 82 additions and 0 deletions
+1
View File
@@ -569,3 +569,4 @@
564 auto quick copy_range
565 auto quick copy_range
566 auto quick quota metadata
567 auto quick rw punch