18 #ifndef SIMBLOCKASYNCFILESYSTEM_H
19 #define SIMBLOCKASYNCFILESYSTEM_H
22 #include <SimulatedBlock.hpp>
24 #include "AsyncFile.hpp"
25 #include "OpenFiles.hpp"
26 #include <signaldata/FsOpenReq.hpp>
41 virtual const char* get_filename(Uint32 fd)
const;
48 void execDUMP_STATE_ORD(
Signal* signal);
49 void execFSOPENREQ(
Signal* signal);
50 void execFSCLOSEREQ(
Signal* signal);
51 void execFSWRITEREQ(
Signal* signal);
52 void execFSREADREQ(
Signal* signal);
53 void execFSSYNCREQ(
Signal* signal);
54 void execFSAPPENDREQ(
Signal* signal);
55 void execFSREMOVEREQ(
Signal* signal);
56 void execSTTOR(
Signal* signal);
57 void execCONTINUEB(
Signal* signal);
58 void execALLOC_MEM_REQ(
Signal* signal);
59 void execSEND_PACKED(
Signal*);
60 void execBUILD_INDX_IMPL_REQ(
Signal* signal);
61 void execFSSUSPENDORD(
Signal*);
69 bool scanIPC(
Signal* signal);
70 bool scanningInProgress;
75 void operator = (
Ndbfs &);
100 Uint32 m_maxOpenedFiles;
105 void readWriteRequest(
int action,
Signal * signal );
107 static Uint32 translateErrno(
int aErrno);
109 Uint32 m_bound_threads_cnt;
110 Uint32 m_unbounds_threads_cnt;
111 Uint32 m_active_bound_threads_cnt;
112 void cnt_active_bound(
int val);
114 const BaseString& get_base_path(Uint32 no)
const;
127 void execREAD_CONFIG_REQ(
Signal* signal);
128 void execDUMP_STATE_ORD(
Signal* signal);
129 void execFSOPENREQ(
Signal* signal);
130 void execFSCLOSEREQ(
Signal* signal);
131 void execFSWRITEREQ(
Signal* signal);
132 void execFSREADREQ(
Signal* signal);
133 void execFSSYNCREQ(
Signal* signal);
134 void execFSAPPENDREQ(
Signal* signal);
135 void execFSREMOVEREQ(
Signal* signal);
136 void execSTTOR(
Signal* signal);
137 void execALLOC_MEM_REQ(
Signal*);
138 void execSEND_PACKED(
Signal*);
139 void execFSSUSPENDORD(
Signal*);
144 void operator = (
VoidFs &);