aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatthew Macy <[email protected]>2019-10-28 09:53:39 -0700
committerBrian Behlendorf <[email protected]>2019-10-28 09:53:39 -0700
commitd46f0deb035bd26840dc6284fc6e1bb392097c92 (patch)
tree35cb36d78d2e4b67a14c43a30c739453ea37888b /include
parent4a22ba5be0aab1480aeac4581025ce6d7ce4b4a1 (diff)
Add wrapper for Linux BLKFLSBUF ioctl
FreeBSD has no analog. Buffered block devices were removed a decade plus ago. Reviewed-by: Igor Kozhukhov <[email protected]> Reviewed-by: Jorgen Lundman <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matt Macy <[email protected]> Closes #9508
Diffstat (limited to 'include')
-rw-r--r--include/libzutil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libzutil.h b/include/libzutil.h
index 4a8df0132..e453e4feb 100644
--- a/include/libzutil.h
+++ b/include/libzutil.h
@@ -103,6 +103,7 @@ extern int zfs_strcmp_pathname(const char *, const char *, int);
extern boolean_t zfs_dev_is_dm(const char *);
extern boolean_t zfs_dev_is_whole_disk(const char *);
+extern int zfs_dev_flush(int);
extern char *zfs_get_underlying_path(const char *);
extern char *zfs_get_enclosure_sysfs_path(const char *);