45 {
47 bool alloc_bqs2 = false;
53 uint64_t recoverable_errors = 0, unrecoverable_errors = 0;
54
55 try {
60
65
67
68 try {
69 do {
71
72 if (bqs2) {
74 bqs2 = nullptr;
75 }
76
78
80
84 } catch (...) {
85 if (bqs2)
87
88 throw;
89 }
90
91 alloc_bqs2 = true;
92 } else
93 bqs2 = bqs;
94
95
99
102
105
108
111
114
116
119 }
120
121
124
125 do {
127 recoverable_errors++;
128 else
129 unrecoverable_errors++;
130
134
138
141 else if (bse->
metadata.firstitem.obj_id == 0 && bse->
metadata.firstitem.obj_type == 0 && bse->
metadata.firstitem.offset == 0)
143 else
145
148
151 else if (bse->
metadata.firstitem.obj_id == 0 && bse->
metadata.firstitem.obj_type == 0 && bse->
metadata.firstitem.offset == 0)
153 else
156 } else {
158
161 else if (bse->
data.subvol != 0)
163 else
165
168
171 else if (bse->
data.subvol != 0)
173 bse->
data.filename_length /
sizeof(
WCHAR), bse->
data.filename, bse->
data.offset);
174 else
176 bse->
data.filename, bse->
data.offset);
177 }
178
181
183 break;
184 else
186 } while (true);
187 }
188
190 wstring d1, d2;
191 float speed;
192
193
194
197
200
203
206
209
212
214
217
218
219
222
224
226
228
230
233
234
235
238
240
243
244
245
248
250
253 }
254
256 } catch (...) {
257 if (alloc_bqs2)
259
260 throw;
261 }
262
263 if (alloc_bqs2)
265}
void format_size(uint64_t size, wstring &s, bool show_bytes)
#define IDS_SCRUB_MSG_RECOVERABLE_DATA
#define IDS_SCRUB_MSG_RECOVERABLE_PARITY
#define IDS_SCRUB_MSG_SUMMARY
#define IDS_SCRUB_MSG_SUMMARY_ERRORS_RECOVERABLE
#define IDS_SCRUB_MSG_RECOVERABLE_METADATA
#define IDS_SCRUB_MSG_UNRECOVERABLE_METADATA
#define IDS_SCRUB_MSG_UNRECOVERABLE_METADATA_FIRSTITEM
#define IDS_SCRUB_MSG_UNRECOVERABLE_DATA
#define IDS_SCRUB_MSG_SUMMARY_ERRORS_UNRECOVERABLE
#define IDS_SCRUB_MSG_STARTED
#define IDS_SCRUB_MSG_UNRECOVERABLE_DATA_SUBVOL
#define IDS_SCRUB_MSG_FINISHED
BOOL WINAPI FileTimeToSystemTime(IN CONST FILETIME *lpFileTime, OUT LPSYSTEMTIME lpSystemTime)
BOOL WINAPI SystemTimeToTzSpecificLocalTime(CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation, CONST SYSTEMTIME *lpUniversalTime, LPSYSTEMTIME lpLocalTime)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
#define LOCALE_USER_DEFAULT
LARGE_INTEGER finish_time
struct btrfs_scrub_error::@666::@669 metadata
struct btrfs_scrub_error::@666::@668 data
BOOL WINAPI SetWindowTextW(_In_ HWND, _In_opt_ LPCWSTR)