summaryrefslogtreecommitdiff
path: root/include/my_sys.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-06-29 15:20:16 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-06-29 15:20:16 +0300
commit4b0070f642eb20472991de3a201378534f6f1bd4 (patch)
tree3d3484a9731cf7093d1d6aa8c5e8159114031962 /include/my_sys.h
parent30edd5549dd764dbc8171ee764380dba4eb94cc4 (diff)
downloadmariadb-git-4b0070f642eb20472991de3a201378534f6f1bd4.tar.gz
MDEV-26029: Implement my_test_if_thinly_provisioned() for ScaleFlux
This is based on code that was contributed by Ning Zheng and Ray Kuan from ScaleFlux.
Diffstat (limited to 'include/my_sys.h')
-rw-r--r--include/my_sys.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/my_sys.h b/include/my_sys.h
index fccff539fa9..63703c4cb16 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -183,11 +183,12 @@ extern BOOL my_obtain_privilege(LPCSTR lpPrivilege);
#endif
void my_init_atomic_write(void);
-#define my_test_if_thinly_provisioned(A) 0
#ifdef __linux__
my_bool my_test_if_atomic_write(File handle, int pagesize);
+my_bool my_test_if_thinly_provisioned(File handle);
#else
# define my_test_if_atomic_write(A, B) 0
+# define my_test_if_thinly_provisioned(A) 0
#endif /* __linux__ */
extern my_bool my_may_have_atomic_write;