diff options
author | Josef Bacik <josef@toxicpanda.com> | 2019-11-14 13:14:15 -0500 |
---|---|---|
committer | Eryu Guan <guaneryu@gmail.com> | 2019-12-30 00:07:25 +0800 |
commit | fb769938dcc5e5b118f3465907735087409720f3 (patch) | |
tree | c16638994236d229e79cbab1ccd1915924fdc160 /include | |
parent | ea726c4a55c98d1c37cea63fbe30f5ecee64c7dc (diff) |
fsstress: add the ability to create/delete subvolumes
This patch adds support to fsstress for creating and deleting subvolumes
on a btrfs file system. We link in the libbtrfsutil library to handle
the mechanics of creating and deleting subvolumes instead of duplicating
the ioctl logic. There is code to check if we're on a btrfs fs at
startup time and if so 0 out the frequency of the btrfs specific
operations.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/builddefs.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/builddefs.in b/include/builddefs.in index 2605e42d..e7894b1a 100644 --- a/include/builddefs.in +++ b/include/builddefs.in @@ -68,6 +68,7 @@ HAVE_ATTR_LIST = @have_attr_list@ HAVE_FIEMAP = @have_fiemap@ HAVE_FALLOCATE = @have_fallocate@ HAVE_COPY_FILE_RANGE = @have_copy_file_range@ +HAVE_LIBBTRFSUTIL = @have_libbtrfsutil@ GCCFLAGS = -funsigned-char -fno-strict-aliasing -Wall |