summaryrefslogtreecommitdiff
path: root/libdm/.exported_symbols.DM_1_02_131
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2016-06-30 21:46:43 +0100
committerBryn M. Reeves <bmr@redhat.com>2016-07-08 14:34:41 +0100
commite1048259165b09a35c45170cefbbccb4d43a9834 (patch)
treea129e5de6d0e04ad486d244e9cf6260d84edb4e6 /libdm/.exported_symbols.DM_1_02_131
parent12ecd95965321af194c3d446c0b5205d90994522 (diff)
downloadlvm2-e1048259165b09a35c45170cefbbccb4d43a9834.tar.gz
libdm: add dm_stats_create_regions_from_fd()
Add a call to create dmstats regions that correspond to the extents present in a file descriptor open on a file in a local file system. The file must reside on a file system type that correctly supports physical extent location data in the FIEMAP ioctl. Regions are optionally placed into a group with a user-defined alias. File systems that do not support physical offsets in FIEMAP (btrfs currently) are detected via fstatfs() - although attempting to map a --filemap group on btrfs will fail anyway with the generic error "Not on a device-mapper device" this is confusing; the file system mount is on a device-mapper device, but btrfs' volume layer masks this in the returned st_dev field since the returned logical file extents may span multiple physical devices.
Diffstat (limited to 'libdm/.exported_symbols.DM_1_02_131')
-rw-r--r--libdm/.exported_symbols.DM_1_02_1311
1 files changed, 1 insertions, 0 deletions
diff --git a/libdm/.exported_symbols.DM_1_02_131 b/libdm/.exported_symbols.DM_1_02_131
new file mode 100644
index 000000000..f76665272
--- /dev/null
+++ b/libdm/.exported_symbols.DM_1_02_131
@@ -0,0 +1 @@
+dm_stats_create_regions_from_fd