diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-11-13 09:08:39 -0800 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2023-11-16 15:37:54 +0800 |
commit | 848c6a882a6faab9d2545a26ad5070a62f7a7bd1 (patch) | |
tree | 83a3b52336e8ef97ec16ad32563a1951d6fadc3e /src/Makefile | |
parent | 59372e8d3f961eb20d911e715777af06de921891 (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 'src/Makefile')
-rw-r--r-- | src/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile index 2815f919..49dd2f6c 100644 --- a/src/Makefile +++ b/src/Makefile @@ -94,6 +94,10 @@ ifeq ($(HAVE_SEEK_DATA), yes) endif endif +ifeq ($(HAVE_FICLONE),yes) + TARGETS += t_reflink_read_race +endif + CFILES = $(TARGETS:=.c) LDIRT = $(TARGETS) fssum |