summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2023-11-13 09:08:39 -0800
committerZorro Lang <zlang@kernel.org>2023-11-16 15:37:54 +0800
commit848c6a882a6faab9d2545a26ad5070a62f7a7bd1 (patch)
tree83a3b52336e8ef97ec16ad32563a1951d6fadc3e /include
parent59372e8d3f961eb20d911e715777af06de921891 (diff)
generic: test reads racing with slow reflink operations
XFS has a rather slow reflink operation. While a reflink operation is running, other programs cannot read the contents of the source file, which is causing latency spikes. Catherine Hoang wrote a patch to permit reads, since the source file contents do not change. This is a functionality test for that patch. [zlang@ adds `_supported_fs generic`] Signed-off-by: "Darrick J. Wong" <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Catherine Hoang <catherine.hoang@oracle.com> Reviewed-by: Zorro Lang <zlang@redhat.com> Signed-off-by: Zorro Lang <zlang@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/builddefs.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/builddefs.in b/include/builddefs.in
index 969acf0d..446350d5 100644
--- a/include/builddefs.in
+++ b/include/builddefs.in
@@ -73,6 +73,7 @@ HAVE_NFTW = @have_nftw@
HAVE_BMV_OF_SHARED = @have_bmv_of_shared@
HAVE_RLIMIT_NOFILE = @have_rlimit_nofile@
HAVE_FIEXCHANGE = @have_fiexchange@
+HAVE_FICLONE = @have_ficlone@
GCCFLAGS = -funsigned-char -fno-strict-aliasing -Wall