]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/dokan/ceph_dokan.h
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / dokan / ceph_dokan.h
index 7f25867f007852713fb8281bb2ea15f2418b7dac..5957d4dead11e7aae8901985b11c82267504e0d8 100644 (file)
@@ -11,7 +11,6 @@
 #pragma once
 
 #define CEPH_DOKAN_IO_DEFAULT_TIMEOUT 60 * 5 // Seconds
-#define CEPH_DOKAN_DEFAULT_THREAD_COUNT 10
 
 // Avoid conflicting COM types, exposed when using C++.
 #define _OLE2_H_
@@ -28,13 +27,15 @@ struct Config {
   bool dokan_stderr = false;
 
   int operation_timeout = CEPH_DOKAN_IO_DEFAULT_TIMEOUT;
-  int thread_count = CEPH_DOKAN_DEFAULT_THREAD_COUNT;
 
   std::wstring mountpoint = L"";
   std::string root_path = "/";
 
   std::wstring win_vol_name = L"";
   unsigned long win_vol_serial = 0;
+  unsigned long max_path_len = 256;
+  mode_t file_mode = 0755;
+  mode_t dir_mode = 0755;
 };
 
 extern Config *g_cfg;