blob: a1bf71879deac586afcf6738fc3df81419c6584a [file] [log] [blame]
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001/*
2 * Copyright (C) 2015 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17
18/******************************************************************
19 * THIS CODE WAS GENERATED BY benchgen.py, DO NOT MODIFY DIRECTLY *
20 ******************************************************************/
21
22
Elliott Hughes7e128fb2015-12-04 15:50:53 -080023#include <android-base/logging.h>
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -070024
25#include <stdlib.h>
26#include <sys/types.h>
27#include <sys/stat.h>
28#include <sys/sendfile.h>
29#include <fcntl.h>
30
31#include <algorithm>
Jeff Sharkeycbcb2922017-11-06 13:53:59 -070032#include <functional>
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -070033#include <string>
34
Jeff Sharkeyd46687e2015-07-29 09:14:21 -070035#include <Utils.h>
36
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -070037namespace android {
38namespace vold {
39
Jeff Sharkeycbcb2922017-11-06 13:53:59 -070040static status_t BenchmarkRun(std::function<bool(int)> checkpoint) {
41
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -070042
43char* buf = (char*) malloc(1048576);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -070044int t3433f17 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -070045TEMP_FAILURE_RETRY(lseek(t3433f17, 0, SEEK_END));
46TEMP_FAILURE_RETRY(lseek(t3433f17, 38891199, SEEK_SET));
47TEMP_FAILURE_RETRY(read(t3433f17, buf, 65557));
48TEMP_FAILURE_RETRY(pread(t3433f17, buf, 769726, 38187008)); // mmap2
49TEMP_FAILURE_RETRY(pread(t3433f17, buf, 30, 278721));
50TEMP_FAILURE_RETRY(pread(t3433f17, buf, 19, 278751));
51TEMP_FAILURE_RETRY(pread(t3433f17, buf, 25119, 278528)); // mmap2
52TEMP_FAILURE_RETRY(pread(t3433f17, buf, 30, 37276895));
53TEMP_FAILURE_RETRY(pread(t3433f17, buf, 14, 37276925));
54TEMP_FAILURE_RETRY(pread(t3433f17, buf, 914520, 37273600)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -070055int t3433f18 = TEMP_FAILURE_RETRY(open("file1", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -070056TEMP_FAILURE_RETRY(pread(t3433f18, buf, 4096, 0)); // mmap2
57TEMP_FAILURE_RETRY(pread(t3433f18, buf, 4096, 0)); // mmap2
58TEMP_FAILURE_RETRY(pread(t3433f18, buf, 4096, 0)); // mmap2
59TEMP_FAILURE_RETRY(pread(t3433f18, buf, 466944, 0)); // mmap2
60TEMP_FAILURE_RETRY(pread(t3433f18, buf, 4096, 466944)); // mmap2
61TEMP_FAILURE_RETRY(pread(t3433f18, buf, 471040, 0)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -070062close(t3433f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -070063t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
64TEMP_FAILURE_RETRY(read(t3433f18, buf, 4));
65TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_SET));
66TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_END));
67TEMP_FAILURE_RETRY(lseek(t3433f18, 38891199, SEEK_SET));
68TEMP_FAILURE_RETRY(read(t3433f18, buf, 65557));
69TEMP_FAILURE_RETRY(pread(t3433f18, buf, 769726, 38187008)); // mmap2
70TEMP_FAILURE_RETRY(pread(t3433f18, buf, 30, 5965501));
71TEMP_FAILURE_RETRY(pread(t3433f18, buf, 11, 5965531));
Elliott Hughes4e378be2015-05-28 22:02:14 -070072close(t3433f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -070073t3433f18 = TEMP_FAILURE_RETRY(open("file2", O_RDONLY|O_LARGEFILE));
74TEMP_FAILURE_RETRY(pread(t3433f18, buf, 4096, 0)); // mmap2
75TEMP_FAILURE_RETRY(pread(t3433f18, buf, 4096, 0)); // mmap2
76TEMP_FAILURE_RETRY(pread(t3433f18, buf, 4096, 0)); // mmap2
77TEMP_FAILURE_RETRY(pread(t3433f18, buf, 1048576, 0)); // mmap2
78TEMP_FAILURE_RETRY(pread(t3433f18, buf, 4096, 57012224)); // mmap2
79TEMP_FAILURE_RETRY(pread(t3433f18, buf, 1048576, 0)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -070080close(t3433f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -070081t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
82TEMP_FAILURE_RETRY(read(t3433f18, buf, 4));
83TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_SET));
84TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_END));
85TEMP_FAILURE_RETRY(lseek(t3433f18, 38891199, SEEK_SET));
86TEMP_FAILURE_RETRY(read(t3433f18, buf, 65557));
87TEMP_FAILURE_RETRY(pread(t3433f18, buf, 769726, 38187008)); // mmap2
88TEMP_FAILURE_RETRY(pread(t3433f18, buf, 30, 6473855));
89TEMP_FAILURE_RETRY(pread(t3433f18, buf, 12, 6473885));
Elliott Hughes4e378be2015-05-28 22:02:14 -070090close(t3433f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -070091t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
92TEMP_FAILURE_RETRY(read(t3433f18, buf, 4));
93TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_SET));
94TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_END));
95TEMP_FAILURE_RETRY(lseek(t3433f18, 38891199, SEEK_SET));
96TEMP_FAILURE_RETRY(read(t3433f18, buf, 65557));
97TEMP_FAILURE_RETRY(pread(t3433f18, buf, 769726, 38187008)); // mmap2
98TEMP_FAILURE_RETRY(pread(t3433f18, buf, 30, 8916226));
99TEMP_FAILURE_RETRY(pread(t3433f18, buf, 12, 8916256));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700100close(t3433f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700101t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
102TEMP_FAILURE_RETRY(read(t3433f18, buf, 4));
103TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_SET));
104TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_END));
105TEMP_FAILURE_RETRY(lseek(t3433f18, 38891199, SEEK_SET));
106TEMP_FAILURE_RETRY(read(t3433f18, buf, 65557));
107TEMP_FAILURE_RETRY(pread(t3433f18, buf, 769726, 38187008)); // mmap2
108TEMP_FAILURE_RETRY(pread(t3433f18, buf, 30, 11368292));
109TEMP_FAILURE_RETRY(pread(t3433f18, buf, 12, 11368322));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700110close(t3433f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700111t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
112TEMP_FAILURE_RETRY(read(t3433f18, buf, 4));
113TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_SET));
114TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_END));
115TEMP_FAILURE_RETRY(lseek(t3433f18, 38891199, SEEK_SET));
116TEMP_FAILURE_RETRY(read(t3433f18, buf, 65557));
117TEMP_FAILURE_RETRY(pread(t3433f18, buf, 769726, 38187008)); // mmap2
118TEMP_FAILURE_RETRY(pread(t3433f18, buf, 30, 13996125));
119TEMP_FAILURE_RETRY(pread(t3433f18, buf, 12, 13996155));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700120close(t3433f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700121t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
122TEMP_FAILURE_RETRY(read(t3433f18, buf, 4));
123TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_SET));
124TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_END));
125TEMP_FAILURE_RETRY(lseek(t3433f18, 38891199, SEEK_SET));
126TEMP_FAILURE_RETRY(read(t3433f18, buf, 65557));
127TEMP_FAILURE_RETRY(pread(t3433f18, buf, 769726, 38187008)); // mmap2
128TEMP_FAILURE_RETRY(pread(t3433f18, buf, 30, 16595549));
129TEMP_FAILURE_RETRY(pread(t3433f18, buf, 12, 16595579));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700130close(t3433f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700131t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
132TEMP_FAILURE_RETRY(read(t3433f18, buf, 4));
133TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_SET));
134TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_END));
135TEMP_FAILURE_RETRY(lseek(t3433f18, 38891199, SEEK_SET));
136TEMP_FAILURE_RETRY(read(t3433f18, buf, 65557));
137TEMP_FAILURE_RETRY(pread(t3433f18, buf, 769726, 38187008)); // mmap2
138TEMP_FAILURE_RETRY(pread(t3433f18, buf, 30, 19217798));
139TEMP_FAILURE_RETRY(pread(t3433f18, buf, 12, 19217828));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700140close(t3433f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700141t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
142TEMP_FAILURE_RETRY(read(t3433f18, buf, 4));
143TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_SET));
144TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_END));
145TEMP_FAILURE_RETRY(lseek(t3433f18, 38891199, SEEK_SET));
146TEMP_FAILURE_RETRY(read(t3433f18, buf, 65557));
147TEMP_FAILURE_RETRY(pread(t3433f18, buf, 769726, 38187008)); // mmap2
148TEMP_FAILURE_RETRY(pread(t3433f18, buf, 30, 22047170));
149TEMP_FAILURE_RETRY(pread(t3433f18, buf, 12, 22047200));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700150close(t3433f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700151t3433f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
152TEMP_FAILURE_RETRY(read(t3433f18, buf, 4));
153TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_SET));
154TEMP_FAILURE_RETRY(lseek(t3433f18, 0, SEEK_END));
155TEMP_FAILURE_RETRY(lseek(t3433f18, 38891199, SEEK_SET));
156TEMP_FAILURE_RETRY(read(t3433f18, buf, 65557));
157TEMP_FAILURE_RETRY(pread(t3433f18, buf, 769726, 38187008)); // mmap2
158TEMP_FAILURE_RETRY(pread(t3433f18, buf, 30, 24961213));
159TEMP_FAILURE_RETRY(pread(t3433f18, buf, 12, 24961243));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700160close(t3433f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700161t3433f18 = TEMP_FAILURE_RETRY(open("file3", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700162close(t3433f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700163t3433f18 = TEMP_FAILURE_RETRY(open("file4", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700164close(t3433f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700165t3433f18 = TEMP_FAILURE_RETRY(open("file5", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
166TEMP_FAILURE_RETRY(pread(t3433f18, buf, 52, 0));
167TEMP_FAILURE_RETRY(pread(t3433f18, buf, 4096, 0)); // mmap2
168TEMP_FAILURE_RETRY(pread(t3433f18, buf, 38736, 0)); // mmap2
169TEMP_FAILURE_RETRY(pread(t3433f18, buf, 4304, 36864)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700170close(t3433f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700171t3433f18 = TEMP_FAILURE_RETRY(open("file6", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
172TEMP_FAILURE_RETRY(pread(t3433f18, buf, 52, 0));
173TEMP_FAILURE_RETRY(pread(t3433f18, buf, 4096, 0)); // mmap2
174TEMP_FAILURE_RETRY(pread(t3433f18, buf, 2348, 0)); // mmap2
175TEMP_FAILURE_RETRY(pread(t3433f18, buf, 4636, 0)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700176close(t3433f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700177t3433f18 = TEMP_FAILURE_RETRY(open("file7", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
178TEMP_FAILURE_RETRY(pread(t3433f18, buf, 52, 0));
179TEMP_FAILURE_RETRY(pread(t3433f18, buf, 4096, 0)); // mmap2
180TEMP_FAILURE_RETRY(pread(t3433f18, buf, 778948, 0)); // mmap2
181TEMP_FAILURE_RETRY(pread(t3433f18, buf, 16736, 778240)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700182close(t3433f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700183t3433f18 = TEMP_FAILURE_RETRY(open("file8", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
184TEMP_FAILURE_RETRY(pread(t3433f18, buf, 52, 0));
185TEMP_FAILURE_RETRY(pread(t3433f18, buf, 4096, 0)); // mmap2
186TEMP_FAILURE_RETRY(pread(t3433f18, buf, 18099, 0)); // mmap2
187TEMP_FAILURE_RETRY(pread(t3433f18, buf, 4264, 16384)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700188close(t3433f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700189t3433f18 = TEMP_FAILURE_RETRY(open("file9", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
190TEMP_FAILURE_RETRY(pread(t3433f18, buf, 52, 0));
191TEMP_FAILURE_RETRY(pread(t3433f18, buf, 4096, 0)); // mmap2
192TEMP_FAILURE_RETRY(pread(t3433f18, buf, 22960, 0)); // mmap2
193TEMP_FAILURE_RETRY(pread(t3433f18, buf, 4108, 20480)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700194close(t3433f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700195t3433f18 = TEMP_FAILURE_RETRY(open("file10", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
196TEMP_FAILURE_RETRY(pread(t3433f18, buf, 52, 0));
197TEMP_FAILURE_RETRY(pread(t3433f18, buf, 4096, 0)); // mmap2
198TEMP_FAILURE_RETRY(pread(t3433f18, buf, 13748, 0)); // mmap2
199TEMP_FAILURE_RETRY(pread(t3433f18, buf, 4196, 12288)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700200close(t3433f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700201TEMP_FAILURE_RETRY(pread(t3433f17, buf, 30, 278721));
202TEMP_FAILURE_RETRY(pread(t3433f17, buf, 19, 278751));
203TEMP_FAILURE_RETRY(pread(t3433f17, buf, 25119, 278528)); // mmap2
204TEMP_FAILURE_RETRY(pread(t3433f17, buf, 30, 35727447));
205TEMP_FAILURE_RETRY(pread(t3433f17, buf, 33, 35727477));
206TEMP_FAILURE_RETRY(pread(t3433f17, buf, 2805, 35725312)); // mmap2
207TEMP_FAILURE_RETRY(pread(t3433f17, buf, 30, 29869066));
208TEMP_FAILURE_RETRY(pread(t3433f17, buf, 33, 29869096));
209TEMP_FAILURE_RETRY(pread(t3433f17, buf, 1891, 29868032)); // mmap2
210TEMP_FAILURE_RETRY(pread(t3433f17, buf, 30, 34413225));
211TEMP_FAILURE_RETRY(pread(t3433f17, buf, 49, 34413255));
212TEMP_FAILURE_RETRY(pread(t3433f17, buf, 3143, 34410496)); // mmap2
213TEMP_FAILURE_RETRY(pread(t3433f17, buf, 30, 32521955));
214TEMP_FAILURE_RETRY(pread(t3433f17, buf, 45, 32521985));
215TEMP_FAILURE_RETRY(pread(t3433f17, buf, 6350, 32518144)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700216int t3450f18 = TEMP_FAILURE_RETRY(open("file11", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
217int t3450f22 = TEMP_FAILURE_RETRY(open("file12", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700218TEMP_FAILURE_RETRY(read(t3450f22, buf, 1));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700219close(t3450f22);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700220t3450f22 = TEMP_FAILURE_RETRY(open("file13", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700221close(t3450f22);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700222t3450f22 = TEMP_FAILURE_RETRY(open("file14", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700223close(t3450f22);
George Burgess IV170d8da2016-02-24 15:55:55 -0800224t3450f22 = TEMP_FAILURE_RETRY(open("file15", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -0600225TEMP_FAILURE_RETRY(write(t3450f22, buf, 1));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700226TEMP_FAILURE_RETRY(fsync(t3450f22));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700227close(t3450f22);
228close(t3450f18);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700229int t3454f26 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700230TEMP_FAILURE_RETRY(lseek(t3454f26, 0, SEEK_END));
231TEMP_FAILURE_RETRY(lseek(t3454f26, 38891199, SEEK_SET));
232TEMP_FAILURE_RETRY(read(t3454f26, buf, 65557));
233TEMP_FAILURE_RETRY(pread(t3454f26, buf, 769726, 38187008)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700234close(t3454f26);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700235t3454f26 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
236TEMP_FAILURE_RETRY(lseek(t3454f26, 0, SEEK_END));
237TEMP_FAILURE_RETRY(lseek(t3454f26, 38891199, SEEK_SET));
238TEMP_FAILURE_RETRY(read(t3454f26, buf, 65557));
239TEMP_FAILURE_RETRY(pread(t3454f26, buf, 769726, 38187008)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700240close(t3454f26);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700241int t3455f17 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700242TEMP_FAILURE_RETRY(lseek(t3455f17, 0, SEEK_END));
243TEMP_FAILURE_RETRY(lseek(t3455f17, 38891199, SEEK_SET));
244TEMP_FAILURE_RETRY(read(t3455f17, buf, 65557));
245TEMP_FAILURE_RETRY(pread(t3455f17, buf, 769726, 38187008)); // mmap2
246TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 278721));
247TEMP_FAILURE_RETRY(pread(t3455f17, buf, 19, 278751));
248TEMP_FAILURE_RETRY(pread(t3455f17, buf, 25119, 278528)); // mmap2
249TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 37276895));
250TEMP_FAILURE_RETRY(pread(t3455f17, buf, 14, 37276925));
251TEMP_FAILURE_RETRY(pread(t3455f17, buf, 914520, 37273600)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700252int t3454f29 = TEMP_FAILURE_RETRY(open("file16", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700253TEMP_FAILURE_RETRY(pread(t3454f29, buf, 14048, 0)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700254close(t3454f29);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700255int t3455f18 = TEMP_FAILURE_RETRY(open("file1", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700256TEMP_FAILURE_RETRY(pread(t3455f18, buf, 4096, 0)); // mmap2
257TEMP_FAILURE_RETRY(pread(t3455f18, buf, 4096, 0)); // mmap2
258TEMP_FAILURE_RETRY(pread(t3455f18, buf, 4096, 0)); // mmap2
259TEMP_FAILURE_RETRY(pread(t3455f18, buf, 466944, 0)); // mmap2
260TEMP_FAILURE_RETRY(pread(t3455f18, buf, 4096, 466944)); // mmap2
261TEMP_FAILURE_RETRY(pread(t3455f18, buf, 471040, 0)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700262close(t3455f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700263t3455f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
264TEMP_FAILURE_RETRY(read(t3455f18, buf, 4));
265TEMP_FAILURE_RETRY(lseek(t3455f18, 0, SEEK_SET));
266TEMP_FAILURE_RETRY(lseek(t3455f18, 0, SEEK_END));
267TEMP_FAILURE_RETRY(lseek(t3455f18, 38891199, SEEK_SET));
268TEMP_FAILURE_RETRY(read(t3455f18, buf, 65557));
269TEMP_FAILURE_RETRY(pread(t3455f18, buf, 769726, 38187008)); // mmap2
270TEMP_FAILURE_RETRY(pread(t3455f18, buf, 30, 5965501));
271TEMP_FAILURE_RETRY(pread(t3455f18, buf, 11, 5965531));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700272close(t3455f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700273t3455f18 = TEMP_FAILURE_RETRY(open("file2", O_RDONLY|O_LARGEFILE));
274TEMP_FAILURE_RETRY(pread(t3455f18, buf, 4096, 0)); // mmap2
275TEMP_FAILURE_RETRY(pread(t3455f18, buf, 4096, 0)); // mmap2
276TEMP_FAILURE_RETRY(pread(t3455f18, buf, 4096, 0)); // mmap2
277TEMP_FAILURE_RETRY(pread(t3455f18, buf, 1048576, 0)); // mmap2
278TEMP_FAILURE_RETRY(pread(t3455f18, buf, 4096, 57012224)); // mmap2
279TEMP_FAILURE_RETRY(pread(t3455f18, buf, 1048576, 0)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700280close(t3455f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700281t3455f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700282if (!checkpoint(52)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700283TEMP_FAILURE_RETRY(read(t3455f18, buf, 4));
284TEMP_FAILURE_RETRY(lseek(t3455f18, 0, SEEK_SET));
285TEMP_FAILURE_RETRY(lseek(t3455f18, 0, SEEK_END));
286TEMP_FAILURE_RETRY(lseek(t3455f18, 38891199, SEEK_SET));
287TEMP_FAILURE_RETRY(read(t3455f18, buf, 65557));
288TEMP_FAILURE_RETRY(pread(t3455f18, buf, 769726, 38187008)); // mmap2
289TEMP_FAILURE_RETRY(pread(t3455f18, buf, 30, 6473855));
290TEMP_FAILURE_RETRY(pread(t3455f18, buf, 12, 6473885));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700291close(t3455f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700292t3455f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
293TEMP_FAILURE_RETRY(read(t3455f18, buf, 4));
294TEMP_FAILURE_RETRY(lseek(t3455f18, 0, SEEK_SET));
295TEMP_FAILURE_RETRY(lseek(t3455f18, 0, SEEK_END));
296TEMP_FAILURE_RETRY(lseek(t3455f18, 38891199, SEEK_SET));
297TEMP_FAILURE_RETRY(read(t3455f18, buf, 65557));
298TEMP_FAILURE_RETRY(pread(t3455f18, buf, 769726, 38187008)); // mmap2
299TEMP_FAILURE_RETRY(pread(t3455f18, buf, 30, 8916226));
300TEMP_FAILURE_RETRY(pread(t3455f18, buf, 12, 8916256));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700301close(t3455f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700302t3455f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
303TEMP_FAILURE_RETRY(read(t3455f18, buf, 4));
304TEMP_FAILURE_RETRY(lseek(t3455f18, 0, SEEK_SET));
305TEMP_FAILURE_RETRY(lseek(t3455f18, 0, SEEK_END));
306TEMP_FAILURE_RETRY(lseek(t3455f18, 38891199, SEEK_SET));
307TEMP_FAILURE_RETRY(read(t3455f18, buf, 65557));
308TEMP_FAILURE_RETRY(pread(t3455f18, buf, 769726, 38187008)); // mmap2
309TEMP_FAILURE_RETRY(pread(t3455f18, buf, 30, 11368292));
310TEMP_FAILURE_RETRY(pread(t3455f18, buf, 12, 11368322));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700311close(t3455f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700312t3455f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
313TEMP_FAILURE_RETRY(read(t3455f18, buf, 4));
314TEMP_FAILURE_RETRY(lseek(t3455f18, 0, SEEK_SET));
315TEMP_FAILURE_RETRY(lseek(t3455f18, 0, SEEK_END));
316TEMP_FAILURE_RETRY(lseek(t3455f18, 38891199, SEEK_SET));
317TEMP_FAILURE_RETRY(read(t3455f18, buf, 65557));
318TEMP_FAILURE_RETRY(pread(t3455f18, buf, 769726, 38187008)); // mmap2
319TEMP_FAILURE_RETRY(pread(t3455f18, buf, 30, 13996125));
320TEMP_FAILURE_RETRY(pread(t3455f18, buf, 12, 13996155));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700321close(t3455f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700322t3455f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
323TEMP_FAILURE_RETRY(read(t3455f18, buf, 4));
324TEMP_FAILURE_RETRY(lseek(t3455f18, 0, SEEK_SET));
325TEMP_FAILURE_RETRY(lseek(t3455f18, 0, SEEK_END));
326TEMP_FAILURE_RETRY(lseek(t3455f18, 38891199, SEEK_SET));
327TEMP_FAILURE_RETRY(read(t3455f18, buf, 65557));
328TEMP_FAILURE_RETRY(pread(t3455f18, buf, 769726, 38187008)); // mmap2
329TEMP_FAILURE_RETRY(pread(t3455f18, buf, 30, 16595549));
330TEMP_FAILURE_RETRY(pread(t3455f18, buf, 12, 16595579));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700331close(t3455f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700332t3455f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
333TEMP_FAILURE_RETRY(read(t3455f18, buf, 4));
334TEMP_FAILURE_RETRY(lseek(t3455f18, 0, SEEK_SET));
335TEMP_FAILURE_RETRY(lseek(t3455f18, 0, SEEK_END));
336TEMP_FAILURE_RETRY(lseek(t3455f18, 38891199, SEEK_SET));
337TEMP_FAILURE_RETRY(read(t3455f18, buf, 65557));
338TEMP_FAILURE_RETRY(pread(t3455f18, buf, 769726, 38187008)); // mmap2
339TEMP_FAILURE_RETRY(pread(t3455f18, buf, 30, 19217798));
340TEMP_FAILURE_RETRY(pread(t3455f18, buf, 12, 19217828));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700341close(t3455f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700342t3455f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
343TEMP_FAILURE_RETRY(read(t3455f18, buf, 4));
344TEMP_FAILURE_RETRY(lseek(t3455f18, 0, SEEK_SET));
345TEMP_FAILURE_RETRY(lseek(t3455f18, 0, SEEK_END));
346TEMP_FAILURE_RETRY(lseek(t3455f18, 38891199, SEEK_SET));
347TEMP_FAILURE_RETRY(read(t3455f18, buf, 65557));
348TEMP_FAILURE_RETRY(pread(t3455f18, buf, 769726, 38187008)); // mmap2
349TEMP_FAILURE_RETRY(pread(t3455f18, buf, 30, 22047170));
350TEMP_FAILURE_RETRY(pread(t3455f18, buf, 12, 22047200));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700351close(t3455f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700352t3455f18 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE));
353TEMP_FAILURE_RETRY(read(t3455f18, buf, 4));
354TEMP_FAILURE_RETRY(lseek(t3455f18, 0, SEEK_SET));
355TEMP_FAILURE_RETRY(lseek(t3455f18, 0, SEEK_END));
356TEMP_FAILURE_RETRY(lseek(t3455f18, 38891199, SEEK_SET));
357TEMP_FAILURE_RETRY(read(t3455f18, buf, 65557));
358TEMP_FAILURE_RETRY(pread(t3455f18, buf, 769726, 38187008)); // mmap2
359TEMP_FAILURE_RETRY(pread(t3455f18, buf, 30, 24961213));
360TEMP_FAILURE_RETRY(pread(t3455f18, buf, 12, 24961243));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700361close(t3455f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700362t3455f18 = TEMP_FAILURE_RETRY(open("file3", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700363close(t3455f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700364t3455f18 = TEMP_FAILURE_RETRY(open("file4", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700365close(t3455f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700366t3455f18 = TEMP_FAILURE_RETRY(open("file5", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
367TEMP_FAILURE_RETRY(pread(t3455f18, buf, 52, 0));
368TEMP_FAILURE_RETRY(pread(t3455f18, buf, 4096, 0)); // mmap2
369TEMP_FAILURE_RETRY(pread(t3455f18, buf, 38736, 0)); // mmap2
370TEMP_FAILURE_RETRY(pread(t3455f18, buf, 4304, 36864)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700371close(t3455f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700372t3455f18 = TEMP_FAILURE_RETRY(open("file6", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
373TEMP_FAILURE_RETRY(pread(t3455f18, buf, 52, 0));
374TEMP_FAILURE_RETRY(pread(t3455f18, buf, 4096, 0)); // mmap2
375TEMP_FAILURE_RETRY(pread(t3455f18, buf, 2348, 0)); // mmap2
376TEMP_FAILURE_RETRY(pread(t3455f18, buf, 4636, 0)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700377close(t3455f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700378t3455f18 = TEMP_FAILURE_RETRY(open("file7", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
379TEMP_FAILURE_RETRY(pread(t3455f18, buf, 52, 0));
380TEMP_FAILURE_RETRY(pread(t3455f18, buf, 4096, 0)); // mmap2
381TEMP_FAILURE_RETRY(pread(t3455f18, buf, 778948, 0)); // mmap2
382TEMP_FAILURE_RETRY(pread(t3455f18, buf, 16736, 778240)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700383close(t3455f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700384t3455f18 = TEMP_FAILURE_RETRY(open("file8", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
385TEMP_FAILURE_RETRY(pread(t3455f18, buf, 52, 0));
386TEMP_FAILURE_RETRY(pread(t3455f18, buf, 4096, 0)); // mmap2
387TEMP_FAILURE_RETRY(pread(t3455f18, buf, 18099, 0)); // mmap2
388TEMP_FAILURE_RETRY(pread(t3455f18, buf, 4264, 16384)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700389close(t3455f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700390t3455f18 = TEMP_FAILURE_RETRY(open("file9", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
391TEMP_FAILURE_RETRY(pread(t3455f18, buf, 52, 0));
392TEMP_FAILURE_RETRY(pread(t3455f18, buf, 4096, 0)); // mmap2
393TEMP_FAILURE_RETRY(pread(t3455f18, buf, 22960, 0)); // mmap2
394TEMP_FAILURE_RETRY(pread(t3455f18, buf, 4108, 20480)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700395close(t3455f18);
George Burgess IV170d8da2016-02-24 15:55:55 -0800396t3455f18 = TEMP_FAILURE_RETRY(open("file11", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700397TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 3513185));
398TEMP_FAILURE_RETRY(pread(t3455f17, buf, 46, 3513215));
399TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3262, 3510272)); // mmap2
400TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 3513185));
401TEMP_FAILURE_RETRY(pread(t3455f17, buf, 46, 3513215));
402TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3262, 3510272)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700403int t3455f19 = TEMP_FAILURE_RETRY(open("file12", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700404TEMP_FAILURE_RETRY(read(t3455f19, buf, 1));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700405close(t3455f19);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700406t3455f19 = TEMP_FAILURE_RETRY(open("file13", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700407close(t3455f19);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700408t3455f19 = TEMP_FAILURE_RETRY(open("file14", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700409close(t3455f19);
George Burgess IV170d8da2016-02-24 15:55:55 -0800410t3455f19 = TEMP_FAILURE_RETRY(open("file15", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -0600411TEMP_FAILURE_RETRY(write(t3455f19, buf, 1));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700412TEMP_FAILURE_RETRY(fsync(t3455f19));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700413close(t3455f19);
414close(t3455f18);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700415t3455f18 = TEMP_FAILURE_RETRY(open("file10", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
416TEMP_FAILURE_RETRY(pread(t3455f18, buf, 52, 0));
417TEMP_FAILURE_RETRY(pread(t3455f18, buf, 4096, 0)); // mmap2
418TEMP_FAILURE_RETRY(pread(t3455f18, buf, 13748, 0)); // mmap2
419TEMP_FAILURE_RETRY(pread(t3455f18, buf, 4196, 12288)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700420close(t3455f18);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700421int t3483f20 = TEMP_FAILURE_RETRY(open("file17", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0600));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700422TEMP_FAILURE_RETRY(pread(t3483f20, buf, 100, 0));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700423int t3483f21 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700424TEMP_FAILURE_RETRY(pread(t3483f21, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700425close(t3483f21);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700426TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 0));
427t3483f21 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
428TEMP_FAILURE_RETRY(pread(t3483f21, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700429close(t3483f21);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700430TEMP_FAILURE_RETRY(pread(t3483f20, buf, 16, 24));
431t3483f21 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
432TEMP_FAILURE_RETRY(pread(t3483f21, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700433close(t3483f21);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700434TEMP_FAILURE_RETRY(pread(t3483f20, buf, 16, 24));
435TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 8192));
436t3483f21 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
437TEMP_FAILURE_RETRY(pread(t3483f21, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700438close(t3483f21);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700439TEMP_FAILURE_RETRY(pread(t3483f20, buf, 16, 24));
440t3483f21 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
441TEMP_FAILURE_RETRY(pread(t3483f21, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700442close(t3483f21);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700443TEMP_FAILURE_RETRY(pread(t3483f20, buf, 16, 24));
444TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 16384));
445TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 12288));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700446int t3483f22 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700447TEMP_FAILURE_RETRY(pread(t3483f22, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700448close(t3483f22);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700449TEMP_FAILURE_RETRY(pread(t3483f20, buf, 16, 24));
450TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 20480));
451TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 28672));
452TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 32768));
453TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 36864));
454TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 81920));
455TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 98304));
456TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 163840));
457TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 57344));
458TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 147456));
459TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 151552));
460TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 155648));
461TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 143360));
462TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 65536));
463TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 122880));
464TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 73728));
465TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 126976));
466TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 90112));
467TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 135168));
468TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 106496));
469TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 110592));
470TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 49152));
471TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 139264));
472TEMP_FAILURE_RETRY(pread(t3483f20, buf, 4096, 172032));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700473int t3483f25 = TEMP_FAILURE_RETRY(open("file19", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0600));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700474TEMP_FAILURE_RETRY(pread(t3483f25, buf, 100, 0));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700475int t3483f26 = TEMP_FAILURE_RETRY(open("file20", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700476TEMP_FAILURE_RETRY(pread(t3483f26, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700477close(t3483f26);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700478TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 0));
479t3483f26 = TEMP_FAILURE_RETRY(open("file20", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
480TEMP_FAILURE_RETRY(pread(t3483f26, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700481close(t3483f26);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700482TEMP_FAILURE_RETRY(pread(t3483f25, buf, 16, 24));
483t3483f26 = TEMP_FAILURE_RETRY(open("file20", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
484TEMP_FAILURE_RETRY(pread(t3483f26, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700485close(t3483f26);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700486TEMP_FAILURE_RETRY(pread(t3483f25, buf, 16, 24));
487TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 8192));
488t3483f26 = TEMP_FAILURE_RETRY(open("file20", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
489TEMP_FAILURE_RETRY(pread(t3483f26, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700490close(t3483f26);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700491TEMP_FAILURE_RETRY(pread(t3483f25, buf, 16, 24));
492t3483f26 = TEMP_FAILURE_RETRY(open("file20", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
493TEMP_FAILURE_RETRY(pread(t3483f26, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700494close(t3483f26);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700495TEMP_FAILURE_RETRY(pread(t3483f25, buf, 16, 24));
496TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 16384));
497TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 12288));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700498int t3483f27 = TEMP_FAILURE_RETRY(open("file20", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700499TEMP_FAILURE_RETRY(pread(t3483f27, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700500close(t3483f27);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700501TEMP_FAILURE_RETRY(pread(t3483f25, buf, 16, 24));
502TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 24576));
503TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 40960));
504TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 20480));
505TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 110592));
506TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 172032));
507TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 151552));
508TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 77824));
509TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 155648));
510TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 180224));
511TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 106496));
512TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 167936));
513TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 94208));
514TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 163840));
515TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 49152));
516TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 159744));
517TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 176128));
518TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 36864));
519TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 98304));
520TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 61440));
521TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 86016));
522TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 147456));
523TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 143360));
524TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 45056));
525TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 73728));
526TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 32768));
527TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 122880));
528TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 126976));
529TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 28672));
530TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 53248));
531TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 118784));
532TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 57344));
533TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 135168));
534TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 65536));
535TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 184320));
536TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 69632));
537TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 81920));
538TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 90112));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700539if (!checkpoint(55)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700540TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 102400));
541TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 114688));
542TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 131072));
543TEMP_FAILURE_RETRY(pread(t3483f25, buf, 4096, 139264));
544t3483f27 = TEMP_FAILURE_RETRY(open("file20", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
545TEMP_FAILURE_RETRY(pread(t3483f27, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700546close(t3483f27);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700547TEMP_FAILURE_RETRY(pread(t3483f25, buf, 16, 24));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700548int t3498f30 = TEMP_FAILURE_RETRY(open("file21", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700549TEMP_FAILURE_RETRY(read(t3498f30, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700550close(t3498f30);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700551TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 278721));
552TEMP_FAILURE_RETRY(pread(t3455f17, buf, 19, 278751));
553TEMP_FAILURE_RETRY(pread(t3455f17, buf, 25119, 278528)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700554int t3499f30 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700555TEMP_FAILURE_RETRY(pread(t3499f30, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700556close(t3499f30);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700557int t3499f31 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700558TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 512, 0));
559TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 512));
560TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4096, 516));
561TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 4612));
562TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 4616));
563TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4096, 4620));
564TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 8716));
565TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 8720));
566TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4096, 8724));
567TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 12820));
568TEMP_FAILURE_RETRY(pread(t3499f31, buf, 8, 13312));
569TEMP_FAILURE_RETRY(fdatasync(t3499f31));
570t3499f30 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
571TEMP_FAILURE_RETRY(fdatasync(t3499f30));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700572close(t3499f30);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700573TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 12, 0));
574TEMP_FAILURE_RETRY(fdatasync(t3499f31));
575TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 28, 0));
576TEMP_FAILURE_RETRY(fdatasync(t3499f31));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700577close(t3499f31);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700578t3499f30 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
579TEMP_FAILURE_RETRY(pread(t3499f30, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700580close(t3499f30);
George Burgess IV170d8da2016-02-24 15:55:55 -0800581t3499f30 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700582TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 512, 0));
583TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 512));
584TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4096, 516));
585TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 4612));
586TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 4616));
587TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4096, 4620));
588TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 8716));
589TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 8720));
590TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4096, 8724));
591TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 12820));
592TEMP_FAILURE_RETRY(pread(t3499f30, buf, 8, 13312));
593TEMP_FAILURE_RETRY(fdatasync(t3499f30));
594t3499f31 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
595TEMP_FAILURE_RETRY(fdatasync(t3499f31));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700596close(t3499f31);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700597TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 12, 0));
598TEMP_FAILURE_RETRY(fdatasync(t3499f30));
599TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 28, 0));
600TEMP_FAILURE_RETRY(fdatasync(t3499f30));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700601close(t3499f30);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700602int t3500f30 = TEMP_FAILURE_RETRY(open("file23", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700603TEMP_FAILURE_RETRY(pread(t3500f30, buf, 52, 0));
604TEMP_FAILURE_RETRY(pread(t3500f30, buf, 4096, 0)); // mmap2
605TEMP_FAILURE_RETRY(pread(t3500f30, buf, 27898, 0)); // mmap2
606TEMP_FAILURE_RETRY(pread(t3500f30, buf, 4124, 24576)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700607close(t3500f30);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700608t3500f30 = TEMP_FAILURE_RETRY(open("file24", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
609TEMP_FAILURE_RETRY(pread(t3500f30, buf, 52, 0));
610TEMP_FAILURE_RETRY(pread(t3500f30, buf, 4096, 0)); // mmap2
611TEMP_FAILURE_RETRY(pread(t3500f30, buf, 91256, 0)); // mmap2
612TEMP_FAILURE_RETRY(pread(t3500f30, buf, 4108, 90112)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700613close(t3500f30);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700614t3500f30 = TEMP_FAILURE_RETRY(open("file25", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
615TEMP_FAILURE_RETRY(pread(t3500f30, buf, 52, 0));
616TEMP_FAILURE_RETRY(pread(t3500f30, buf, 4096, 0)); // mmap2
617TEMP_FAILURE_RETRY(pread(t3500f30, buf, 30332, 0)); // mmap2
618TEMP_FAILURE_RETRY(pread(t3500f30, buf, 4200, 28672)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700619close(t3500f30);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700620t3500f30 = TEMP_FAILURE_RETRY(open("file26", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
621TEMP_FAILURE_RETRY(pread(t3500f30, buf, 52, 0));
622TEMP_FAILURE_RETRY(pread(t3500f30, buf, 4096, 0)); // mmap2
623TEMP_FAILURE_RETRY(pread(t3500f30, buf, 26408, 0)); // mmap2
624TEMP_FAILURE_RETRY(pread(t3500f30, buf, 4100, 24576)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700625close(t3500f30);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700626t3500f30 = TEMP_FAILURE_RETRY(open("file27", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
627TEMP_FAILURE_RETRY(pread(t3500f30, buf, 52, 0));
628TEMP_FAILURE_RETRY(pread(t3500f30, buf, 4096, 0)); // mmap2
629TEMP_FAILURE_RETRY(pread(t3500f30, buf, 50044, 0)); // mmap2
630TEMP_FAILURE_RETRY(pread(t3500f30, buf, 4128, 49152)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700631close(t3500f30);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700632t3500f30 = TEMP_FAILURE_RETRY(open("file28", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
633TEMP_FAILURE_RETRY(pread(t3500f30, buf, 52, 0));
634TEMP_FAILURE_RETRY(pread(t3500f30, buf, 4096, 0)); // mmap2
635TEMP_FAILURE_RETRY(pread(t3500f30, buf, 1048576, 0)); // mmap2
636TEMP_FAILURE_RETRY(pread(t3500f30, buf, 122564, 3059712)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -0700637close(t3500f30);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700638int t3502f30 = TEMP_FAILURE_RETRY(open("file29", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700639TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
640TEMP_FAILURE_RETRY(read(t3502f30, buf, 4));
641TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
642TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
643TEMP_FAILURE_RETRY(read(t3502f30, buf, 44));
644TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
645TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
646TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
647TEMP_FAILURE_RETRY(read(t3502f30, buf, 29));
648TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
649TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
650TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
651TEMP_FAILURE_RETRY(read(t3502f30, buf, 36));
652TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
653TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
654TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
655TEMP_FAILURE_RETRY(read(t3502f30, buf, 21));
656TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
657TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
658TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
659TEMP_FAILURE_RETRY(read(t3502f30, buf, 17));
660TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
661TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
662TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
663TEMP_FAILURE_RETRY(read(t3502f30, buf, 47));
664TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
665TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
666TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
667TEMP_FAILURE_RETRY(read(t3502f30, buf, 23));
668TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
669TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
670TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
671TEMP_FAILURE_RETRY(read(t3502f30, buf, 28));
672TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
673TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
674TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
675TEMP_FAILURE_RETRY(read(t3502f30, buf, 24));
676TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
677TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
678TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
679TEMP_FAILURE_RETRY(read(t3502f30, buf, 45));
680TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
681TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
682TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
683TEMP_FAILURE_RETRY(read(t3502f30, buf, 21));
684TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
685TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
686TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
687TEMP_FAILURE_RETRY(read(t3502f30, buf, 37));
688TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
689TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
690TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
691TEMP_FAILURE_RETRY(read(t3502f30, buf, 22));
692TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
693TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
694TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
695TEMP_FAILURE_RETRY(read(t3502f30, buf, 17));
696TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
697TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
698TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
699TEMP_FAILURE_RETRY(read(t3502f30, buf, 36));
700TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
701TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
702TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
703TEMP_FAILURE_RETRY(read(t3502f30, buf, 37));
704TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
705TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
706TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
707TEMP_FAILURE_RETRY(read(t3502f30, buf, 22));
708TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
709TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
710TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
711TEMP_FAILURE_RETRY(read(t3502f30, buf, 22));
712TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
713TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
714TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
715TEMP_FAILURE_RETRY(read(t3502f30, buf, 46));
716TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
717TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
718TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
719TEMP_FAILURE_RETRY(read(t3502f30, buf, 29));
720TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
721TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
722TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
723TEMP_FAILURE_RETRY(read(t3502f30, buf, 31));
724TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
725TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
726TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
727TEMP_FAILURE_RETRY(read(t3502f30, buf, 32));
728TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
729TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
730TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
731TEMP_FAILURE_RETRY(read(t3502f30, buf, 31));
732TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
733TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
734TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
735TEMP_FAILURE_RETRY(read(t3502f30, buf, 37));
736TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
737TEMP_FAILURE_RETRY(read(t3502f30, buf, 1));
738TEMP_FAILURE_RETRY(read(t3502f30, buf, 2));
739TEMP_FAILURE_RETRY(read(t3502f30, buf, 21));
740TEMP_FAILURE_RETRY(read(t3502f30, buf, 8));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700741close(t3502f30);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700742TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35167565));
743TEMP_FAILURE_RETRY(pread(t3455f17, buf, 36, 35167595));
744TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4148, 35164160)); // mmap2
745TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34342181));
746TEMP_FAILURE_RETRY(pread(t3455f17, buf, 49, 34342211));
747TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1656, 34340864)); // mmap2
748TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32761881));
749TEMP_FAILURE_RETRY(pread(t3455f17, buf, 36, 32761911));
750TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3104, 32759808)); // mmap2
751TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34343387));
752TEMP_FAILURE_RETRY(pread(t3455f17, buf, 32, 34343417));
753TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2828, 34340864)); // mmap2
754TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34343692));
755TEMP_FAILURE_RETRY(pread(t3455f17, buf, 47, 34343722));
756TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3201, 34340864)); // mmap2
757TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34344392));
758TEMP_FAILURE_RETRY(pread(t3455f17, buf, 43, 34344422));
759TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3897, 34340864)); // mmap2
760TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34344065));
761TEMP_FAILURE_RETRY(pread(t3455f17, buf, 41, 34344095));
762TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3528, 34340864)); // mmap2
763TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34344761));
764TEMP_FAILURE_RETRY(pread(t3455f17, buf, 46, 34344791));
765TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4269, 34340864)); // mmap2
766TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34345456));
767TEMP_FAILURE_RETRY(pread(t3455f17, buf, 42, 34345486));
768TEMP_FAILURE_RETRY(pread(t3455f17, buf, 865, 34344960)); // mmap2
769TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34345133));
770TEMP_FAILURE_RETRY(pread(t3455f17, buf, 40, 34345163));
771TEMP_FAILURE_RETRY(pread(t3455f17, buf, 496, 34344960)); // mmap2
772TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 36096678));
773TEMP_FAILURE_RETRY(pread(t3455f17, buf, 29, 36096708));
774TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3292, 36093952)); // mmap2
775TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34698049));
776TEMP_FAILURE_RETRY(pread(t3455f17, buf, 42, 34698079));
777TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1211, 34697216)); // mmap2
778TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32760711));
779TEMP_FAILURE_RETRY(pread(t3455f17, buf, 31, 32760741));
780TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2073, 32759808)); // mmap2
781TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32273035));
782TEMP_FAILURE_RETRY(pread(t3455f17, buf, 37, 32273065));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700783if (!checkpoint(58)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700784TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1692, 32272384)); // mmap2
785TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34612102));
786TEMP_FAILURE_RETRY(pread(t3455f17, buf, 38, 34612132));
787TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1313, 34611200)); // mmap2
788TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34765885));
789TEMP_FAILURE_RETRY(pread(t3455f17, buf, 37, 34765915));
790TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3387, 34762752)); // mmap2
791t3499f31 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
792TEMP_FAILURE_RETRY(pread(t3499f31, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700793close(t3499f31);
George Burgess IV170d8da2016-02-24 15:55:55 -0800794t3499f31 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700795TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 512, 0));
796TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 512));
797TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4096, 516));
798TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 4612));
799TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 4616));
800TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4096, 4620));
801TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 8716));
802TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 8720));
803TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4096, 8724));
804TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 12820));
805TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 12824));
806TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4096, 12828));
807TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 16924));
808TEMP_FAILURE_RETRY(pread(t3499f31, buf, 8, 17408));
809TEMP_FAILURE_RETRY(fdatasync(t3499f31));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700810int t3499f32 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700811TEMP_FAILURE_RETRY(fdatasync(t3499f32));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700812close(t3499f32);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700813TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 12, 0));
814TEMP_FAILURE_RETRY(fdatasync(t3499f31));
815TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 28, 0));
816TEMP_FAILURE_RETRY(fdatasync(t3499f31));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700817close(t3499f31);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700818t3499f31 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
819TEMP_FAILURE_RETRY(pread(t3499f31, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700820close(t3499f31);
George Burgess IV170d8da2016-02-24 15:55:55 -0800821t3499f31 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700822TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 512, 0));
823TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 512));
824TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4096, 516));
825TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 4612));
826TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 4616));
827TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4096, 4620));
828TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 8716));
829TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 8720));
830TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4096, 8724));
831TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 12820));
832TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 12824));
833TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4096, 12828));
834TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 4, 16924));
835TEMP_FAILURE_RETRY(pread(t3499f31, buf, 8, 17408));
836TEMP_FAILURE_RETRY(fdatasync(t3499f31));
837t3499f32 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
838TEMP_FAILURE_RETRY(fdatasync(t3499f32));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700839close(t3499f32);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700840TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 12, 0));
841TEMP_FAILURE_RETRY(fdatasync(t3499f31));
842TEMP_FAILURE_RETRY(pwrite(t3499f31, buf, 28, 0));
843TEMP_FAILURE_RETRY(fdatasync(t3499f31));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700844close(t3499f31);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700845int t3492f31 = TEMP_FAILURE_RETRY(open("file30", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0600));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700846TEMP_FAILURE_RETRY(pread(t3492f31, buf, 100, 0));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700847int t3492f32 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700848TEMP_FAILURE_RETRY(pread(t3492f32, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700849close(t3492f32);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700850TEMP_FAILURE_RETRY(pread(t3492f31, buf, 4096, 0));
851t3492f32 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
852TEMP_FAILURE_RETRY(pread(t3492f32, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700853close(t3492f32);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700854TEMP_FAILURE_RETRY(pread(t3492f31, buf, 16, 24));
855t3492f32 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
856TEMP_FAILURE_RETRY(pread(t3492f32, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700857close(t3492f32);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700858TEMP_FAILURE_RETRY(pread(t3492f31, buf, 16, 24));
859TEMP_FAILURE_RETRY(pread(t3492f31, buf, 4096, 8192));
860t3492f32 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
861TEMP_FAILURE_RETRY(pread(t3492f32, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700862close(t3492f32);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700863TEMP_FAILURE_RETRY(pread(t3492f31, buf, 16, 24));
864t3492f32 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
865TEMP_FAILURE_RETRY(pread(t3492f32, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700866close(t3492f32);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700867TEMP_FAILURE_RETRY(pread(t3492f31, buf, 16, 24));
868TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35635385));
869TEMP_FAILURE_RETRY(pread(t3455f17, buf, 49, 35635415));
870TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1005, 35635200)); // mmap2
871TEMP_FAILURE_RETRY(pread(t3492f31, buf, 4096, 16384));
872TEMP_FAILURE_RETRY(pread(t3492f31, buf, 4096, 12288));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700873int t3492f33 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700874TEMP_FAILURE_RETRY(pread(t3492f33, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700875close(t3492f33);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700876TEMP_FAILURE_RETRY(pread(t3492f31, buf, 16, 24));
877TEMP_FAILURE_RETRY(pread(t3492f31, buf, 4096, 24576));
878TEMP_FAILURE_RETRY(pread(t3492f31, buf, 4096, 20480));
879TEMP_FAILURE_RETRY(pread(t3492f31, buf, 4096, 77824));
880TEMP_FAILURE_RETRY(pread(t3492f31, buf, 4096, 73728));
881TEMP_FAILURE_RETRY(pread(t3492f31, buf, 4096, 69632));
882TEMP_FAILURE_RETRY(pread(t3492f31, buf, 4096, 81920));
883t3492f33 = TEMP_FAILURE_RETRY(open("file32", O_RDONLY|O_LARGEFILE));
884TEMP_FAILURE_RETRY(pread(t3492f33, buf, 23336, 0)); // mmap2
885TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 36386416));
886TEMP_FAILURE_RETRY(pread(t3455f17, buf, 32, 36386446));
887TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2082, 36384768)); // mmap2
888t3499f30 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
889TEMP_FAILURE_RETRY(pread(t3499f30, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700890close(t3499f30);
George Burgess IV170d8da2016-02-24 15:55:55 -0800891t3499f30 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700892TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 512, 0));
893TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 512));
894TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4096, 516));
895TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 4612));
896TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 4616));
897TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4096, 4620));
898TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 8716));
899TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 8720));
900TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4096, 8724));
901TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 12820));
902TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 12824));
903TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4096, 12828));
904TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 16924));
905TEMP_FAILURE_RETRY(pread(t3499f30, buf, 8, 17408));
906TEMP_FAILURE_RETRY(fdatasync(t3499f30));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -0700907int t3499f34 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700908TEMP_FAILURE_RETRY(fdatasync(t3499f34));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700909close(t3499f34);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700910TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 12, 0));
911TEMP_FAILURE_RETRY(fdatasync(t3499f30));
912TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 28, 0));
913TEMP_FAILURE_RETRY(fdatasync(t3499f30));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700914close(t3499f30);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700915t3499f30 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
916TEMP_FAILURE_RETRY(pread(t3499f30, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700917close(t3499f30);
George Burgess IV170d8da2016-02-24 15:55:55 -0800918t3499f30 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700919TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 512, 0));
920TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 512));
921TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4096, 516));
922TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 4612));
923TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 4616));
924TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4096, 4620));
925TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 8716));
926TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 8720));
927TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4096, 8724));
928TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 12820));
929TEMP_FAILURE_RETRY(pread(t3499f30, buf, 8, 13312));
930TEMP_FAILURE_RETRY(fdatasync(t3499f30));
931t3499f34 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
932TEMP_FAILURE_RETRY(fdatasync(t3499f34));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700933close(t3499f34);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700934TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 12, 0));
935TEMP_FAILURE_RETRY(fdatasync(t3499f30));
936TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 28, 0));
937TEMP_FAILURE_RETRY(fdatasync(t3499f30));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700938close(t3499f30);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700939t3499f30 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
940TEMP_FAILURE_RETRY(pread(t3499f30, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700941close(t3499f30);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700942TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 36389306));
943TEMP_FAILURE_RETRY(pread(t3455f17, buf, 23, 36389336));
944TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1664, 36388864)); // mmap2
George Burgess IV170d8da2016-02-24 15:55:55 -0800945t3499f30 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700946TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 512, 0));
947TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 512));
948TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4096, 516));
949TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 4612));
950TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 4616));
951TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4096, 4620));
952TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 8716));
953TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 8720));
954TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4096, 8724));
955TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 12820));
956TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 12824));
957TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4096, 12828));
958TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 4, 16924));
959TEMP_FAILURE_RETRY(pread(t3499f30, buf, 8, 17408));
960TEMP_FAILURE_RETRY(fdatasync(t3499f30));
961t3499f34 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
962TEMP_FAILURE_RETRY(fdatasync(t3499f34));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700963close(t3499f34);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700964TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 12, 0));
965TEMP_FAILURE_RETRY(fdatasync(t3499f30));
966TEMP_FAILURE_RETRY(pwrite(t3499f30, buf, 28, 0));
967TEMP_FAILURE_RETRY(fdatasync(t3499f30));
968TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34762881));
969TEMP_FAILURE_RETRY(pread(t3455f17, buf, 54, 34762911));
Elliott Hughes4e378be2015-05-28 22:02:14 -0700970close(t3499f30);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -0700971TEMP_FAILURE_RETRY(pread(t3455f17, buf, 463, 34762752)); // mmap2
972TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 28270957));
973TEMP_FAILURE_RETRY(pread(t3455f17, buf, 45, 28270987));
974TEMP_FAILURE_RETRY(pread(t3455f17, buf, 667, 28270592)); // mmap2
975TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34750025));
976TEMP_FAILURE_RETRY(pread(t3455f17, buf, 37, 34750055));
977TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4004, 34746368)); // mmap2
978TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 1468611));
979TEMP_FAILURE_RETRY(pread(t3455f17, buf, 28, 1468641));
980TEMP_FAILURE_RETRY(pread(t3455f17, buf, 58877, 1466368)); // mmap2
981TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 31697557));
982TEMP_FAILURE_RETRY(pread(t3455f17, buf, 55, 31697587));
983TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3884, 31694848)); // mmap2
984TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34293434));
985TEMP_FAILURE_RETRY(pread(t3455f17, buf, 45, 34293464));
986TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2090, 34291712)); // mmap2
987TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32918186));
988TEMP_FAILURE_RETRY(pread(t3455f17, buf, 40, 32918216));
989TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3139, 32915456)); // mmap2
990TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32915891));
991TEMP_FAILURE_RETRY(pread(t3455f17, buf, 46, 32915921));
992TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2060, 32915456)); // mmap2
993TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32917516));
994TEMP_FAILURE_RETRY(pread(t3455f17, buf, 39, 32917546));
995TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2476, 32915456)); // mmap2
996TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32918595));
997TEMP_FAILURE_RETRY(pread(t3455f17, buf, 44, 32918625));
998TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4994, 32915456)); // mmap2
999TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32917932));
1000TEMP_FAILURE_RETRY(pread(t3455f17, buf, 35, 32917962));
1001TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2730, 32915456)); // mmap2
1002TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35461407));
1003TEMP_FAILURE_RETRY(pread(t3455f17, buf, 31, 35461437));
1004TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2723, 35459072)); // mmap2
1005TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35474138));
1006TEMP_FAILURE_RETRY(pread(t3455f17, buf, 43, 35474168));
1007TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3682, 35471360)); // mmap2
1008TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34394223));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001009if (!checkpoint(61)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001010TEMP_FAILURE_RETRY(pread(t3455f17, buf, 41, 34394253));
1011TEMP_FAILURE_RETRY(pread(t3455f17, buf, 481, 34394112)); // mmap2
1012TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32648704));
1013TEMP_FAILURE_RETRY(pread(t3455f17, buf, 48, 32648734));
1014TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4644, 32645120)); // mmap2
1015TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32654567));
1016TEMP_FAILURE_RETRY(pread(t3455f17, buf, 58, 32654597));
1017TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1606, 32653312)); // mmap2
1018TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32649764));
1019TEMP_FAILURE_RETRY(pread(t3455f17, buf, 52, 32649794));
1020TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1553, 32649216)); // mmap2
1021TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32654918));
1022TEMP_FAILURE_RETRY(pread(t3455f17, buf, 62, 32654948));
1023TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1979, 32653312)); // mmap2
1024TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 31696162));
1025TEMP_FAILURE_RETRY(pread(t3455f17, buf, 56, 31696192));
1026TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2367, 31694848)); // mmap2
1027TEMP_FAILURE_RETRY(pread(t3492f33, buf, 9032, 20480)); // mmap2
1028TEMP_FAILURE_RETRY(pread(t3492f33, buf, 24216, 28672)); // mmap2
1029TEMP_FAILURE_RETRY(pread(t3492f33, buf, 25168, 49152)); // mmap2
1030TEMP_FAILURE_RETRY(pread(t3492f33, buf, 10560, 73728)); // mmap2
1031TEMP_FAILURE_RETRY(pread(t3492f33, buf, 13256, 81920)); // mmap2
1032TEMP_FAILURE_RETRY(pread(t3492f33, buf, 6664, 94208)); // mmap2
1033TEMP_FAILURE_RETRY(pread(t3492f33, buf, 22688, 98304)); // mmap2
1034TEMP_FAILURE_RETRY(pread(t3492f33, buf, 57408, 118784)); // mmap2
1035TEMP_FAILURE_RETRY(pread(t3492f33, buf, 3064, 176128)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -07001036close(t3492f33);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001037TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 36097244));
1038TEMP_FAILURE_RETRY(pread(t3455f17, buf, 38, 36097274));
1039TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3608, 36093952)); // mmap2
1040TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 36096678));
1041TEMP_FAILURE_RETRY(pread(t3455f17, buf, 29, 36096708));
1042TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3292, 36093952)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001043int t3509f41 = TEMP_FAILURE_RETRY(open("file33", O_RDONLY|O_LARGEFILE));
1044int t3492f42 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001045TEMP_FAILURE_RETRY(pread(t3492f42, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001046close(t3492f42);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001047TEMP_FAILURE_RETRY(pread(t3492f31, buf, 16, 24));
1048TEMP_FAILURE_RETRY(pread(t3492f31, buf, 4096, 53248));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001049int t3499f42 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001050TEMP_FAILURE_RETRY(pread(t3499f42, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001051close(t3499f42);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001052TEMP_FAILURE_RETRY(read(t3509f41, buf, 8192));
1053TEMP_FAILURE_RETRY(read(t3509f41, buf, 8091));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001054close(t3509f41);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001055int t3499f41 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001056TEMP_FAILURE_RETRY(pread(t3499f41, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001057close(t3499f41);
George Burgess IV170d8da2016-02-24 15:55:55 -08001058t3499f41 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001059TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 512, 0));
1060TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4, 512));
1061TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4096, 516));
1062TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4, 4612));
1063TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4, 4616));
1064TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4096, 4620));
1065TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4, 8716));
1066TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4, 8720));
1067TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4096, 8724));
1068TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4, 12820));
1069TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4, 12824));
1070TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4096, 12828));
1071TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4, 16924));
1072TEMP_FAILURE_RETRY(pread(t3499f41, buf, 8, 17408));
1073TEMP_FAILURE_RETRY(fdatasync(t3499f41));
1074t3499f42 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1075TEMP_FAILURE_RETRY(fdatasync(t3499f42));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001076close(t3499f42);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001077TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 12, 0));
1078TEMP_FAILURE_RETRY(fdatasync(t3499f41));
1079TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 28, 0));
1080TEMP_FAILURE_RETRY(fdatasync(t3499f41));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001081close(t3499f41);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001082t3499f41 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1083TEMP_FAILURE_RETRY(pread(t3499f41, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001084close(t3499f41);
George Burgess IV170d8da2016-02-24 15:55:55 -08001085t3499f41 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001086TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 512, 0));
1087TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4, 512));
1088TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4096, 516));
1089TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4, 4612));
1090TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4, 4616));
1091TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4096, 4620));
1092TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4, 8716));
1093TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4, 8720));
1094TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4096, 8724));
1095TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4, 12820));
1096TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4, 12824));
1097TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4096, 12828));
1098TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 4, 16924));
1099TEMP_FAILURE_RETRY(pread(t3499f41, buf, 8, 17408));
1100TEMP_FAILURE_RETRY(fdatasync(t3499f41));
1101t3499f42 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1102TEMP_FAILURE_RETRY(fdatasync(t3499f42));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001103close(t3499f42);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001104TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 12, 0));
1105TEMP_FAILURE_RETRY(fdatasync(t3499f41));
1106TEMP_FAILURE_RETRY(pwrite(t3499f41, buf, 28, 0));
1107TEMP_FAILURE_RETRY(fdatasync(t3499f41));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001108close(t3499f41);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001109t3499f41 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1110TEMP_FAILURE_RETRY(pread(t3499f41, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001111close(t3499f41);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001112int t3499f40 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001113TEMP_FAILURE_RETRY(pread(t3499f40, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001114close(t3499f40);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001115int t3492f40 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001116TEMP_FAILURE_RETRY(pread(t3492f40, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001117close(t3492f40);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001118TEMP_FAILURE_RETRY(pread(t3492f31, buf, 16, 24));
1119TEMP_FAILURE_RETRY(pread(t3492f31, buf, 4096, 36864));
George Burgess IV170d8da2016-02-24 15:55:55 -08001120t3499f40 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001121TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 512, 0));
1122TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 512));
1123TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4096, 516));
1124TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 4612));
1125TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 4616));
1126TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4096, 4620));
1127TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 8716));
1128TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 8720));
1129TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4096, 8724));
1130TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 12820));
1131TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 12824));
1132TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4096, 12828));
1133TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 16924));
1134TEMP_FAILURE_RETRY(pread(t3499f40, buf, 8, 17408));
1135TEMP_FAILURE_RETRY(fdatasync(t3499f40));
1136t3499f42 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1137TEMP_FAILURE_RETRY(fdatasync(t3499f42));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001138close(t3499f42);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001139TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 12, 0));
1140TEMP_FAILURE_RETRY(fdatasync(t3499f40));
1141TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 28, 0));
1142TEMP_FAILURE_RETRY(fdatasync(t3499f40));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001143close(t3499f40);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001144t3499f40 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1145TEMP_FAILURE_RETRY(pread(t3499f40, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001146close(t3499f40);
George Burgess IV170d8da2016-02-24 15:55:55 -08001147t3499f40 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001148TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 512, 0));
1149TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 512));
1150TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4096, 516));
1151TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 4612));
1152TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 4616));
1153TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4096, 4620));
1154TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 8716));
1155TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 8720));
1156TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4096, 8724));
1157TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 12820));
1158TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 12824));
1159TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4096, 12828));
1160TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 16924));
1161TEMP_FAILURE_RETRY(pread(t3499f40, buf, 8, 17408));
1162TEMP_FAILURE_RETRY(fdatasync(t3499f40));
1163t3499f42 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1164TEMP_FAILURE_RETRY(fdatasync(t3499f42));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001165close(t3499f42);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001166TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 12, 0));
1167TEMP_FAILURE_RETRY(fdatasync(t3499f40));
1168TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 28, 0));
1169TEMP_FAILURE_RETRY(fdatasync(t3499f40));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001170close(t3499f40);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001171t3499f40 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1172TEMP_FAILURE_RETRY(pread(t3499f40, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001173close(t3499f40);
George Burgess IV170d8da2016-02-24 15:55:55 -08001174t3499f40 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001175TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 512, 0));
1176TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 512));
1177TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4096, 516));
1178TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 4612));
1179TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 4616));
1180TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4096, 4620));
1181TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 8716));
1182TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 8720));
1183TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4096, 8724));
1184TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 12820));
1185TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 12824));
1186TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4096, 12828));
1187TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 16924));
1188TEMP_FAILURE_RETRY(pread(t3499f40, buf, 8, 17408));
1189TEMP_FAILURE_RETRY(fdatasync(t3499f40));
1190t3499f42 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1191TEMP_FAILURE_RETRY(fdatasync(t3499f42));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001192close(t3499f42);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001193TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 12, 0));
1194TEMP_FAILURE_RETRY(fdatasync(t3499f40));
1195TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 28, 0));
1196TEMP_FAILURE_RETRY(fdatasync(t3499f40));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001197close(t3499f40);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001198t3499f40 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1199TEMP_FAILURE_RETRY(pread(t3499f40, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001200close(t3499f40);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001201int t3492f41 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001202TEMP_FAILURE_RETRY(pread(t3492f41, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001203close(t3492f41);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001204TEMP_FAILURE_RETRY(pread(t3492f31, buf, 16, 24));
1205TEMP_FAILURE_RETRY(pread(t3492f31, buf, 4096, 45056));
1206TEMP_FAILURE_RETRY(pread(t3492f31, buf, 4096, 90112));
1207TEMP_FAILURE_RETRY(pread(t3492f31, buf, 4096, 94208));
1208t3492f41 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1209TEMP_FAILURE_RETRY(pread(t3492f41, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001210close(t3492f41);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001211TEMP_FAILURE_RETRY(pread(t3492f31, buf, 16, 24));
1212TEMP_FAILURE_RETRY(pread(t3492f31, buf, 4096, 61440));
1213t3499f40 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1214TEMP_FAILURE_RETRY(pread(t3499f40, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001215close(t3499f40);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001216TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35636928));
1217TEMP_FAILURE_RETRY(pread(t3455f17, buf, 60, 35636958));
1218TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2062, 35635200)); // mmap2
George Burgess IV170d8da2016-02-24 15:55:55 -08001219t3499f40 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001220TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 512, 0));
1221TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 512));
1222TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4096, 516));
1223TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 4612));
1224TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 4616));
1225TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4096, 4620));
1226TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 8716));
1227TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 8720));
1228TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4096, 8724));
1229TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 12820));
1230TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 12824));
1231TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4096, 12828));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001232if (!checkpoint(64)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001233TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 16924));
1234TEMP_FAILURE_RETRY(pread(t3499f40, buf, 8, 17408));
1235TEMP_FAILURE_RETRY(fdatasync(t3499f40));
1236t3499f41 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1237TEMP_FAILURE_RETRY(fdatasync(t3499f41));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001238close(t3499f41);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001239TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 12, 0));
1240TEMP_FAILURE_RETRY(fdatasync(t3499f40));
1241TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 28, 0));
1242TEMP_FAILURE_RETRY(fdatasync(t3499f40));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001243close(t3499f40);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001244t3499f40 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1245TEMP_FAILURE_RETRY(pread(t3499f40, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001246close(t3499f40);
George Burgess IV170d8da2016-02-24 15:55:55 -08001247t3499f40 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001248TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 512, 0));
1249TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 512));
1250TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4096, 516));
1251TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 4612));
1252TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 4616));
1253TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4096, 4620));
1254TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 8716));
1255TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 8720));
1256TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4096, 8724));
1257TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 12820));
1258TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 12824));
1259TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4096, 12828));
1260TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 4, 16924));
1261TEMP_FAILURE_RETRY(pread(t3499f40, buf, 8, 17408));
1262TEMP_FAILURE_RETRY(fdatasync(t3499f40));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001263int t3508f42 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001264TEMP_FAILURE_RETRY(lseek(t3508f42, 0, SEEK_END));
1265TEMP_FAILURE_RETRY(lseek(t3508f42, 38891199, SEEK_SET));
1266TEMP_FAILURE_RETRY(read(t3508f42, buf, 65557));
1267TEMP_FAILURE_RETRY(pread(t3508f42, buf, 769726, 38187008)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -07001268close(t3508f42);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001269t3508f42 = TEMP_FAILURE_RETRY(open("file0", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1270TEMP_FAILURE_RETRY(lseek(t3508f42, 0, SEEK_END));
1271TEMP_FAILURE_RETRY(lseek(t3508f42, 38891199, SEEK_SET));
1272TEMP_FAILURE_RETRY(read(t3508f42, buf, 65557));
1273TEMP_FAILURE_RETRY(pread(t3508f42, buf, 769726, 38187008)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -07001274close(t3508f42);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001275int t3499f43 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001276TEMP_FAILURE_RETRY(fdatasync(t3499f43));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001277close(t3499f43);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001278TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 12, 0));
1279TEMP_FAILURE_RETRY(fdatasync(t3499f40));
1280TEMP_FAILURE_RETRY(pwrite(t3499f40, buf, 28, 0));
1281TEMP_FAILURE_RETRY(fdatasync(t3499f40));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001282close(t3499f40);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001283int t3508f40 = TEMP_FAILURE_RETRY(open("file16", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001284TEMP_FAILURE_RETRY(pread(t3508f40, buf, 14048, 0)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -07001285close(t3508f40);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001286int t3499f33 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001287TEMP_FAILURE_RETRY(pread(t3499f33, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001288close(t3499f33);
George Burgess IV170d8da2016-02-24 15:55:55 -08001289t3499f33 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001290TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 512, 0));
1291TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4, 512));
1292TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4096, 516));
1293TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4, 4612));
1294TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4, 4616));
1295TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4096, 4620));
1296TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4, 8716));
1297TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4, 8720));
1298TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4096, 8724));
1299TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4, 12820));
1300TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4, 12824));
1301TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4096, 12828));
1302TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4, 16924));
1303TEMP_FAILURE_RETRY(pread(t3499f33, buf, 8, 17408));
1304TEMP_FAILURE_RETRY(fdatasync(t3499f33));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001305int t3499f39 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001306TEMP_FAILURE_RETRY(fdatasync(t3499f39));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001307close(t3499f39);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001308TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 12, 0));
1309TEMP_FAILURE_RETRY(fdatasync(t3499f33));
1310TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 28, 0));
1311TEMP_FAILURE_RETRY(fdatasync(t3499f33));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001312close(t3499f33);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001313t3499f33 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1314TEMP_FAILURE_RETRY(pread(t3499f33, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001315close(t3499f33);
George Burgess IV170d8da2016-02-24 15:55:55 -08001316t3499f33 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001317TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 512, 0));
1318TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4, 512));
1319TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4096, 516));
1320TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4, 4612));
1321TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4, 4616));
1322TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4096, 4620));
1323TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4, 8716));
1324TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4, 8720));
1325TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4096, 8724));
1326TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4, 12820));
1327TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4, 12824));
1328TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4096, 12828));
1329TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 4, 16924));
1330TEMP_FAILURE_RETRY(pread(t3499f33, buf, 8, 17408));
1331TEMP_FAILURE_RETRY(fdatasync(t3499f33));
1332t3499f39 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1333TEMP_FAILURE_RETRY(fdatasync(t3499f39));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001334close(t3499f39);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001335TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 12, 0));
1336TEMP_FAILURE_RETRY(fdatasync(t3499f33));
1337TEMP_FAILURE_RETRY(pwrite(t3499f33, buf, 28, 0));
1338TEMP_FAILURE_RETRY(fdatasync(t3499f33));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001339close(t3499f33);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001340TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35635115));
1341TEMP_FAILURE_RETRY(pread(t3455f17, buf, 36, 35635145));
1342TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4281, 35631104)); // mmap2
1343TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35448800));
1344TEMP_FAILURE_RETRY(pread(t3455f17, buf, 31, 35448830));
1345TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2408, 35446784)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001346int t3519f33 = TEMP_FAILURE_RETRY(open("file34", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001347TEMP_FAILURE_RETRY(read(t3519f33, buf, 1422));
1348TEMP_FAILURE_RETRY(read(t3519f33, buf, 1));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001349close(t3519f33);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001350TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35378185));
1351TEMP_FAILURE_RETRY(pread(t3455f17, buf, 33, 35378215));
1352TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1535, 35377152)); // mmap2
1353TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35378687));
1354TEMP_FAILURE_RETRY(pread(t3455f17, buf, 40, 35378717));
1355TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2578, 35377152)); // mmap2
1356TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35194783));
1357TEMP_FAILURE_RETRY(pread(t3455f17, buf, 27, 35194813));
1358TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2574, 35192832)); // mmap2
1359TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34408303));
1360TEMP_FAILURE_RETRY(pread(t3455f17, buf, 36, 34408333));
1361TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2280, 34406400)); // mmap2
1362TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32465635));
1363TEMP_FAILURE_RETRY(pread(t3455f17, buf, 48, 32465665));
1364TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4145, 32464896)); // mmap2
1365TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35284839));
1366TEMP_FAILURE_RETRY(pread(t3455f17, buf, 38, 35284869));
1367TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2433, 35282944)); // mmap2
1368TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34435656));
1369TEMP_FAILURE_RETRY(pread(t3455f17, buf, 44, 34435686));
1370TEMP_FAILURE_RETRY(pread(t3455f17, buf, 905, 34435072)); // mmap2
1371TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32557274));
1372TEMP_FAILURE_RETRY(pread(t3455f17, buf, 64, 32557304));
1373TEMP_FAILURE_RETRY(pread(t3455f17, buf, 8345, 32555008)); // mmap2
1374TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32547670));
1375TEMP_FAILURE_RETRY(pread(t3455f17, buf, 63, 32547700));
1376TEMP_FAILURE_RETRY(pread(t3455f17, buf, 10458, 32546816)); // mmap2
1377TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32547259));
1378TEMP_FAILURE_RETRY(pread(t3455f17, buf, 49, 32547289));
1379TEMP_FAILURE_RETRY(pread(t3455f17, buf, 854, 32546816)); // mmap2
1380TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35562037));
1381TEMP_FAILURE_RETRY(pread(t3455f17, buf, 49, 35562067));
1382TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1486, 35561472)); // mmap2
1383TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34535858));
1384TEMP_FAILURE_RETRY(pread(t3455f17, buf, 48, 34535888));
1385TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2793, 34533376)); // mmap2
1386TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34103026));
1387TEMP_FAILURE_RETRY(pread(t3455f17, buf, 44, 34103056));
1388TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4170, 34099200)); // mmap2
1389TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35453961));
1390TEMP_FAILURE_RETRY(pread(t3455f17, buf, 42, 35453991));
1391TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3619, 35450880)); // mmap2
1392TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 29898896));
1393TEMP_FAILURE_RETRY(pread(t3455f17, buf, 48, 29898926));
1394TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2817, 29896704)); // mmap2
1395TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 28212186));
1396TEMP_FAILURE_RETRY(pread(t3455f17, buf, 28, 28212216));
1397TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3308, 28209152)); // mmap2
1398TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 28212460));
1399TEMP_FAILURE_RETRY(pread(t3455f17, buf, 29, 28212490));
1400TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3585, 28209152)); // mmap2
1401TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34435977));
1402TEMP_FAILURE_RETRY(pread(t3455f17, buf, 46, 34436007));
1403TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1227, 34435072)); // mmap2
1404TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 29899521));
1405TEMP_FAILURE_RETRY(pread(t3455f17, buf, 53, 29899551));
1406TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3195, 29896704)); // mmap2
1407TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 29898513));
1408TEMP_FAILURE_RETRY(pread(t3455f17, buf, 45, 29898543));
1409TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2192, 29896704)); // mmap2
1410TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35344567));
1411TEMP_FAILURE_RETRY(pread(t3455f17, buf, 28, 35344597));
1412TEMP_FAILURE_RETRY(pread(t3455f17, buf, 529, 35344384)); // mmap2
1413TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35344913));
1414TEMP_FAILURE_RETRY(pread(t3455f17, buf, 33, 35344943));
1415TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1043, 35344384)); // mmap2
1416TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32576839));
1417TEMP_FAILURE_RETRY(pread(t3455f17, buf, 49, 32576869));
1418TEMP_FAILURE_RETRY(pread(t3455f17, buf, 5361, 32575488)); // mmap2
1419TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35254403));
1420TEMP_FAILURE_RETRY(pread(t3455f17, buf, 39, 35254433));
1421TEMP_FAILURE_RETRY(pread(t3455f17, buf, 650, 35254272)); // mmap2
1422TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35722278));
1423TEMP_FAILURE_RETRY(pread(t3455f17, buf, 43, 35722308));
1424TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1541, 35721216)); // mmap2
1425TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35894101));
1426TEMP_FAILURE_RETRY(pread(t3455f17, buf, 51, 35894131));
1427TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1698, 35893248)); // mmap2
1428TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34723655));
1429TEMP_FAILURE_RETRY(pread(t3455f17, buf, 40, 34723685));
1430TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2180, 34721792)); // mmap2
1431TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35610903));
1432TEMP_FAILURE_RETRY(pread(t3455f17, buf, 37, 35610933));
1433TEMP_FAILURE_RETRY(pread(t3455f17, buf, 726, 35610624)); // mmap2
1434TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35722757));
1435TEMP_FAILURE_RETRY(pread(t3455f17, buf, 41, 35722787));
1436TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1939, 35721216)); // mmap2
1437TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35283991));
1438TEMP_FAILURE_RETRY(pread(t3455f17, buf, 42, 35284021));
1439TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1461, 35282944)); // mmap2
1440TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35276797));
1441TEMP_FAILURE_RETRY(pread(t3455f17, buf, 28, 35276827));
1442TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2365, 35274752)); // mmap2
1443TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 29897692));
1444TEMP_FAILURE_RETRY(pread(t3455f17, buf, 34, 29897722));
1445TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1809, 29896704)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001446int t3523f49 = TEMP_FAILURE_RETRY(open("file33", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001447TEMP_FAILURE_RETRY(read(t3523f49, buf, 8192));
1448TEMP_FAILURE_RETRY(read(t3523f49, buf, 8091));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001449close(t3523f49);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001450int t3455f50 = TEMP_FAILURE_RETRY(open("file7", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001451close(t3455f50);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001452t3455f50 = TEMP_FAILURE_RETRY(open("file35", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1453TEMP_FAILURE_RETRY(pread(t3455f50, buf, 52, 0));
1454TEMP_FAILURE_RETRY(pread(t3455f50, buf, 4096, 0)); // mmap2
1455TEMP_FAILURE_RETRY(pread(t3455f50, buf, 117507, 0)); // mmap2
1456TEMP_FAILURE_RETRY(pread(t3455f50, buf, 4100, 114688)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -07001457close(t3455f50);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001458t3455f50 = TEMP_FAILURE_RETRY(open("file36", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1459TEMP_FAILURE_RETRY(pread(t3455f50, buf, 52, 0));
1460TEMP_FAILURE_RETRY(pread(t3455f50, buf, 4096, 0)); // mmap2
1461TEMP_FAILURE_RETRY(pread(t3455f50, buf, 187587, 0)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001462if (!checkpoint(67)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001463TEMP_FAILURE_RETRY(pread(t3455f50, buf, 4128, 188416)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -07001464close(t3455f50);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001465t3455f50 = TEMP_FAILURE_RETRY(open("file24", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001466close(t3455f50);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001467t3455f50 = TEMP_FAILURE_RETRY(open("file37", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1468TEMP_FAILURE_RETRY(pread(t3455f50, buf, 52, 0));
1469TEMP_FAILURE_RETRY(pread(t3455f50, buf, 4096, 0)); // mmap2
1470TEMP_FAILURE_RETRY(pread(t3455f50, buf, 155576, 0)); // mmap2
1471TEMP_FAILURE_RETRY(pread(t3455f50, buf, 4104, 155648)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -07001472close(t3455f50);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001473t3455f50 = TEMP_FAILURE_RETRY(open("file38", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1474TEMP_FAILURE_RETRY(pread(t3455f50, buf, 52, 0));
1475TEMP_FAILURE_RETRY(pread(t3455f50, buf, 4096, 0)); // mmap2
1476TEMP_FAILURE_RETRY(pread(t3455f50, buf, 61218, 0)); // mmap2
1477TEMP_FAILURE_RETRY(pread(t3455f50, buf, 4280, 61440)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -07001478close(t3455f50);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001479TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 29922405));
1480TEMP_FAILURE_RETRY(pread(t3455f17, buf, 45, 29922435));
1481TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1962, 29921280)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001482int t3499f50 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001483TEMP_FAILURE_RETRY(pread(t3499f50, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001484close(t3499f50);
George Burgess IV170d8da2016-02-24 15:55:55 -08001485t3499f50 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001486TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 512, 0));
1487TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4, 512));
1488TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4096, 516));
1489TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4, 4612));
1490TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4, 4616));
1491TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4096, 4620));
1492TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4, 8716));
1493TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4, 8720));
1494TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4096, 8724));
1495TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4, 12820));
1496TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4, 12824));
1497TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4096, 12828));
1498TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4, 16924));
1499TEMP_FAILURE_RETRY(pread(t3499f50, buf, 8, 17408));
1500TEMP_FAILURE_RETRY(fdatasync(t3499f50));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001501int t3499f52 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001502TEMP_FAILURE_RETRY(fdatasync(t3499f52));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001503close(t3499f52);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001504TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 12, 0));
1505TEMP_FAILURE_RETRY(fdatasync(t3499f50));
1506TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 28, 0));
1507TEMP_FAILURE_RETRY(fdatasync(t3499f50));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001508close(t3499f50);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001509t3499f50 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1510TEMP_FAILURE_RETRY(pread(t3499f50, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001511close(t3499f50);
George Burgess IV170d8da2016-02-24 15:55:55 -08001512t3499f50 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001513TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 512, 0));
1514TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4, 512));
1515TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4096, 516));
1516TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4, 4612));
1517TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4, 4616));
1518TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4096, 4620));
1519TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4, 8716));
1520TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4, 8720));
1521TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4096, 8724));
1522TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4, 12820));
1523TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4, 12824));
1524TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4096, 12828));
1525TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 4, 16924));
1526TEMP_FAILURE_RETRY(pread(t3499f50, buf, 8, 17408));
1527TEMP_FAILURE_RETRY(fdatasync(t3499f50));
1528t3499f52 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1529TEMP_FAILURE_RETRY(fdatasync(t3499f52));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001530close(t3499f52);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001531TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 12, 0));
1532TEMP_FAILURE_RETRY(fdatasync(t3499f50));
1533TEMP_FAILURE_RETRY(pwrite(t3499f50, buf, 28, 0));
1534TEMP_FAILURE_RETRY(fdatasync(t3499f50));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001535close(t3499f50);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001536TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34609966));
1537TEMP_FAILURE_RETRY(pread(t3455f17, buf, 26, 34609996));
1538TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3291, 34607104)); // mmap2
1539TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 31439600));
1540TEMP_FAILURE_RETRY(pread(t3455f17, buf, 39, 31439630));
1541TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3729, 31436800)); // mmap2
1542TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 33255456));
1543TEMP_FAILURE_RETRY(pread(t3455f17, buf, 43, 33255486));
1544TEMP_FAILURE_RETRY(pread(t3455f17, buf, 795, 33255424)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001545int t3492f52 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001546TEMP_FAILURE_RETRY(pread(t3492f52, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001547close(t3492f52);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001548TEMP_FAILURE_RETRY(pread(t3492f31, buf, 16, 24));
1549TEMP_FAILURE_RETRY(pread(t3492f31, buf, 4096, 28672));
1550TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35345427));
1551TEMP_FAILURE_RETRY(pread(t3455f17, buf, 31, 35345457));
1552TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1460, 35344384)); // mmap2
1553t3492f52 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1554TEMP_FAILURE_RETRY(pread(t3492f52, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001555close(t3492f52);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001556TEMP_FAILURE_RETRY(pread(t3492f31, buf, 16, 24));
1557TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35946630));
1558TEMP_FAILURE_RETRY(pread(t3455f17, buf, 27, 35946660));
1559TEMP_FAILURE_RETRY(pread(t3455f17, buf, 376, 35946496)); // mmap2
1560TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35282311));
1561TEMP_FAILURE_RETRY(pread(t3455f17, buf, 35, 35282341));
1562TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4412, 35278848)); // mmap2
1563TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 28266007));
1564TEMP_FAILURE_RETRY(pread(t3455f17, buf, 38, 28266037));
1565TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3898, 28262400)); // mmap2
1566TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 28271259));
1567TEMP_FAILURE_RETRY(pread(t3455f17, buf, 33, 28271289));
1568TEMP_FAILURE_RETRY(pread(t3455f17, buf, 960, 28270592)); // mmap2
1569TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 29218555));
1570TEMP_FAILURE_RETRY(pread(t3455f17, buf, 42, 29218585));
1571TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2281, 29216768)); // mmap2
1572TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 28771544));
1573TEMP_FAILURE_RETRY(pread(t3455f17, buf, 44, 28771574));
1574TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2470, 28770304)); // mmap2
1575TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 31103055));
1576TEMP_FAILURE_RETRY(pread(t3455f17, buf, 41, 31103085));
1577TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3471, 31100928)); // mmap2
1578TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34430076));
1579TEMP_FAILURE_RETRY(pread(t3455f17, buf, 48, 34430106));
1580TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3543, 34426880)); // mmap2
1581TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32574817));
1582TEMP_FAILURE_RETRY(pread(t3455f17, buf, 46, 32574847));
1583TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4265, 32571392)); // mmap2
1584TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35511105));
1585TEMP_FAILURE_RETRY(pread(t3455f17, buf, 28, 35511135));
1586TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3217, 35508224)); // mmap2
1587TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35511441));
1588TEMP_FAILURE_RETRY(pread(t3455f17, buf, 40, 35511471));
1589TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3780, 35508224)); // mmap2
1590TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35512004));
1591TEMP_FAILURE_RETRY(pread(t3455f17, buf, 33, 35512034));
1592TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4299, 35508224)); // mmap2
1593TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 29943458));
1594TEMP_FAILURE_RETRY(pread(t3455f17, buf, 44, 29943488));
1595TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2309, 29941760)); // mmap2
1596TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35513993));
1597TEMP_FAILURE_RETRY(pread(t3455f17, buf, 34, 35514023));
1598TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2120, 35512320)); // mmap2
1599TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34446657));
1600TEMP_FAILURE_RETRY(pread(t3455f17, buf, 53, 34446687));
1601TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3721, 34443264)); // mmap2
1602TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35513539));
1603TEMP_FAILURE_RETRY(pread(t3455f17, buf, 37, 35513569));
1604TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1673, 35512320)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001605int t3526f50 = TEMP_FAILURE_RETRY(open("file39", O_RDONLY|O_LARGEFILE));
1606int t3526f52 = TEMP_FAILURE_RETRY(open("file40", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001607TEMP_FAILURE_RETRY(pread(t3526f52, buf, 52, 0));
1608TEMP_FAILURE_RETRY(pread(t3526f52, buf, 4096, 0)); // mmap2
1609TEMP_FAILURE_RETRY(pread(t3526f52, buf, 1584, 0)); // mmap2
1610TEMP_FAILURE_RETRY(pread(t3526f52, buf, 4172, 0)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -07001611close(t3526f52);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001612TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34434708));
1613TEMP_FAILURE_RETRY(pread(t3455f17, buf, 48, 34434738));
1614TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4060, 34430976)); // mmap2
1615TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32576277));
1616TEMP_FAILURE_RETRY(pread(t3455f17, buf, 46, 32576307));
1617TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1351, 32575488)); // mmap2
1618TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 31155301));
1619TEMP_FAILURE_RETRY(pread(t3455f17, buf, 47, 31155331));
1620TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1721, 31154176)); // mmap2
1621TEMP_FAILURE_RETRY(read(t3526f50, buf, 16384));
1622TEMP_FAILURE_RETRY(read(t3526f50, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001623close(t3526f50);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001624TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34433783));
1625TEMP_FAILURE_RETRY(pread(t3455f17, buf, 44, 34433813));
1626TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3113, 34430976)); // mmap2
1627TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32575657));
1628TEMP_FAILURE_RETRY(pread(t3455f17, buf, 49, 32575687));
1629TEMP_FAILURE_RETRY(pread(t3455f17, buf, 451, 32575488)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001630int t3519f50 = TEMP_FAILURE_RETRY(open("file41", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001631TEMP_FAILURE_RETRY(read(t3519f50, buf, 16384));
1632TEMP_FAILURE_RETRY(read(t3519f50, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001633close(t3519f50);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001634TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 36042811));
1635TEMP_FAILURE_RETRY(pread(t3455f17, buf, 38, 36042841));
1636TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2688, 36040704)); // mmap2
1637TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 31522913));
1638TEMP_FAILURE_RETRY(pread(t3455f17, buf, 39, 31522943));
1639TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2245, 31522816)); // mmap2
1640TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 29920348));
1641TEMP_FAILURE_RETRY(pread(t3455f17, buf, 42, 29920378));
1642TEMP_FAILURE_RETRY(pread(t3455f17, buf, 5221, 29917184)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001643int t3527f50 = TEMP_FAILURE_RETRY(open("file42", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001644TEMP_FAILURE_RETRY(pread(t3527f50, buf, 52, 0));
1645TEMP_FAILURE_RETRY(pread(t3527f50, buf, 4096, 0)); // mmap2
1646TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32567874));
1647TEMP_FAILURE_RETRY(pread(t3527f50, buf, 26358, 0)); // mmap2
1648TEMP_FAILURE_RETRY(pread(t3455f17, buf, 53, 32567904));
1649TEMP_FAILURE_RETRY(pread(t3527f50, buf, 4160, 24576)); // mmap2
1650TEMP_FAILURE_RETRY(pread(t3455f17, buf, 6297, 32567296)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -07001651close(t3527f50);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001652TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32566237));
1653TEMP_FAILURE_RETRY(pread(t3455f17, buf, 55, 32566267));
1654TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4674, 32563200)); // mmap2
1655TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32564659));
1656TEMP_FAILURE_RETRY(pread(t3455f17, buf, 55, 32564689));
1657TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3037, 32563200)); // mmap2
1658t3519f50 = TEMP_FAILURE_RETRY(open("file43", O_RDONLY|O_LARGEFILE));
1659TEMP_FAILURE_RETRY(read(t3519f50, buf, 16384));
1660TEMP_FAILURE_RETRY(read(t3519f50, buf, 16384));
1661TEMP_FAILURE_RETRY(read(t3519f50, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001662close(t3519f50);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001663int t3492f50 = TEMP_FAILURE_RETRY(open("file44", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001664TEMP_FAILURE_RETRY(pread(t3492f50, buf, 52, 0));
1665TEMP_FAILURE_RETRY(pread(t3492f50, buf, 4096, 0)); // mmap2
1666TEMP_FAILURE_RETRY(pread(t3492f50, buf, 10313, 0)); // mmap2
1667TEMP_FAILURE_RETRY(pread(t3492f50, buf, 4136, 8192)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -07001668close(t3492f50);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001669t3519f50 = TEMP_FAILURE_RETRY(open("file45", O_RDONLY|O_LARGEFILE));
1670TEMP_FAILURE_RETRY(read(t3519f50, buf, 16384));
1671TEMP_FAILURE_RETRY(read(t3519f50, buf, 16384));
1672t3526f52 = TEMP_FAILURE_RETRY(open("file46", O_RDONLY|O_LARGEFILE));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001673close(t3519f50);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001674TEMP_FAILURE_RETRY(read(t3526f52, buf, 16384));
1675TEMP_FAILURE_RETRY(read(t3526f52, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001676close(t3526f52);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001677int t3532f53 = TEMP_FAILURE_RETRY(open("file47", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001678TEMP_FAILURE_RETRY(read(t3532f53, buf, 16384));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001679int t3533f47 = TEMP_FAILURE_RETRY(open("file48", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001680TEMP_FAILURE_RETRY(read(t3532f53, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001681close(t3532f53);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001682TEMP_FAILURE_RETRY(read(t3533f47, buf, 16384));
1683TEMP_FAILURE_RETRY(read(t3533f47, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001684close(t3533f47);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001685int t3519f43 = TEMP_FAILURE_RETRY(open("file49", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001686TEMP_FAILURE_RETRY(read(t3519f43, buf, 16384));
1687TEMP_FAILURE_RETRY(read(t3519f43, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001688close(t3519f43);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001689int t3532f43 = TEMP_FAILURE_RETRY(open("file50", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001690TEMP_FAILURE_RETRY(read(t3532f43, buf, 16384));
1691TEMP_FAILURE_RETRY(read(t3532f43, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001692close(t3532f43);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001693int t3533f43 = TEMP_FAILURE_RETRY(open("file51", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001694TEMP_FAILURE_RETRY(read(t3533f43, buf, 16384));
1695TEMP_FAILURE_RETRY(read(t3533f43, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001696close(t3533f43);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001697t3519f43 = TEMP_FAILURE_RETRY(open("file52", O_RDONLY|O_LARGEFILE));
1698t3532f53 = TEMP_FAILURE_RETRY(open("file53", O_RDONLY|O_LARGEFILE));
1699TEMP_FAILURE_RETRY(read(t3519f43, buf, 16384));
1700TEMP_FAILURE_RETRY(read(t3519f43, buf, 16384));
1701TEMP_FAILURE_RETRY(read(t3519f43, buf, 16384));
1702TEMP_FAILURE_RETRY(read(t3532f53, buf, 16384));
1703TEMP_FAILURE_RETRY(read(t3532f53, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001704close(t3519f43);
1705close(t3532f53);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001706int t3492f57 = TEMP_FAILURE_RETRY(open("file54", O_RDONLY|O_LARGEFILE));
1707if (!checkpoint(70)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001708TEMP_FAILURE_RETRY(read(t3492f57, buf, 39938));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001709close(t3492f57);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001710int t3492f61 = TEMP_FAILURE_RETRY(open("file55", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001711TEMP_FAILURE_RETRY(read(t3492f61, buf, 8192));
1712TEMP_FAILURE_RETRY(read(t3492f61, buf, 8192));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001713close(t3492f61);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001714t3492f61 = TEMP_FAILURE_RETRY(open("file56", O_RDONLY|O_LARGEFILE));
1715TEMP_FAILURE_RETRY(read(t3492f61, buf, 8192));
1716TEMP_FAILURE_RETRY(read(t3492f61, buf, 8192));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001717close(t3492f61);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001718TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34957756));
1719TEMP_FAILURE_RETRY(pread(t3455f17, buf, 29, 34957786));
1720TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3273, 34955264)); // mmap2
1721TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34267550));
1722TEMP_FAILURE_RETRY(pread(t3455f17, buf, 49, 34267580));
1723TEMP_FAILURE_RETRY(pread(t3455f17, buf, 722, 34267136)); // mmap2
1724TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34439777));
1725TEMP_FAILURE_RETRY(pread(t3455f17, buf, 46, 34439807));
1726TEMP_FAILURE_RETRY(pread(t3455f17, buf, 920, 34439168)); // mmap2
1727TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35154576));
1728TEMP_FAILURE_RETRY(pread(t3455f17, buf, 29, 35154606));
1729TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3467, 35151872)); // mmap2
1730TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34418681));
1731TEMP_FAILURE_RETRY(pread(t3455f17, buf, 41, 34418711));
1732TEMP_FAILURE_RETRY(pread(t3455f17, buf, 339, 34418688)); // mmap2
1733TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 31439600));
1734TEMP_FAILURE_RETRY(pread(t3455f17, buf, 39, 31439630));
1735TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3729, 31436800)); // mmap2
1736TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34420375));
1737TEMP_FAILURE_RETRY(pread(t3455f17, buf, 46, 34420405));
1738TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2143, 34418688)); // mmap2
1739TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 31439101));
1740TEMP_FAILURE_RETRY(pread(t3455f17, buf, 42, 31439131));
1741TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2800, 31436800)); // mmap2
1742TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34420831));
1743TEMP_FAILURE_RETRY(pread(t3455f17, buf, 48, 34420861));
1744TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2549, 34418688)); // mmap2
1745TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 31442196));
1746TEMP_FAILURE_RETRY(pread(t3455f17, buf, 40, 31442226));
1747TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2300, 31440896)); // mmap2
1748TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34421573));
1749TEMP_FAILURE_RETRY(pread(t3455f17, buf, 47, 34421603));
1750TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3344, 34418688)); // mmap2
1751TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34429110));
1752TEMP_FAILURE_RETRY(pread(t3455f17, buf, 51, 34429140));
1753TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2566, 34426880)); // mmap2
1754TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32573593));
1755TEMP_FAILURE_RETRY(pread(t3455f17, buf, 49, 32573623));
1756TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2814, 32571392)); // mmap2
1757TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 36353719));
1758TEMP_FAILURE_RETRY(pread(t3455f17, buf, 43, 36353749));
1759TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2179, 36352000)); // mmap2
1760TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35512004));
1761TEMP_FAILURE_RETRY(pread(t3455f17, buf, 33, 35512034));
1762TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4299, 35508224)); // mmap2
1763TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34434392));
1764TEMP_FAILURE_RETRY(pread(t3455f17, buf, 49, 34434422));
1765TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3732, 34430976)); // mmap2
1766TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34442017));
1767TEMP_FAILURE_RETRY(pread(t3455f17, buf, 42, 34442047));
1768TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3276, 34439168)); // mmap2
1769TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34957756));
1770TEMP_FAILURE_RETRY(pread(t3455f17, buf, 29, 34957786));
1771TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3273, 34955264)); // mmap2
1772TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35154576));
1773TEMP_FAILURE_RETRY(pread(t3455f17, buf, 29, 35154606));
1774TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3467, 35151872)); // mmap2
1775TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34433472));
1776TEMP_FAILURE_RETRY(pread(t3455f17, buf, 49, 34433502));
1777TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2807, 34430976)); // mmap2
1778TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34438470));
1779TEMP_FAILURE_RETRY(pread(t3455f17, buf, 63, 34438500));
1780TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3681, 34435072)); // mmap2
1781TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35281553));
1782TEMP_FAILURE_RETRY(pread(t3455f17, buf, 34, 35281583));
1783TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3463, 35278848)); // mmap2
1784TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34419413));
1785TEMP_FAILURE_RETRY(pread(t3455f17, buf, 51, 34419443));
1786TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1188, 34418688)); // mmap2
1787TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35511105));
1788TEMP_FAILURE_RETRY(pread(t3455f17, buf, 28, 35511135));
1789TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3217, 35508224)); // mmap2
1790TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35511441));
1791TEMP_FAILURE_RETRY(pread(t3455f17, buf, 40, 35511471));
1792TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3780, 35508224)); // mmap2
1793TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35512004));
1794TEMP_FAILURE_RETRY(pread(t3455f17, buf, 33, 35512034));
1795TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4299, 35508224)); // mmap2
1796TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35513993));
1797TEMP_FAILURE_RETRY(pread(t3455f17, buf, 34, 35514023));
1798TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2120, 35512320)); // mmap2
1799TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35513539));
1800TEMP_FAILURE_RETRY(pread(t3455f17, buf, 37, 35513569));
1801TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1673, 35512320)); // mmap2
1802TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 28977951));
1803TEMP_FAILURE_RETRY(pread(t3455f17, buf, 48, 28977981));
1804TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3292, 28975104)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001805int t3499f55 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001806TEMP_FAILURE_RETRY(pread(t3499f55, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001807close(t3499f55);
George Burgess IV170d8da2016-02-24 15:55:55 -08001808t3499f55 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001809TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 512, 0));
1810TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 512));
1811TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4096, 516));
1812TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 4612));
1813TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 4616));
1814TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4096, 4620));
1815TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 8716));
1816TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 8720));
1817TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4096, 8724));
1818TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 12820));
1819TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 12824));
1820TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4096, 12828));
1821TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 16924));
1822TEMP_FAILURE_RETRY(pread(t3499f55, buf, 8, 17408));
1823TEMP_FAILURE_RETRY(fdatasync(t3499f55));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001824int t3499f56 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001825TEMP_FAILURE_RETRY(fdatasync(t3499f56));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001826close(t3499f56);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001827TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 12, 0));
1828TEMP_FAILURE_RETRY(fdatasync(t3499f55));
1829TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 28, 0));
1830TEMP_FAILURE_RETRY(fdatasync(t3499f55));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001831close(t3499f55);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001832int t3505f55 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001833TEMP_FAILURE_RETRY(pread(t3505f55, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001834close(t3505f55);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001835int t3519f55 = TEMP_FAILURE_RETRY(open("file57", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001836TEMP_FAILURE_RETRY(read(t3519f55, buf, 16384));
1837TEMP_FAILURE_RETRY(read(t3519f55, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001838close(t3519f55);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001839int t3532f55 = TEMP_FAILURE_RETRY(open("file58", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001840t3499f56 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1841TEMP_FAILURE_RETRY(pread(t3499f56, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001842close(t3499f56);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001843TEMP_FAILURE_RETRY(read(t3532f55, buf, 16384));
1844TEMP_FAILURE_RETRY(read(t3532f55, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001845close(t3532f55);
George Burgess IV170d8da2016-02-24 15:55:55 -08001846t3499f55 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001847int t3505f56 = TEMP_FAILURE_RETRY(open("file59", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001848TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 512, 0));
1849TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 512));
1850TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4096, 516));
1851TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 4612));
1852TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 4616));
1853TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4096, 4620));
1854TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 8716));
1855TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 8720));
1856TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4096, 8724));
1857TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 12820));
1858TEMP_FAILURE_RETRY(pread(t3499f55, buf, 8, 13312));
1859TEMP_FAILURE_RETRY(fdatasync(t3499f55));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001860int t3499f59 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001861TEMP_FAILURE_RETRY(fdatasync(t3499f59));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001862close(t3499f59);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001863TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 12, 0));
1864TEMP_FAILURE_RETRY(fdatasync(t3499f55));
1865TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 28, 0));
1866TEMP_FAILURE_RETRY(fdatasync(t3499f55));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001867close(t3499f55);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001868int t3533f55 = TEMP_FAILURE_RETRY(open("file60", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001869TEMP_FAILURE_RETRY(read(t3533f55, buf, 16384));
1870TEMP_FAILURE_RETRY(read(t3533f55, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001871close(t3533f55);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001872int t3499f58 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001873TEMP_FAILURE_RETRY(pread(t3499f58, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001874close(t3499f58);
George Burgess IV170d8da2016-02-24 15:55:55 -08001875t3499f58 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001876TEMP_FAILURE_RETRY(pwrite(t3499f58, buf, 512, 0));
1877TEMP_FAILURE_RETRY(pwrite(t3499f58, buf, 4, 512));
1878TEMP_FAILURE_RETRY(pwrite(t3499f58, buf, 4096, 516));
1879TEMP_FAILURE_RETRY(pwrite(t3499f58, buf, 4, 4612));
1880TEMP_FAILURE_RETRY(pwrite(t3499f58, buf, 4, 4616));
1881TEMP_FAILURE_RETRY(pwrite(t3499f58, buf, 4096, 4620));
1882TEMP_FAILURE_RETRY(pwrite(t3499f58, buf, 4, 8716));
1883TEMP_FAILURE_RETRY(pwrite(t3499f58, buf, 4, 8720));
1884TEMP_FAILURE_RETRY(pwrite(t3499f58, buf, 4096, 8724));
1885TEMP_FAILURE_RETRY(pwrite(t3499f58, buf, 4, 12820));
1886TEMP_FAILURE_RETRY(pread(t3499f58, buf, 8, 13312));
1887TEMP_FAILURE_RETRY(fdatasync(t3499f58));
1888t3499f59 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1889TEMP_FAILURE_RETRY(fdatasync(t3499f59));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001890close(t3499f59);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001891TEMP_FAILURE_RETRY(pwrite(t3499f58, buf, 12, 0));
1892TEMP_FAILURE_RETRY(fdatasync(t3499f58));
1893TEMP_FAILURE_RETRY(pwrite(t3499f58, buf, 28, 0));
1894TEMP_FAILURE_RETRY(fdatasync(t3499f58));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001895close(t3499f58);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001896TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 36353719));
1897TEMP_FAILURE_RETRY(pread(t3455f17, buf, 43, 36353749));
1898TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2179, 36352000)); // mmap2
1899TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34428771));
1900TEMP_FAILURE_RETRY(pread(t3455f17, buf, 59, 34428801));
1901TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2230, 34426880)); // mmap2
1902TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34441089));
1903TEMP_FAILURE_RETRY(pread(t3455f17, buf, 45, 34441119));
1904TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2381, 34439168)); // mmap2
1905t3499f55 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1906TEMP_FAILURE_RETRY(pread(t3499f55, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001907close(t3499f55);
George Burgess IV170d8da2016-02-24 15:55:55 -08001908t3499f55 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001909TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 512, 0));
1910TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 512));
1911TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4096, 516));
1912TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 4612));
1913TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 4616));
1914TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4096, 4620));
1915TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 8716));
1916TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 8720));
1917TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4096, 8724));
1918TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 12820));
1919TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 12824));
1920TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4096, 12828));
1921TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 16924));
1922TEMP_FAILURE_RETRY(pread(t3499f55, buf, 8, 17408));
1923TEMP_FAILURE_RETRY(fdatasync(t3499f55));
1924t3499f58 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1925TEMP_FAILURE_RETRY(fdatasync(t3499f58));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001926close(t3499f58);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001927TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 12, 0));
1928TEMP_FAILURE_RETRY(fdatasync(t3499f55));
1929TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 28, 0));
1930TEMP_FAILURE_RETRY(fdatasync(t3499f55));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001931close(t3499f55);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001932t3499f55 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1933TEMP_FAILURE_RETRY(pread(t3499f55, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001934close(t3499f55);
George Burgess IV170d8da2016-02-24 15:55:55 -08001935t3499f55 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001936TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 512, 0));
1937TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 512));
1938TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4096, 516));
1939TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 4612));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07001940if (!checkpoint(73)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001941TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 4616));
1942TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4096, 4620));
1943TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 8716));
1944TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 8720));
1945TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4096, 8724));
1946TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 4, 12820));
1947TEMP_FAILURE_RETRY(pread(t3499f55, buf, 8, 13312));
1948TEMP_FAILURE_RETRY(fdatasync(t3499f55));
1949t3499f58 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
1950TEMP_FAILURE_RETRY(fdatasync(t3499f58));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001951close(t3499f58);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001952TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 12, 0));
1953TEMP_FAILURE_RETRY(fdatasync(t3499f55));
1954TEMP_FAILURE_RETRY(pwrite(t3499f55, buf, 28, 0));
1955TEMP_FAILURE_RETRY(fdatasync(t3499f55));
Elliott Hughes4e378be2015-05-28 22:02:14 -07001956close(t3499f55);
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06001957TEMP_FAILURE_RETRY(write(t3505f56, buf, 20552));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001958TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35601253));
1959TEMP_FAILURE_RETRY(pread(t3455f17, buf, 36, 35601283));
1960TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3224, 35598336)); // mmap2
1961TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35601560));
1962TEMP_FAILURE_RETRY(pread(t3455f17, buf, 45, 35601590));
1963TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3832, 35598336)); // mmap2
1964TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35511441));
1965TEMP_FAILURE_RETRY(pread(t3455f17, buf, 40, 35511471));
1966TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3780, 35508224)); // mmap2
1967TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 29923242));
1968TEMP_FAILURE_RETRY(pread(t3455f17, buf, 40, 29923272));
1969TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3511, 29921280)); // mmap2
1970TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 28272466));
1971TEMP_FAILURE_RETRY(pread(t3455f17, buf, 38, 28272496));
1972TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2171, 28270592)); // mmap2
1973TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35513993));
1974TEMP_FAILURE_RETRY(pread(t3455f17, buf, 34, 35514023));
1975TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2120, 35512320)); // mmap2
1976TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34446657));
1977TEMP_FAILURE_RETRY(pread(t3455f17, buf, 53, 34446687));
1978TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3721, 34443264)); // mmap2
1979TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35513539));
1980TEMP_FAILURE_RETRY(pread(t3455f17, buf, 37, 35513569));
1981TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1673, 35512320)); // mmap2
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06001982TEMP_FAILURE_RETRY(write(t3505f56, buf, 16008));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001983TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 31153857));
1984TEMP_FAILURE_RETRY(pread(t3455f17, buf, 48, 31153887));
1985TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4461, 31150080)); // mmap2
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06001986TEMP_FAILURE_RETRY(write(t3505f56, buf, 10864));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07001987TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34907552));
1988TEMP_FAILURE_RETRY(pread(t3455f17, buf, 39, 34907582));
1989TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2551, 34906112)); // mmap2
1990TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 31809921));
1991TEMP_FAILURE_RETRY(pread(t3455f17, buf, 71, 31809951));
1992TEMP_FAILURE_RETRY(pread(t3455f17, buf, 7755, 31809536)); // mmap2
1993TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34423668));
1994TEMP_FAILURE_RETRY(pread(t3455f17, buf, 60, 34423698));
1995TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1203, 34422784)); // mmap2
1996TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 30431338));
1997TEMP_FAILURE_RETRY(pread(t3455f17, buf, 42, 30431368));
1998TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4400, 30429184)); // mmap2
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06001999TEMP_FAILURE_RETRY(write(t3505f56, buf, 14320));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002000TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34416128));
2001TEMP_FAILURE_RETRY(pread(t3455f17, buf, 43, 34416158));
2002TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1855, 34414592)); // mmap2
2003TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 29893363));
2004TEMP_FAILURE_RETRY(pread(t3455f17, buf, 66, 29893393));
2005TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1244, 29892608)); // mmap2
2006TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 29892892));
2007TEMP_FAILURE_RETRY(pread(t3455f17, buf, 58, 29892922));
2008TEMP_FAILURE_RETRY(pread(t3455f17, buf, 755, 29892608)); // mmap2
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06002009TEMP_FAILURE_RETRY(write(t3505f56, buf, 12208));
2010TEMP_FAILURE_RETRY(write(t3505f56, buf, 20736));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002011TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 36353719));
2012TEMP_FAILURE_RETRY(pread(t3455f17, buf, 43, 36353749));
2013TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2179, 36352000)); // mmap2
2014TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35512004));
2015TEMP_FAILURE_RETRY(pread(t3455f17, buf, 33, 35512034));
2016TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4299, 35508224)); // mmap2
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06002017TEMP_FAILURE_RETRY(write(t3505f56, buf, 8936));
2018TEMP_FAILURE_RETRY(write(t3505f56, buf, 2800));
2019TEMP_FAILURE_RETRY(write(t3505f56, buf, 20216));
2020TEMP_FAILURE_RETRY(write(t3505f56, buf, 16912));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002021close(t3505f56);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002022t3505f56 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
2023TEMP_FAILURE_RETRY(pread(t3505f56, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002024close(t3505f56);
George Burgess IV170d8da2016-02-24 15:55:55 -08002025t3505f56 = TEMP_FAILURE_RETRY(open("file31", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002026TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 512, 0));
2027TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 4, 512));
2028TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 4096, 516));
2029TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 4, 4612));
2030TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 4, 4616));
2031TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 4096, 4620));
2032TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 4, 8716));
2033TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 4, 8720));
2034TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 4096, 8724));
2035TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 4, 12820));
2036TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 4, 12824));
2037TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 4096, 12828));
2038TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 4, 16924));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002039int t3499f62 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002040TEMP_FAILURE_RETRY(pread(t3499f62, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002041close(t3499f62);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002042TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 4, 16928));
2043TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 4096, 16932));
2044TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 4, 21028));
2045TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 4, 21032));
2046TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 4096, 21036));
2047TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 4, 25132));
George Burgess IV170d8da2016-02-24 15:55:55 -08002048t3499f62 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002049TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 512, 0));
2050TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 4, 512));
2051TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 4096, 516));
2052TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 4, 4612));
2053TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 4, 4616));
2054TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 4096, 4620));
2055TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 4, 8716));
2056TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 4, 8720));
2057TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 4096, 8724));
2058TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 4, 12820));
2059TEMP_FAILURE_RETRY(pread(t3499f62, buf, 8, 13312));
2060TEMP_FAILURE_RETRY(fdatasync(t3499f62));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002061int t3499f68 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002062TEMP_FAILURE_RETRY(fdatasync(t3499f68));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002063close(t3499f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002064TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 12, 0));
2065TEMP_FAILURE_RETRY(fdatasync(t3499f62));
2066TEMP_FAILURE_RETRY(pread(t3505f56, buf, 8, 25600));
2067TEMP_FAILURE_RETRY(fdatasync(t3505f56));
2068TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 28, 0));
2069TEMP_FAILURE_RETRY(fdatasync(t3499f62));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002070close(t3499f62);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002071int t3505f62 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002072TEMP_FAILURE_RETRY(fdatasync(t3505f62));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002073close(t3505f62);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002074TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 12, 0));
2075TEMP_FAILURE_RETRY(fdatasync(t3505f56));
2076TEMP_FAILURE_RETRY(pwrite(t3505f56, buf, 28, 0));
2077TEMP_FAILURE_RETRY(fdatasync(t3505f56));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002078close(t3505f56);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002079t3505f56 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
2080TEMP_FAILURE_RETRY(pread(t3505f56, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002081close(t3505f56);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002082int t3533f56 = TEMP_FAILURE_RETRY(open("file61", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002083TEMP_FAILURE_RETRY(read(t3533f56, buf, 16384));
2084TEMP_FAILURE_RETRY(read(t3533f56, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002085close(t3533f56);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002086int t3532f56 = TEMP_FAILURE_RETRY(open("file62", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002087TEMP_FAILURE_RETRY(read(t3532f56, buf, 16384));
2088TEMP_FAILURE_RETRY(read(t3532f56, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002089close(t3532f56);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002090t3532f56 = TEMP_FAILURE_RETRY(open("file63", O_RDONLY|O_LARGEFILE));
2091TEMP_FAILURE_RETRY(read(t3532f56, buf, 16384));
2092TEMP_FAILURE_RETRY(read(t3532f56, buf, 16384));
2093TEMP_FAILURE_RETRY(read(t3532f56, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002094close(t3532f56);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002095TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 36042811));
2096TEMP_FAILURE_RETRY(pread(t3455f17, buf, 38, 36042841));
2097TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2688, 36040704)); // mmap2
2098TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 29922405));
2099TEMP_FAILURE_RETRY(pread(t3455f17, buf, 45, 29922435));
2100TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1962, 29921280)); // mmap2
2101TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 31522913));
2102TEMP_FAILURE_RETRY(pread(t3455f17, buf, 39, 31522943));
2103TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2245, 31522816)); // mmap2
2104TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 29920348));
2105TEMP_FAILURE_RETRY(pread(t3455f17, buf, 42, 29920378));
2106TEMP_FAILURE_RETRY(pread(t3455f17, buf, 5221, 29917184)); // mmap2
2107TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32567874));
2108TEMP_FAILURE_RETRY(pread(t3455f17, buf, 53, 32567904));
2109TEMP_FAILURE_RETRY(pread(t3455f17, buf, 6297, 32567296)); // mmap2
2110TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32566237));
2111TEMP_FAILURE_RETRY(pread(t3455f17, buf, 55, 32566267));
2112TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4674, 32563200)); // mmap2
2113TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 32564659));
2114TEMP_FAILURE_RETRY(pread(t3455f17, buf, 55, 32564689));
2115TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3037, 32563200)); // mmap2
2116TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35154576));
2117TEMP_FAILURE_RETRY(pread(t3455f17, buf, 29, 35154606));
2118TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3467, 35151872)); // mmap2
2119TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34420375));
2120TEMP_FAILURE_RETRY(pread(t3455f17, buf, 46, 34420405));
2121TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2143, 34418688)); // mmap2
2122TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34420831));
2123TEMP_FAILURE_RETRY(pread(t3455f17, buf, 48, 34420861));
2124TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2549, 34418688)); // mmap2
2125TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34421573));
2126TEMP_FAILURE_RETRY(pread(t3455f17, buf, 47, 34421603));
2127TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3344, 34418688)); // mmap2
2128TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34438470));
2129TEMP_FAILURE_RETRY(pread(t3455f17, buf, 63, 34438500));
2130TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3681, 34435072)); // mmap2
2131TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 36457841));
2132TEMP_FAILURE_RETRY(pread(t3455f17, buf, 38, 36457871));
2133TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4242, 36454400)); // mmap2
2134TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35939717));
2135TEMP_FAILURE_RETRY(pread(t3455f17, buf, 29, 35939747));
2136TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1726, 35938304)); // mmap2
2137TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 28356265));
2138TEMP_FAILURE_RETRY(pread(t3455f17, buf, 47, 28356295));
2139TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4322, 28352512)); // mmap2
2140TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 29935078));
2141TEMP_FAILURE_RETRY(pread(t3455f17, buf, 50, 29935108));
2142TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1983, 29933568)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002143int t3499f66 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002144TEMP_FAILURE_RETRY(pread(t3499f66, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002145close(t3499f66);
George Burgess IV170d8da2016-02-24 15:55:55 -08002146t3499f66 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002147TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 512, 0));
2148TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4, 512));
2149TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4096, 516));
2150TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4, 4612));
2151TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4, 4616));
2152TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4096, 4620));
2153TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4, 8716));
2154TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 36467015));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002155int t3532f68 = TEMP_FAILURE_RETRY(open("file64", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002156TEMP_FAILURE_RETRY(pread(t3455f17, buf, 41, 36467045));
2157TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4, 8720));
2158TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4096, 8724));
2159TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1083, 36466688)); // mmap2
2160TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4, 12820));
2161TEMP_FAILURE_RETRY(pread(t3499f66, buf, 8, 13312));
2162TEMP_FAILURE_RETRY(fdatasync(t3499f66));
2163TEMP_FAILURE_RETRY(read(t3532f68, buf, 16384));
2164TEMP_FAILURE_RETRY(read(t3532f68, buf, 16384));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002165int t3499f73 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002166TEMP_FAILURE_RETRY(read(t3532f68, buf, 16384));
2167TEMP_FAILURE_RETRY(fdatasync(t3499f73));
2168TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34267550));
2169TEMP_FAILURE_RETRY(pread(t3455f17, buf, 49, 34267580));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002170close(t3499f73);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002171TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 12, 0));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002172if (!checkpoint(76)) return -1;
Elliott Hughes4e378be2015-05-28 22:02:14 -07002173close(t3532f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002174TEMP_FAILURE_RETRY(fdatasync(t3499f66));
2175TEMP_FAILURE_RETRY(pread(t3455f17, buf, 722, 34267136)); // mmap2
2176TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 28, 0));
2177TEMP_FAILURE_RETRY(fdatasync(t3499f66));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002178close(t3499f66);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002179TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35511105));
2180TEMP_FAILURE_RETRY(pread(t3455f17, buf, 28, 35511135));
2181TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3217, 35508224)); // mmap2
2182TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35511441));
2183TEMP_FAILURE_RETRY(pread(t3455f17, buf, 40, 35511471));
2184TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3780, 35508224)); // mmap2
2185TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35512004));
2186TEMP_FAILURE_RETRY(pread(t3455f17, buf, 33, 35512034));
2187TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4299, 35508224)); // mmap2
2188TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35513993));
2189TEMP_FAILURE_RETRY(pread(t3455f17, buf, 34, 35514023));
2190TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2120, 35512320)); // mmap2
2191TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35513539));
2192TEMP_FAILURE_RETRY(pread(t3455f17, buf, 37, 35513569));
2193TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1673, 35512320)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002194int t3532f61 = TEMP_FAILURE_RETRY(open("file65", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002195TEMP_FAILURE_RETRY(read(t3532f61, buf, 16384));
2196TEMP_FAILURE_RETRY(read(t3532f61, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002197close(t3532f61);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002198int t3533f61 = TEMP_FAILURE_RETRY(open("file66", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002199TEMP_FAILURE_RETRY(read(t3533f61, buf, 16384));
2200TEMP_FAILURE_RETRY(read(t3533f61, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002201close(t3533f61);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002202t3532f61 = TEMP_FAILURE_RETRY(open("file67", O_RDONLY|O_LARGEFILE));
2203t3499f62 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
2204TEMP_FAILURE_RETRY(pread(t3499f62, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002205close(t3499f62);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002206TEMP_FAILURE_RETRY(read(t3532f61, buf, 16384));
2207TEMP_FAILURE_RETRY(read(t3532f61, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002208close(t3532f61);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002209t3533f61 = TEMP_FAILURE_RETRY(open("file68", O_RDONLY|O_LARGEFILE));
George Burgess IV170d8da2016-02-24 15:55:55 -08002210t3499f62 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002211TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 512, 0));
2212TEMP_FAILURE_RETRY(read(t3533f61, buf, 16384));
2213TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 4, 512));
2214TEMP_FAILURE_RETRY(read(t3533f61, buf, 16384));
2215TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 4096, 516));
2216TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 4, 4612));
2217TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 4, 4616));
2218TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 4096, 4620));
2219TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 4, 8716));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002220close(t3533f61);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002221TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 4, 8720));
2222TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 4096, 8724));
2223TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 4, 12820));
2224TEMP_FAILURE_RETRY(pread(t3499f62, buf, 8, 13312));
2225TEMP_FAILURE_RETRY(fdatasync(t3499f62));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002226int t3499f61 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002227TEMP_FAILURE_RETRY(fdatasync(t3499f61));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002228close(t3499f61);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002229TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 12, 0));
2230TEMP_FAILURE_RETRY(fdatasync(t3499f62));
2231TEMP_FAILURE_RETRY(pwrite(t3499f62, buf, 28, 0));
2232TEMP_FAILURE_RETRY(fdatasync(t3499f62));
2233t3532f61 = TEMP_FAILURE_RETRY(open("file69", O_RDONLY|O_LARGEFILE));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002234close(t3499f62);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002235TEMP_FAILURE_RETRY(read(t3532f61, buf, 16384));
2236TEMP_FAILURE_RETRY(read(t3532f61, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002237close(t3532f61);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002238t3533f61 = TEMP_FAILURE_RETRY(open("file70", O_RDONLY|O_LARGEFILE));
2239TEMP_FAILURE_RETRY(read(t3533f61, buf, 16384));
2240TEMP_FAILURE_RETRY(read(t3533f61, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002241close(t3533f61);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002242int t3519f61 = TEMP_FAILURE_RETRY(open("file71", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002243TEMP_FAILURE_RETRY(read(t3519f61, buf, 16384));
2244TEMP_FAILURE_RETRY(read(t3519f61, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002245close(t3519f61);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002246int t3499f80 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002247TEMP_FAILURE_RETRY(pread(t3499f80, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002248close(t3499f80);
George Burgess IV170d8da2016-02-24 15:55:55 -08002249t3499f80 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002250TEMP_FAILURE_RETRY(pwrite(t3499f80, buf, 512, 0));
2251TEMP_FAILURE_RETRY(pwrite(t3499f80, buf, 4, 512));
2252TEMP_FAILURE_RETRY(pwrite(t3499f80, buf, 4096, 516));
2253TEMP_FAILURE_RETRY(pwrite(t3499f80, buf, 4, 4612));
2254TEMP_FAILURE_RETRY(pwrite(t3499f80, buf, 4, 4616));
2255TEMP_FAILURE_RETRY(pwrite(t3499f80, buf, 4096, 4620));
2256TEMP_FAILURE_RETRY(pwrite(t3499f80, buf, 4, 8716));
2257TEMP_FAILURE_RETRY(pwrite(t3499f80, buf, 4, 8720));
2258TEMP_FAILURE_RETRY(pwrite(t3499f80, buf, 4096, 8724));
2259TEMP_FAILURE_RETRY(pwrite(t3499f80, buf, 4, 12820));
2260TEMP_FAILURE_RETRY(pread(t3499f80, buf, 8, 13312));
2261TEMP_FAILURE_RETRY(fdatasync(t3499f80));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002262int t3499f81 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002263TEMP_FAILURE_RETRY(fdatasync(t3499f81));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002264close(t3499f81);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002265TEMP_FAILURE_RETRY(pwrite(t3499f80, buf, 12, 0));
2266TEMP_FAILURE_RETRY(fdatasync(t3499f80));
2267TEMP_FAILURE_RETRY(pwrite(t3499f80, buf, 28, 0));
2268TEMP_FAILURE_RETRY(fdatasync(t3499f80));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002269close(t3499f80);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002270t3499f66 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
2271TEMP_FAILURE_RETRY(pread(t3499f66, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002272close(t3499f66);
George Burgess IV170d8da2016-02-24 15:55:55 -08002273t3499f66 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002274TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 512, 0));
2275TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4, 512));
2276TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4096, 516));
2277TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4, 4612));
2278TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4, 4616));
2279TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4096, 4620));
2280TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4, 8716));
2281TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4, 8720));
2282TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4096, 8724));
2283TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4, 12820));
2284TEMP_FAILURE_RETRY(pread(t3499f66, buf, 8, 13312));
2285TEMP_FAILURE_RETRY(fdatasync(t3499f66));
2286t3499f68 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
2287TEMP_FAILURE_RETRY(fdatasync(t3499f68));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002288close(t3499f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002289TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 12, 0));
2290TEMP_FAILURE_RETRY(fdatasync(t3499f66));
2291TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 28, 0));
2292TEMP_FAILURE_RETRY(fdatasync(t3499f66));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002293close(t3499f66);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002294TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34957756));
2295TEMP_FAILURE_RETRY(pread(t3455f17, buf, 29, 34957786));
2296TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3273, 34955264)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002297int t3519f68 = TEMP_FAILURE_RETRY(open("file72", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002298close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002299t3519f68 = TEMP_FAILURE_RETRY(open("file73", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002300close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002301t3519f68 = TEMP_FAILURE_RETRY(open("file74", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002302close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002303t3519f68 = TEMP_FAILURE_RETRY(open("file75", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002304close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002305t3519f68 = TEMP_FAILURE_RETRY(open("file76", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002306close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002307t3519f68 = TEMP_FAILURE_RETRY(open("file77", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002308close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002309t3519f68 = TEMP_FAILURE_RETRY(open("file78", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002310close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002311t3519f68 = TEMP_FAILURE_RETRY(open("file79", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002312close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002313t3519f68 = TEMP_FAILURE_RETRY(open("file80", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002314close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002315t3519f68 = TEMP_FAILURE_RETRY(open("file81", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002316close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002317t3519f68 = TEMP_FAILURE_RETRY(open("file82", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002318close(t3519f68);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002319int t3519f70 = TEMP_FAILURE_RETRY(open("file83", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002320close(t3519f70);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002321t3519f68 = TEMP_FAILURE_RETRY(open("file84", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002322close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002323t3519f68 = TEMP_FAILURE_RETRY(open("file85", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002324close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002325t3519f68 = TEMP_FAILURE_RETRY(open("file86", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002326close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002327t3519f68 = TEMP_FAILURE_RETRY(open("file87", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002328close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002329t3519f68 = TEMP_FAILURE_RETRY(open("file88", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002330close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002331t3519f68 = TEMP_FAILURE_RETRY(open("file89", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002332close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002333t3519f68 = TEMP_FAILURE_RETRY(open("file90", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002334close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002335t3519f68 = TEMP_FAILURE_RETRY(open("file91", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002336close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002337t3519f68 = TEMP_FAILURE_RETRY(open("file92", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002338close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002339t3519f70 = TEMP_FAILURE_RETRY(open("file93", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002340close(t3519f70);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002341t3519f70 = TEMP_FAILURE_RETRY(open("file94", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002342close(t3519f70);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002343t3519f70 = TEMP_FAILURE_RETRY(open("file95", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002344int t3492f72 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002345TEMP_FAILURE_RETRY(pread(t3492f72, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002346close(t3492f72);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002347TEMP_FAILURE_RETRY(pread(t3492f31, buf, 16, 24));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002348close(t3519f70);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002349int t3492f70 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002350TEMP_FAILURE_RETRY(pread(t3492f70, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002351close(t3492f70);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002352TEMP_FAILURE_RETRY(pread(t3492f31, buf, 16, 24));
2353t3519f68 = TEMP_FAILURE_RETRY(open("file96", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002354close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002355t3519f68 = TEMP_FAILURE_RETRY(open("file97", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002356close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002357t3519f68 = TEMP_FAILURE_RETRY(open("file98", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002358close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002359t3519f68 = TEMP_FAILURE_RETRY(open("file99", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002360close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002361t3519f68 = TEMP_FAILURE_RETRY(open("file100", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002362close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002363t3519f68 = TEMP_FAILURE_RETRY(open("file101", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002364close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002365t3519f68 = TEMP_FAILURE_RETRY(open("file102", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002366close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002367t3519f68 = TEMP_FAILURE_RETRY(open("file103", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002368close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002369t3519f68 = TEMP_FAILURE_RETRY(open("file104", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002370close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002371t3519f68 = TEMP_FAILURE_RETRY(open("file105", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002372close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002373t3519f68 = TEMP_FAILURE_RETRY(open("file106", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002374close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002375t3519f68 = TEMP_FAILURE_RETRY(open("file107", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002376close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002377t3519f68 = TEMP_FAILURE_RETRY(open("file108", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002378close(t3519f68);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002379t3519f68 = TEMP_FAILURE_RETRY(open("file109", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002380close(t3519f68);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002381int t3519f72 = TEMP_FAILURE_RETRY(open("file110", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002382close(t3519f72);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002383int t3519f80 = TEMP_FAILURE_RETRY(open("file111", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002384close(t3519f80);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002385int t3519f81 = TEMP_FAILURE_RETRY(open("file112", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002386close(t3519f81);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002387t3519f81 = TEMP_FAILURE_RETRY(open("file113", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002388close(t3519f81);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002389int t3519f76 = TEMP_FAILURE_RETRY(open("file114", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002390close(t3519f76);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002391t3519f70 = TEMP_FAILURE_RETRY(open("file115", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002392close(t3519f70);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002393t3519f70 = TEMP_FAILURE_RETRY(open("file116", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002394close(t3519f70);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002395t3519f70 = TEMP_FAILURE_RETRY(open("file117", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002396close(t3519f70);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002397int t3519f67 = TEMP_FAILURE_RETRY(open("file118", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002398close(t3519f67);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002399t3519f67 = TEMP_FAILURE_RETRY(open("file119", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002400close(t3519f67);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002401t3519f67 = TEMP_FAILURE_RETRY(open("file120", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002402close(t3519f67);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002403t3519f67 = TEMP_FAILURE_RETRY(open("file121", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002404close(t3519f67);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002405t3519f67 = TEMP_FAILURE_RETRY(open("file122", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002406close(t3519f67);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002407t3519f67 = TEMP_FAILURE_RETRY(open("file123", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002408close(t3519f67);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002409t3519f67 = TEMP_FAILURE_RETRY(open("file124", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002410if (!checkpoint(79)) return -1;
Elliott Hughes4e378be2015-05-28 22:02:14 -07002411close(t3519f67);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002412t3519f67 = TEMP_FAILURE_RETRY(open("file125", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002413close(t3519f67);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002414t3519f67 = TEMP_FAILURE_RETRY(open("file126", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002415close(t3519f67);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002416t3519f67 = TEMP_FAILURE_RETRY(open("file127", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002417close(t3519f67);
George Burgess IV170d8da2016-02-24 15:55:55 -08002418t3519f70 = TEMP_FAILURE_RETRY(open("file128", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002419close(t3519f70);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002420int t3526f70 = TEMP_FAILURE_RETRY(open("file129", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600));
2421int t3519f75 = TEMP_FAILURE_RETRY(open("file128", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002422close(t3526f70);
George Burgess IV170d8da2016-02-24 15:55:55 -08002423t3526f70 = TEMP_FAILURE_RETRY(open("file129", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06002424TEMP_FAILURE_RETRY(write(t3519f75, buf, 2991));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002425close(t3519f75);
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06002426TEMP_FAILURE_RETRY(write(t3526f70, buf, 3974));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002427close(t3526f70);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002428t3519f67 = TEMP_FAILURE_RETRY(open("file130", O_RDONLY|O_LARGEFILE));
2429TEMP_FAILURE_RETRY(read(t3519f67, buf, 16384));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002430int t3499f72 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002431TEMP_FAILURE_RETRY(pread(t3499f72, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002432close(t3499f72);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002433TEMP_FAILURE_RETRY(read(t3519f67, buf, 16384));
George Burgess IV170d8da2016-02-24 15:55:55 -08002434t3499f72 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002435TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 512, 0));
2436TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 4, 512));
2437TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 4096, 516));
2438TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 4, 4612));
2439TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 4, 4616));
2440TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 4096, 4620));
2441TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 4, 8716));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002442close(t3519f67);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002443TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 4, 8720));
2444TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 4096, 8724));
2445TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 4, 12820));
2446TEMP_FAILURE_RETRY(pread(t3499f72, buf, 8, 13312));
2447TEMP_FAILURE_RETRY(fdatasync(t3499f72));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002448int t3499f67 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002449TEMP_FAILURE_RETRY(fdatasync(t3499f67));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002450close(t3499f67);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002451TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 12, 0));
2452TEMP_FAILURE_RETRY(fdatasync(t3499f72));
2453TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 28, 0));
2454TEMP_FAILURE_RETRY(fdatasync(t3499f72));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002455close(t3499f72);
George Burgess IV170d8da2016-02-24 15:55:55 -08002456t3526f70 = TEMP_FAILURE_RETRY(open("file131", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002457close(t3526f70);
George Burgess IV170d8da2016-02-24 15:55:55 -08002458t3526f70 = TEMP_FAILURE_RETRY(open("file131", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06002459TEMP_FAILURE_RETRY(write(t3526f70, buf, 4622));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002460close(t3526f70);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002461int t3526f72 = TEMP_FAILURE_RETRY(open("file132", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002462close(t3526f72);
George Burgess IV170d8da2016-02-24 15:55:55 -08002463t3526f72 = TEMP_FAILURE_RETRY(open("file132", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06002464TEMP_FAILURE_RETRY(write(t3526f72, buf, 16384));
2465TEMP_FAILURE_RETRY(write(t3526f72, buf, 6849));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002466close(t3526f72);
George Burgess IV170d8da2016-02-24 15:55:55 -08002467t3526f70 = TEMP_FAILURE_RETRY(open("file133", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002468close(t3526f70);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002469int t3526f75 = TEMP_FAILURE_RETRY(open("file133", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06002470TEMP_FAILURE_RETRY(write(t3526f75, buf, 13332));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002471close(t3526f75);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002472int t3495f70 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002473TEMP_FAILURE_RETRY(pread(t3495f70, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002474close(t3495f70);
George Burgess IV170d8da2016-02-24 15:55:55 -08002475t3495f70 = TEMP_FAILURE_RETRY(open("file31", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002476TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 512, 0));
2477TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 4, 512));
2478TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 4096, 516));
2479TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 4, 4612));
2480TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 4, 4616));
2481TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 4096, 4620));
2482TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 4, 8716));
2483TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 4, 8720));
2484TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 4096, 8724));
2485TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 4, 12820));
2486TEMP_FAILURE_RETRY(pread(t3495f70, buf, 8, 13312));
2487TEMP_FAILURE_RETRY(fdatasync(t3495f70));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002488int t3495f75 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002489TEMP_FAILURE_RETRY(fdatasync(t3495f75));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002490close(t3495f75);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002491TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 12, 0));
2492TEMP_FAILURE_RETRY(fdatasync(t3495f70));
2493TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 28, 0));
2494TEMP_FAILURE_RETRY(fdatasync(t3495f70));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002495close(t3495f70);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002496int t3526f93 = TEMP_FAILURE_RETRY(open("file134", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002497close(t3526f93);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002498int t3526f88 = TEMP_FAILURE_RETRY(open("file134", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06002499TEMP_FAILURE_RETRY(write(t3526f88, buf, 15056));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002500close(t3526f88);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002501TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34433108));
2502TEMP_FAILURE_RETRY(pread(t3455f17, buf, 56, 34433138));
2503TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2496, 34430976)); // mmap2
2504TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34432434));
2505TEMP_FAILURE_RETRY(pread(t3455f17, buf, 50, 34432464));
2506TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1795, 34430976)); // mmap2
2507TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34431679));
2508TEMP_FAILURE_RETRY(pread(t3455f17, buf, 72, 34431709));
2509TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1083, 34430976)); // mmap2
2510t3495f75 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
2511TEMP_FAILURE_RETRY(pread(t3495f75, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002512close(t3495f75);
George Burgess IV170d8da2016-02-24 15:55:55 -08002513t3495f75 = TEMP_FAILURE_RETRY(open("file31", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002514TEMP_FAILURE_RETRY(pwrite(t3495f75, buf, 512, 0));
2515TEMP_FAILURE_RETRY(pwrite(t3495f75, buf, 4, 512));
2516TEMP_FAILURE_RETRY(pwrite(t3495f75, buf, 4096, 516));
2517TEMP_FAILURE_RETRY(pwrite(t3495f75, buf, 4, 4612));
2518TEMP_FAILURE_RETRY(pwrite(t3495f75, buf, 4, 4616));
2519TEMP_FAILURE_RETRY(pwrite(t3495f75, buf, 4096, 4620));
2520TEMP_FAILURE_RETRY(pwrite(t3495f75, buf, 4, 8716));
2521TEMP_FAILURE_RETRY(pwrite(t3495f75, buf, 4, 8720));
2522TEMP_FAILURE_RETRY(pwrite(t3495f75, buf, 4096, 8724));
2523TEMP_FAILURE_RETRY(pwrite(t3495f75, buf, 4, 12820));
2524TEMP_FAILURE_RETRY(pread(t3495f75, buf, 8, 13312));
2525TEMP_FAILURE_RETRY(fdatasync(t3495f75));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002526int t3495f86 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002527TEMP_FAILURE_RETRY(fdatasync(t3495f86));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002528close(t3495f86);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002529TEMP_FAILURE_RETRY(pwrite(t3495f75, buf, 12, 0));
2530TEMP_FAILURE_RETRY(fdatasync(t3495f75));
2531TEMP_FAILURE_RETRY(pwrite(t3495f75, buf, 28, 0));
2532TEMP_FAILURE_RETRY(fdatasync(t3495f75));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002533close(t3495f75);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002534int t3499f74 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002535TEMP_FAILURE_RETRY(pread(t3499f74, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002536close(t3499f74);
George Burgess IV170d8da2016-02-24 15:55:55 -08002537t3499f74 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002538TEMP_FAILURE_RETRY(pwrite(t3499f74, buf, 512, 0));
2539TEMP_FAILURE_RETRY(pwrite(t3499f74, buf, 4, 512));
2540TEMP_FAILURE_RETRY(pwrite(t3499f74, buf, 4096, 516));
2541TEMP_FAILURE_RETRY(pwrite(t3499f74, buf, 4, 4612));
2542TEMP_FAILURE_RETRY(pwrite(t3499f74, buf, 4, 4616));
2543TEMP_FAILURE_RETRY(pwrite(t3499f74, buf, 4096, 4620));
2544TEMP_FAILURE_RETRY(pwrite(t3499f74, buf, 4, 8716));
2545TEMP_FAILURE_RETRY(pwrite(t3499f74, buf, 4, 8720));
2546TEMP_FAILURE_RETRY(pwrite(t3499f74, buf, 4096, 8724));
2547TEMP_FAILURE_RETRY(pwrite(t3499f74, buf, 4, 12820));
2548TEMP_FAILURE_RETRY(pread(t3499f74, buf, 8, 13312));
2549TEMP_FAILURE_RETRY(fdatasync(t3499f74));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002550int t3499f75 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002551TEMP_FAILURE_RETRY(fdatasync(t3499f75));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002552close(t3499f75);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002553TEMP_FAILURE_RETRY(pwrite(t3499f74, buf, 12, 0));
2554TEMP_FAILURE_RETRY(fdatasync(t3499f74));
2555TEMP_FAILURE_RETRY(pwrite(t3499f74, buf, 28, 0));
2556TEMP_FAILURE_RETRY(fdatasync(t3499f74));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002557close(t3499f74);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002558int t3526f64 = TEMP_FAILURE_RETRY(open("file135", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002559close(t3526f64);
George Burgess IV170d8da2016-02-24 15:55:55 -08002560t3526f64 = TEMP_FAILURE_RETRY(open("file135", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06002561TEMP_FAILURE_RETRY(write(t3526f64, buf, 16384));
2562TEMP_FAILURE_RETRY(write(t3526f64, buf, 4873));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002563close(t3526f64);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002564int t3526f90 = TEMP_FAILURE_RETRY(open("file136", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002565close(t3526f90);
George Burgess IV170d8da2016-02-24 15:55:55 -08002566t3526f90 = TEMP_FAILURE_RETRY(open("file136", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06002567TEMP_FAILURE_RETRY(write(t3526f90, buf, 4199));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002568close(t3526f90);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002569int t3499f90 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002570TEMP_FAILURE_RETRY(pread(t3499f90, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002571close(t3499f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002572TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35511105));
2573TEMP_FAILURE_RETRY(pread(t3455f17, buf, 28, 35511135));
2574TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3217, 35508224)); // mmap2
George Burgess IV170d8da2016-02-24 15:55:55 -08002575t3499f90 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002576TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35511441));
2577TEMP_FAILURE_RETRY(pread(t3455f17, buf, 40, 35511471));
2578TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 512, 0));
2579TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 512));
2580TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3780, 35508224)); // mmap2
2581TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4096, 516));
2582TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 4612));
2583TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 4616));
2584TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4096, 4620));
2585TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 8716));
2586TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35512004));
2587TEMP_FAILURE_RETRY(pread(t3455f17, buf, 33, 35512034));
2588TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4299, 35508224)); // mmap2
2589TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 8720));
2590TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4096, 8724));
2591TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 12820));
2592TEMP_FAILURE_RETRY(pread(t3499f90, buf, 8, 13312));
2593TEMP_FAILURE_RETRY(fdatasync(t3499f90));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002594int t3499f92 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002595TEMP_FAILURE_RETRY(fdatasync(t3499f92));
2596TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35513993));
2597TEMP_FAILURE_RETRY(pread(t3455f17, buf, 34, 35514023));
2598TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2120, 35512320)); // mmap2
Elliott Hughes4e378be2015-05-28 22:02:14 -07002599close(t3499f92);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002600TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 12, 0));
2601TEMP_FAILURE_RETRY(fdatasync(t3499f90));
2602TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35513539));
2603TEMP_FAILURE_RETRY(pread(t3455f17, buf, 37, 35513569));
2604TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1673, 35512320)); // mmap2
2605TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 28, 0));
2606TEMP_FAILURE_RETRY(fdatasync(t3499f90));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002607close(t3499f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002608t3499f90 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
2609TEMP_FAILURE_RETRY(pread(t3499f90, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002610close(t3499f90);
George Burgess IV170d8da2016-02-24 15:55:55 -08002611t3499f90 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002612TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 512, 0));
2613TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 512));
2614TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4096, 516));
2615TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 4612));
2616TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 4616));
2617TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4096, 4620));
2618TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 8716));
2619TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 8720));
2620TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4096, 8724));
2621TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 12820));
2622TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 12824));
2623TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4096, 12828));
2624TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 16924));
2625TEMP_FAILURE_RETRY(pread(t3499f90, buf, 8, 17408));
2626TEMP_FAILURE_RETRY(fdatasync(t3499f90));
2627t3499f92 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
2628TEMP_FAILURE_RETRY(fdatasync(t3499f92));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002629close(t3499f92);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002630TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 12, 0));
2631TEMP_FAILURE_RETRY(fdatasync(t3499f90));
2632TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 28, 0));
2633TEMP_FAILURE_RETRY(fdatasync(t3499f90));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002634close(t3499f90);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002635if (!checkpoint(82)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002636t3499f90 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
2637TEMP_FAILURE_RETRY(pread(t3499f90, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002638close(t3499f90);
George Burgess IV170d8da2016-02-24 15:55:55 -08002639t3499f90 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002640TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 512, 0));
2641TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 512));
2642TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4096, 516));
2643TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 4612));
2644TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 4616));
2645TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4096, 4620));
2646TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 8716));
2647TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 8720));
2648TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4096, 8724));
2649TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 12820));
2650TEMP_FAILURE_RETRY(pread(t3499f90, buf, 8, 13312));
2651TEMP_FAILURE_RETRY(fdatasync(t3499f90));
2652t3499f92 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
2653TEMP_FAILURE_RETRY(fdatasync(t3499f92));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002654close(t3499f92);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002655TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 12, 0));
2656TEMP_FAILURE_RETRY(fdatasync(t3499f90));
2657TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 28, 0));
2658TEMP_FAILURE_RETRY(fdatasync(t3499f90));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002659close(t3499f90);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002660int t3495f72 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002661TEMP_FAILURE_RETRY(pread(t3495f72, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002662close(t3495f72);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002663int t3499f84 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002664TEMP_FAILURE_RETRY(pread(t3499f84, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002665close(t3499f84);
George Burgess IV170d8da2016-02-24 15:55:55 -08002666t3499f72 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002667TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 512, 0));
2668TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 4, 512));
2669TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 4096, 516));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002670int t3495f84 = TEMP_FAILURE_RETRY(open("file31", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002671TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 4, 4612));
2672TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 4, 4616));
2673TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 4096, 4620));
2674TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 4, 8716));
2675TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 4, 8720));
2676TEMP_FAILURE_RETRY(pwrite(t3495f84, buf, 512, 0));
2677TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 4096, 8724));
2678TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 4, 12820));
2679TEMP_FAILURE_RETRY(pwrite(t3495f84, buf, 4, 512));
2680TEMP_FAILURE_RETRY(pread(t3499f72, buf, 8, 13312));
2681TEMP_FAILURE_RETRY(fdatasync(t3499f72));
2682TEMP_FAILURE_RETRY(pwrite(t3495f84, buf, 4096, 516));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002683int t3499f88 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002684TEMP_FAILURE_RETRY(fdatasync(t3499f88));
2685TEMP_FAILURE_RETRY(pwrite(t3495f84, buf, 4, 4612));
2686TEMP_FAILURE_RETRY(pwrite(t3495f84, buf, 4, 4616));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002687close(t3499f88);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002688TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 12, 0));
2689TEMP_FAILURE_RETRY(pwrite(t3495f84, buf, 4096, 4620));
2690TEMP_FAILURE_RETRY(fdatasync(t3499f72));
2691TEMP_FAILURE_RETRY(pwrite(t3495f84, buf, 4, 8716));
2692TEMP_FAILURE_RETRY(pwrite(t3495f84, buf, 4, 8720));
2693TEMP_FAILURE_RETRY(pwrite(t3495f84, buf, 4096, 8724));
2694TEMP_FAILURE_RETRY(pwrite(t3495f84, buf, 4, 12820));
2695TEMP_FAILURE_RETRY(pread(t3495f84, buf, 8, 13312));
2696TEMP_FAILURE_RETRY(fdatasync(t3495f84));
2697TEMP_FAILURE_RETRY(pwrite(t3499f72, buf, 28, 0));
2698TEMP_FAILURE_RETRY(fdatasync(t3499f72));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002699int t3495f88 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002700TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 31156572));
2701TEMP_FAILURE_RETRY(pread(t3455f17, buf, 58, 31156602));
2702TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3099, 31154176)); // mmap2
2703TEMP_FAILURE_RETRY(fdatasync(t3495f88));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002704close(t3499f72);
2705close(t3495f88);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002706TEMP_FAILURE_RETRY(pwrite(t3495f84, buf, 12, 0));
2707TEMP_FAILURE_RETRY(fdatasync(t3495f84));
2708TEMP_FAILURE_RETRY(pwrite(t3495f84, buf, 28, 0));
2709TEMP_FAILURE_RETRY(fdatasync(t3495f84));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002710close(t3495f84);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002711TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34907552));
2712TEMP_FAILURE_RETRY(pread(t3455f17, buf, 39, 34907582));
2713TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2551, 34906112)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002714int t3495f66 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002715TEMP_FAILURE_RETRY(pread(t3495f66, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002716close(t3495f66);
George Burgess IV170d8da2016-02-24 15:55:55 -08002717t3495f66 = TEMP_FAILURE_RETRY(open("file31", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002718TEMP_FAILURE_RETRY(pwrite(t3495f66, buf, 512, 0));
2719TEMP_FAILURE_RETRY(pwrite(t3495f66, buf, 4, 512));
2720TEMP_FAILURE_RETRY(pwrite(t3495f66, buf, 4096, 516));
2721TEMP_FAILURE_RETRY(pwrite(t3495f66, buf, 4, 4612));
2722TEMP_FAILURE_RETRY(pwrite(t3495f66, buf, 4, 4616));
2723TEMP_FAILURE_RETRY(pwrite(t3495f66, buf, 4096, 4620));
2724TEMP_FAILURE_RETRY(pwrite(t3495f66, buf, 4, 8716));
2725TEMP_FAILURE_RETRY(pwrite(t3495f66, buf, 4, 8720));
2726TEMP_FAILURE_RETRY(pwrite(t3495f66, buf, 4096, 8724));
2727TEMP_FAILURE_RETRY(pwrite(t3495f66, buf, 4, 12820));
2728TEMP_FAILURE_RETRY(pread(t3495f66, buf, 8, 13312));
2729TEMP_FAILURE_RETRY(fdatasync(t3495f66));
2730t3495f72 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
2731TEMP_FAILURE_RETRY(fdatasync(t3495f72));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002732close(t3495f72);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002733TEMP_FAILURE_RETRY(pwrite(t3495f66, buf, 12, 0));
2734TEMP_FAILURE_RETRY(fdatasync(t3495f66));
2735TEMP_FAILURE_RETRY(pwrite(t3495f66, buf, 28, 0));
2736TEMP_FAILURE_RETRY(fdatasync(t3495f66));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002737close(t3495f66);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002738t3499f66 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
2739TEMP_FAILURE_RETRY(pread(t3499f66, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002740close(t3499f66);
George Burgess IV170d8da2016-02-24 15:55:55 -08002741t3499f66 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002742TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 512, 0));
2743TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4, 512));
2744TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4096, 516));
2745TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4, 4612));
2746TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4, 4616));
2747TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4096, 4620));
2748TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4, 8716));
2749TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4, 8720));
2750TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4096, 8724));
2751TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 4, 12820));
2752TEMP_FAILURE_RETRY(pread(t3499f66, buf, 8, 13312));
2753TEMP_FAILURE_RETRY(fdatasync(t3499f66));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002754int t3499f70 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002755TEMP_FAILURE_RETRY(fdatasync(t3499f70));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002756close(t3499f70);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002757TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 12, 0));
2758TEMP_FAILURE_RETRY(fdatasync(t3499f66));
2759TEMP_FAILURE_RETRY(pwrite(t3499f66, buf, 28, 0));
2760TEMP_FAILURE_RETRY(fdatasync(t3499f66));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002761close(t3499f66);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002762int t3526f66 = TEMP_FAILURE_RETRY(open("file137", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002763TEMP_FAILURE_RETRY(read(t3526f66, buf, 16384));
2764TEMP_FAILURE_RETRY(read(t3526f66, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002765close(t3526f66);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002766int t3505f66 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002767TEMP_FAILURE_RETRY(pread(t3505f66, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002768close(t3505f66);
George Burgess IV170d8da2016-02-24 15:55:55 -08002769t3505f66 = TEMP_FAILURE_RETRY(open("file138", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002770t3526f70 = TEMP_FAILURE_RETRY(open("file139", O_RDONLY|O_LARGEFILE));
2771TEMP_FAILURE_RETRY(read(t3526f70, buf, 16384));
2772TEMP_FAILURE_RETRY(read(t3526f70, buf, 16384));
2773TEMP_FAILURE_RETRY(read(t3526f70, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002774close(t3526f70);
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06002775TEMP_FAILURE_RETRY(write(t3505f66, buf, 10432));
2776TEMP_FAILURE_RETRY(write(t3505f66, buf, 4464));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002777t3495f70 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
2778TEMP_FAILURE_RETRY(pread(t3495f70, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002779close(t3495f70);
George Burgess IV170d8da2016-02-24 15:55:55 -08002780t3495f70 = TEMP_FAILURE_RETRY(open("file31", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002781TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 512, 0));
2782TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 4, 512));
2783TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 4096, 516));
2784TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 4, 4612));
2785TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 4, 4616));
2786TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 4096, 4620));
2787TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 4, 8716));
2788TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 4, 8720));
2789TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 4096, 8724));
2790TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 4, 12820));
2791TEMP_FAILURE_RETRY(pread(t3495f70, buf, 8, 13312));
2792TEMP_FAILURE_RETRY(fdatasync(t3495f70));
2793t3495f72 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
2794TEMP_FAILURE_RETRY(fdatasync(t3495f72));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002795close(t3495f72);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002796TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 12, 0));
2797TEMP_FAILURE_RETRY(fdatasync(t3495f70));
2798TEMP_FAILURE_RETRY(pwrite(t3495f70, buf, 28, 0));
2799TEMP_FAILURE_RETRY(fdatasync(t3495f70));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002800close(t3495f70);
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06002801TEMP_FAILURE_RETRY(write(t3505f66, buf, 10592));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002802int t3533f70 = TEMP_FAILURE_RETRY(open("file140", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002803close(t3533f70);
George Burgess IV170d8da2016-02-24 15:55:55 -08002804t3533f70 = TEMP_FAILURE_RETRY(open("file140", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06002805TEMP_FAILURE_RETRY(write(t3533f70, buf, 4042));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002806close(t3533f70);
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06002807TEMP_FAILURE_RETRY(write(t3505f66, buf, 9664));
2808TEMP_FAILURE_RETRY(write(t3505f66, buf, 23656));
George Burgess IV170d8da2016-02-24 15:55:55 -08002809t3533f70 = TEMP_FAILURE_RETRY(open("file141", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002810close(t3533f70);
George Burgess IV170d8da2016-02-24 15:55:55 -08002811t3526f70 = TEMP_FAILURE_RETRY(open("file142", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002812int t3533f72 = TEMP_FAILURE_RETRY(open("file141", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002813close(t3526f70);
George Burgess IV170d8da2016-02-24 15:55:55 -08002814t3526f70 = TEMP_FAILURE_RETRY(open("file142", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06002815TEMP_FAILURE_RETRY(write(t3526f70, buf, 5057));
2816TEMP_FAILURE_RETRY(write(t3533f72, buf, 4595));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002817close(t3526f70);
2818close(t3533f72);
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06002819TEMP_FAILURE_RETRY(write(t3505f66, buf, 19744));
2820TEMP_FAILURE_RETRY(write(t3505f66, buf, 9344));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002821t3499f70 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
2822TEMP_FAILURE_RETRY(pread(t3499f70, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002823close(t3499f70);
George Burgess IV170d8da2016-02-24 15:55:55 -08002824t3499f70 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002825TEMP_FAILURE_RETRY(pwrite(t3499f70, buf, 512, 0));
2826TEMP_FAILURE_RETRY(pwrite(t3499f70, buf, 4, 512));
2827TEMP_FAILURE_RETRY(pwrite(t3499f70, buf, 4096, 516));
2828TEMP_FAILURE_RETRY(pwrite(t3499f70, buf, 4, 4612));
2829TEMP_FAILURE_RETRY(pwrite(t3499f70, buf, 4, 4616));
2830TEMP_FAILURE_RETRY(pwrite(t3499f70, buf, 4096, 4620));
2831TEMP_FAILURE_RETRY(pwrite(t3499f70, buf, 4, 8716));
2832TEMP_FAILURE_RETRY(pwrite(t3499f70, buf, 4, 8720));
2833TEMP_FAILURE_RETRY(pwrite(t3499f70, buf, 4096, 8724));
2834TEMP_FAILURE_RETRY(pwrite(t3499f70, buf, 4, 12820));
2835TEMP_FAILURE_RETRY(pread(t3499f70, buf, 8, 13312));
2836TEMP_FAILURE_RETRY(fdatasync(t3499f70));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06002837TEMP_FAILURE_RETRY(write(t3505f66, buf, 24672));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002838t3499f72 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
2839TEMP_FAILURE_RETRY(fdatasync(t3499f72));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002840close(t3499f72);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002841TEMP_FAILURE_RETRY(pwrite(t3499f70, buf, 12, 0));
2842TEMP_FAILURE_RETRY(fdatasync(t3499f70));
2843TEMP_FAILURE_RETRY(pwrite(t3499f70, buf, 28, 0));
2844TEMP_FAILURE_RETRY(fdatasync(t3499f70));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002845close(t3499f70);
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06002846TEMP_FAILURE_RETRY(write(t3505f66, buf, 7584));
2847TEMP_FAILURE_RETRY(write(t3505f66, buf, 10736));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002848close(t3505f66);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002849t3505f66 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
2850TEMP_FAILURE_RETRY(pread(t3505f66, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002851close(t3505f66);
George Burgess IV170d8da2016-02-24 15:55:55 -08002852t3505f66 = TEMP_FAILURE_RETRY(open("file31", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002853TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 512, 0));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002854if (!checkpoint(85)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002855TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4, 512));
2856TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4096, 516));
2857TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4, 4612));
2858TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4, 4616));
2859TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4096, 4620));
2860TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4, 8716));
2861TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4, 8720));
2862TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4096, 8724));
2863TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4, 12820));
2864TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4, 12824));
2865TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4096, 12828));
2866TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4, 16924));
2867TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4, 16928));
2868TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4096, 16932));
2869TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4, 21028));
2870TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4, 21032));
2871TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4096, 21036));
2872TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4, 25132));
2873TEMP_FAILURE_RETRY(pread(t3505f66, buf, 8, 25600));
2874TEMP_FAILURE_RETRY(fdatasync(t3505f66));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002875int t3505f70 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002876TEMP_FAILURE_RETRY(fdatasync(t3505f70));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002877close(t3505f70);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002878TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 12, 0));
2879TEMP_FAILURE_RETRY(fdatasync(t3505f66));
2880TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 28, 0));
2881TEMP_FAILURE_RETRY(fdatasync(t3505f66));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002882close(t3505f66);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002883t3505f66 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
2884TEMP_FAILURE_RETRY(pread(t3505f66, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002885close(t3505f66);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002886t3505f66 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
2887TEMP_FAILURE_RETRY(pread(t3505f66, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002888close(t3505f66);
George Burgess IV170d8da2016-02-24 15:55:55 -08002889t3505f66 = TEMP_FAILURE_RETRY(open("file31", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002890TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 512, 0));
2891TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4, 512));
2892TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4096, 516));
2893TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4, 4612));
2894TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4, 4616));
2895TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4096, 4620));
2896TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4, 8716));
2897TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4, 8720));
2898TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4096, 8724));
2899TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4, 12820));
2900TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4, 12824));
2901TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4096, 12828));
2902TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 4, 16924));
2903TEMP_FAILURE_RETRY(pread(t3505f66, buf, 8, 17408));
2904TEMP_FAILURE_RETRY(fdatasync(t3505f66));
2905t3505f70 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
2906TEMP_FAILURE_RETRY(fdatasync(t3505f70));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002907close(t3505f70);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002908TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 12, 0));
2909TEMP_FAILURE_RETRY(fdatasync(t3505f66));
2910TEMP_FAILURE_RETRY(pwrite(t3505f66, buf, 28, 0));
2911TEMP_FAILURE_RETRY(fdatasync(t3505f66));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002912close(t3505f66);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002913TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 36227657));
2914TEMP_FAILURE_RETRY(pread(t3455f17, buf, 38, 36227687));
2915TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3166, 36225024)); // mmap2
2916TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 30377994));
2917TEMP_FAILURE_RETRY(pread(t3455f17, buf, 33, 30378024));
2918TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4545, 30375936)); // mmap2
2919TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35333764));
2920TEMP_FAILURE_RETRY(pread(t3455f17, buf, 45, 35333794));
2921TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3019, 35332096)); // mmap2
2922TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34435036));
2923TEMP_FAILURE_RETRY(pread(t3455f17, buf, 44, 34435066));
2924TEMP_FAILURE_RETRY(pread(t3455f17, buf, 324, 34435072)); // mmap2
2925TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34742552));
2926TEMP_FAILURE_RETRY(pread(t3455f17, buf, 42, 34742582));
2927TEMP_FAILURE_RETRY(pread(t3455f17, buf, 602, 34742272)); // mmap2
2928TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 31308722));
2929TEMP_FAILURE_RETRY(pread(t3455f17, buf, 42, 31308752));
2930TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3902, 31305728)); // mmap2
2931TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 31307465));
2932TEMP_FAILURE_RETRY(pread(t3455f17, buf, 46, 31307495));
2933TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2994, 31305728)); // mmap2
2934TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 31306529));
2935TEMP_FAILURE_RETRY(pread(t3455f17, buf, 41, 31306559));
2936TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1737, 31305728)); // mmap2
2937TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34261624));
2938TEMP_FAILURE_RETRY(pread(t3455f17, buf, 49, 34261654));
2939TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2993, 34258944)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002940int t3533f91 = TEMP_FAILURE_RETRY(open("file143", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002941close(t3533f91);
George Burgess IV170d8da2016-02-24 15:55:55 -08002942t3533f91 = TEMP_FAILURE_RETRY(open("file143", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002943TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 31210525));
2944TEMP_FAILURE_RETRY(pread(t3455f17, buf, 44, 31210555));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06002945TEMP_FAILURE_RETRY(write(t3533f91, buf, 16384));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002946TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3673, 31207424)); // mmap2
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06002947TEMP_FAILURE_RETRY(write(t3533f91, buf, 2024));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002948close(t3533f91);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002949int t3499f91 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002950TEMP_FAILURE_RETRY(pread(t3499f91, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002951close(t3499f91);
George Burgess IV170d8da2016-02-24 15:55:55 -08002952t3499f91 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002953TEMP_FAILURE_RETRY(pwrite(t3499f91, buf, 512, 0));
2954TEMP_FAILURE_RETRY(pwrite(t3499f91, buf, 4, 512));
2955TEMP_FAILURE_RETRY(pwrite(t3499f91, buf, 4096, 516));
2956TEMP_FAILURE_RETRY(pwrite(t3499f91, buf, 4, 4612));
2957TEMP_FAILURE_RETRY(pwrite(t3499f91, buf, 4, 4616));
2958TEMP_FAILURE_RETRY(pwrite(t3499f91, buf, 4096, 4620));
2959TEMP_FAILURE_RETRY(pwrite(t3499f91, buf, 4, 8716));
2960TEMP_FAILURE_RETRY(pwrite(t3499f91, buf, 4, 8720));
2961TEMP_FAILURE_RETRY(pwrite(t3499f91, buf, 4096, 8724));
2962TEMP_FAILURE_RETRY(pwrite(t3499f91, buf, 4, 12820));
2963TEMP_FAILURE_RETRY(pread(t3499f91, buf, 8, 13312));
2964TEMP_FAILURE_RETRY(fdatasync(t3499f91));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002965int t3499f93 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002966TEMP_FAILURE_RETRY(fdatasync(t3499f93));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002967close(t3499f93);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002968TEMP_FAILURE_RETRY(pwrite(t3499f91, buf, 12, 0));
2969TEMP_FAILURE_RETRY(fdatasync(t3499f91));
2970TEMP_FAILURE_RETRY(pwrite(t3499f91, buf, 28, 0));
2971TEMP_FAILURE_RETRY(fdatasync(t3499f91));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002972close(t3499f91);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002973int t3505f84 = TEMP_FAILURE_RETRY(open("file31", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002974TEMP_FAILURE_RETRY(pread(t3505f84, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002975close(t3505f84);
George Burgess IV170d8da2016-02-24 15:55:55 -08002976t3505f84 = TEMP_FAILURE_RETRY(open("file31", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002977TEMP_FAILURE_RETRY(pwrite(t3505f84, buf, 512, 0));
2978TEMP_FAILURE_RETRY(pwrite(t3505f84, buf, 4, 512));
2979TEMP_FAILURE_RETRY(pwrite(t3505f84, buf, 4096, 516));
2980TEMP_FAILURE_RETRY(pwrite(t3505f84, buf, 4, 4612));
2981TEMP_FAILURE_RETRY(pwrite(t3505f84, buf, 4, 4616));
2982TEMP_FAILURE_RETRY(pwrite(t3505f84, buf, 4096, 4620));
2983TEMP_FAILURE_RETRY(pwrite(t3505f84, buf, 4, 8716));
2984TEMP_FAILURE_RETRY(pwrite(t3505f84, buf, 4, 8720));
2985TEMP_FAILURE_RETRY(pwrite(t3505f84, buf, 4096, 8724));
2986TEMP_FAILURE_RETRY(pwrite(t3505f84, buf, 4, 12820));
2987TEMP_FAILURE_RETRY(pread(t3505f84, buf, 8, 13312));
2988TEMP_FAILURE_RETRY(fdatasync(t3505f84));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002989int t3505f90 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002990TEMP_FAILURE_RETRY(fdatasync(t3505f90));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002991close(t3505f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07002992TEMP_FAILURE_RETRY(pwrite(t3505f84, buf, 12, 0));
2993TEMP_FAILURE_RETRY(fdatasync(t3505f84));
2994TEMP_FAILURE_RETRY(pwrite(t3505f84, buf, 28, 0));
2995TEMP_FAILURE_RETRY(fdatasync(t3505f84));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002996close(t3505f84);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07002997int t3533f102 = TEMP_FAILURE_RETRY(open("file144", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07002998close(t3533f102);
George Burgess IV170d8da2016-02-24 15:55:55 -08002999t3533f72 = TEMP_FAILURE_RETRY(open("file144", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06003000TEMP_FAILURE_RETRY(write(t3533f72, buf, 5550));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003001close(t3533f72);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003002int t3526f84 = TEMP_FAILURE_RETRY(open("file145", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003003close(t3526f84);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003004int t3526f101 = TEMP_FAILURE_RETRY(open("file145", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06003005TEMP_FAILURE_RETRY(write(t3526f101, buf, 3612));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003006close(t3526f101);
George Burgess IV170d8da2016-02-24 15:55:55 -08003007t3526f90 = TEMP_FAILURE_RETRY(open("file146", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003008close(t3526f90);
George Burgess IV170d8da2016-02-24 15:55:55 -08003009t3526f90 = TEMP_FAILURE_RETRY(open("file146", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06003010TEMP_FAILURE_RETRY(write(t3526f90, buf, 5414));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003011int t3533f96 = TEMP_FAILURE_RETRY(open("file147", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003012close(t3533f96);
George Burgess IV170d8da2016-02-24 15:55:55 -08003013t3533f96 = TEMP_FAILURE_RETRY(open("file147", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003014close(t3526f90);
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06003015TEMP_FAILURE_RETRY(write(t3533f96, buf, 3834));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003016close(t3533f96);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003017int t3519f90 = TEMP_FAILURE_RETRY(open("file148", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003018close(t3519f90);
George Burgess IV170d8da2016-02-24 15:55:55 -08003019t3519f90 = TEMP_FAILURE_RETRY(open("file148", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06003020TEMP_FAILURE_RETRY(write(t3519f90, buf, 3461));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003021int t3526f96 = TEMP_FAILURE_RETRY(open("file149", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003022close(t3526f96);
3023close(t3519f90);
George Burgess IV170d8da2016-02-24 15:55:55 -08003024t3526f90 = TEMP_FAILURE_RETRY(open("file149", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06003025TEMP_FAILURE_RETRY(write(t3526f90, buf, 16384));
3026TEMP_FAILURE_RETRY(write(t3526f90, buf, 12766));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003027close(t3526f90);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003028int t3533f90 = TEMP_FAILURE_RETRY(open("file150", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003029close(t3533f90);
George Burgess IV170d8da2016-02-24 15:55:55 -08003030t3533f90 = TEMP_FAILURE_RETRY(open("file150", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003031int t3505f96 = TEMP_FAILURE_RETRY(open("file151", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0600));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003032TEMP_FAILURE_RETRY(pread(t3505f96, buf, 100, 0));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06003033TEMP_FAILURE_RETRY(write(t3533f90, buf, 10056));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003034close(t3533f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003035t3505f90 = TEMP_FAILURE_RETRY(open("file152", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3036TEMP_FAILURE_RETRY(pread(t3505f90, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003037close(t3505f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003038TEMP_FAILURE_RETRY(pread(t3505f96, buf, 4096, 0));
3039t3505f90 = TEMP_FAILURE_RETRY(open("file152", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3040TEMP_FAILURE_RETRY(pread(t3505f90, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003041close(t3505f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003042TEMP_FAILURE_RETRY(pread(t3505f96, buf, 16, 24));
3043t3505f90 = TEMP_FAILURE_RETRY(open("file152", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3044TEMP_FAILURE_RETRY(pread(t3505f90, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003045close(t3505f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003046TEMP_FAILURE_RETRY(pread(t3505f96, buf, 16, 24));
3047TEMP_FAILURE_RETRY(pread(t3505f96, buf, 4096, 8192));
3048t3505f90 = TEMP_FAILURE_RETRY(open("file152", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3049TEMP_FAILURE_RETRY(pread(t3505f90, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003050close(t3505f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003051TEMP_FAILURE_RETRY(pread(t3505f96, buf, 16, 24));
3052t3505f90 = TEMP_FAILURE_RETRY(open("file152", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003053int t3533f99 = TEMP_FAILURE_RETRY(open("file153", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003054close(t3533f99);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003055TEMP_FAILURE_RETRY(pread(t3505f90, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003056close(t3505f90);
George Burgess IV170d8da2016-02-24 15:55:55 -08003057t3533f90 = TEMP_FAILURE_RETRY(open("file153", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003058TEMP_FAILURE_RETRY(pread(t3505f96, buf, 16, 24));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06003059TEMP_FAILURE_RETRY(write(t3533f90, buf, 13271));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003060close(t3533f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003061TEMP_FAILURE_RETRY(pread(t3505f96, buf, 4096, 16384));
3062TEMP_FAILURE_RETRY(pread(t3505f96, buf, 4096, 12288));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003063int t3505f99 = TEMP_FAILURE_RETRY(open("file152", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003064TEMP_FAILURE_RETRY(pread(t3505f99, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003065close(t3505f99);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003066TEMP_FAILURE_RETRY(pread(t3505f96, buf, 16, 24));
3067TEMP_FAILURE_RETRY(pread(t3505f96, buf, 4096, 20480));
3068TEMP_FAILURE_RETRY(pread(t3505f96, buf, 4096, 147456));
3069TEMP_FAILURE_RETRY(pread(t3505f96, buf, 4096, 151552));
3070TEMP_FAILURE_RETRY(pread(t3505f96, buf, 4096, 196608));
3071TEMP_FAILURE_RETRY(pread(t3505f96, buf, 4096, 253952));
3072TEMP_FAILURE_RETRY(pread(t3505f96, buf, 4096, 303104));
3073TEMP_FAILURE_RETRY(pread(t3505f96, buf, 4096, 335872));
3074TEMP_FAILURE_RETRY(pread(t3505f96, buf, 4096, 450560));
3075TEMP_FAILURE_RETRY(pread(t3505f96, buf, 4096, 495616));
3076t3505f99 = TEMP_FAILURE_RETRY(open("file152", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3077TEMP_FAILURE_RETRY(pread(t3505f99, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003078close(t3505f99);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003079TEMP_FAILURE_RETRY(pread(t3505f96, buf, 16, 24));
3080t3499f90 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3081TEMP_FAILURE_RETRY(pread(t3499f90, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003082close(t3499f90);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003083if (!checkpoint(88)) return -1;
George Burgess IV170d8da2016-02-24 15:55:55 -08003084t3499f90 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003085TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 512, 0));
3086TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 512));
3087TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4096, 516));
3088TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 4612));
3089TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 4616));
3090TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4096, 4620));
3091TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 8716));
3092TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 8720));
3093TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4096, 8724));
3094TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 12820));
3095TEMP_FAILURE_RETRY(pread(t3499f90, buf, 8, 13312));
3096TEMP_FAILURE_RETRY(fdatasync(t3499f90));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003097int t3499f97 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003098TEMP_FAILURE_RETRY(fdatasync(t3499f97));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003099close(t3499f97);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003100TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 12, 0));
3101TEMP_FAILURE_RETRY(fdatasync(t3499f90));
3102TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 28, 0));
3103TEMP_FAILURE_RETRY(fdatasync(t3499f90));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003104close(t3499f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003105t3499f90 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3106TEMP_FAILURE_RETRY(pread(t3499f90, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003107close(t3499f90);
George Burgess IV170d8da2016-02-24 15:55:55 -08003108t3499f90 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003109TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 512, 0));
3110TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 512));
3111TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4096, 516));
3112TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 4612));
3113TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 4616));
3114TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4096, 4620));
3115TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 8716));
3116TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 8720));
3117TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4096, 8724));
3118TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 4, 12820));
3119TEMP_FAILURE_RETRY(pread(t3499f90, buf, 8, 13312));
3120TEMP_FAILURE_RETRY(fdatasync(t3499f90));
3121t3499f92 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3122TEMP_FAILURE_RETRY(fdatasync(t3499f92));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003123close(t3499f92);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003124TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 12, 0));
3125TEMP_FAILURE_RETRY(fdatasync(t3499f90));
3126TEMP_FAILURE_RETRY(pwrite(t3499f90, buf, 28, 0));
3127TEMP_FAILURE_RETRY(fdatasync(t3499f90));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003128close(t3499f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003129TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34438470));
3130TEMP_FAILURE_RETRY(pread(t3455f17, buf, 63, 34438500));
3131TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3681, 34435072)); // mmap2
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003132int t3576f95 = TEMP_FAILURE_RETRY(open("file152", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003133TEMP_FAILURE_RETRY(pread(t3576f95, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003134close(t3576f95);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003135t3499f92 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3136TEMP_FAILURE_RETRY(pread(t3499f92, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003137close(t3499f92);
George Burgess IV170d8da2016-02-24 15:55:55 -08003138t3499f92 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003139TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 512, 0));
3140TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 512));
3141TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4096, 516));
3142TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 4612));
3143TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 4616));
3144TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4096, 4620));
3145TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 8716));
3146TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 8720));
3147TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4096, 8724));
3148TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 12820));
3149TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 12824));
3150TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4096, 12828));
3151TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 16924));
3152TEMP_FAILURE_RETRY(pread(t3499f92, buf, 8, 17408));
3153TEMP_FAILURE_RETRY(fdatasync(t3499f92));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003154int t3499f95 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003155TEMP_FAILURE_RETRY(fdatasync(t3499f95));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003156close(t3499f95);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003157TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 12, 0));
3158TEMP_FAILURE_RETRY(fdatasync(t3499f92));
3159TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 28, 0));
3160TEMP_FAILURE_RETRY(fdatasync(t3499f92));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003161close(t3499f92);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003162t3499f92 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3163TEMP_FAILURE_RETRY(pread(t3499f92, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003164close(t3499f92);
George Burgess IV170d8da2016-02-24 15:55:55 -08003165t3499f92 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003166TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 512, 0));
3167TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 512));
3168TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4096, 516));
3169TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 4612));
3170TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 4616));
3171TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4096, 4620));
3172TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 8716));
3173TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 8720));
3174TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4096, 8724));
3175TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 12820));
3176TEMP_FAILURE_RETRY(pread(t3499f92, buf, 8, 13312));
3177TEMP_FAILURE_RETRY(fdatasync(t3499f92));
3178t3499f95 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3179TEMP_FAILURE_RETRY(fdatasync(t3499f95));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003180close(t3499f95);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003181TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 12, 0));
3182TEMP_FAILURE_RETRY(fdatasync(t3499f92));
3183TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 31156572));
3184TEMP_FAILURE_RETRY(pread(t3455f17, buf, 58, 31156602));
3185TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3099, 31154176)); // mmap2
3186TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 28, 0));
3187TEMP_FAILURE_RETRY(fdatasync(t3499f92));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003188close(t3499f92);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003189t3576f95 = TEMP_FAILURE_RETRY(open("file152", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3190TEMP_FAILURE_RETRY(pread(t3576f95, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003191close(t3576f95);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003192int t3499f100 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003193TEMP_FAILURE_RETRY(pread(t3499f100, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003194close(t3499f100);
George Burgess IV170d8da2016-02-24 15:55:55 -08003195t3499f100 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003196TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 512, 0));
3197TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 512));
3198TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4096, 516));
3199TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 4612));
3200TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 4616));
3201TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4096, 4620));
3202TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 8716));
3203TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 8720));
3204TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4096, 8724));
3205TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 12820));
3206TEMP_FAILURE_RETRY(pread(t3499f100, buf, 8, 13312));
3207TEMP_FAILURE_RETRY(fdatasync(t3499f100));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003208int t3499f106 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003209TEMP_FAILURE_RETRY(fdatasync(t3499f106));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003210close(t3499f106);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003211TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 12, 0));
3212TEMP_FAILURE_RETRY(fdatasync(t3499f100));
3213TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 28, 0));
3214TEMP_FAILURE_RETRY(fdatasync(t3499f100));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003215close(t3499f100);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003216t3499f100 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3217TEMP_FAILURE_RETRY(pread(t3499f100, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003218close(t3499f100);
George Burgess IV170d8da2016-02-24 15:55:55 -08003219t3499f100 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003220TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 512, 0));
3221TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 512));
3222TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4096, 516));
3223TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 4612));
3224TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 4616));
3225TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4096, 4620));
3226TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 8716));
3227TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 8720));
3228TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4096, 8724));
3229TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 12820));
3230TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 12824));
3231TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4096, 12828));
3232TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 16924));
3233TEMP_FAILURE_RETRY(pread(t3499f100, buf, 8, 17408));
3234TEMP_FAILURE_RETRY(fdatasync(t3499f100));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003235int t3499f105 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003236TEMP_FAILURE_RETRY(fdatasync(t3499f105));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003237close(t3499f105);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003238TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 12, 0));
3239TEMP_FAILURE_RETRY(fdatasync(t3499f100));
3240TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 28, 0));
3241TEMP_FAILURE_RETRY(fdatasync(t3499f100));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003242close(t3499f100);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003243t3499f100 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3244TEMP_FAILURE_RETRY(pread(t3499f100, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003245close(t3499f100);
George Burgess IV170d8da2016-02-24 15:55:55 -08003246t3499f100 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003247TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 512, 0));
3248TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 512));
3249TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4096, 516));
3250TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 4612));
3251TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 4616));
3252TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4096, 4620));
3253TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 8716));
3254TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 8720));
3255TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4096, 8724));
3256TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 12820));
3257TEMP_FAILURE_RETRY(pread(t3499f100, buf, 8, 13312));
3258TEMP_FAILURE_RETRY(fdatasync(t3499f100));
3259t3499f105 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3260TEMP_FAILURE_RETRY(fdatasync(t3499f105));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003261close(t3499f105);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003262TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 12, 0));
3263TEMP_FAILURE_RETRY(fdatasync(t3499f100));
3264TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 28, 0));
3265TEMP_FAILURE_RETRY(fdatasync(t3499f100));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003266close(t3499f100);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003267t3499f100 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3268TEMP_FAILURE_RETRY(pread(t3499f100, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003269close(t3499f100);
George Burgess IV170d8da2016-02-24 15:55:55 -08003270t3499f100 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003271TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 512, 0));
3272TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 512));
3273TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4096, 516));
3274TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 4612));
3275TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 4616));
3276TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4096, 4620));
3277TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 8716));
3278TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 8720));
3279TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4096, 8724));
3280TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 12820));
3281TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 12824));
3282TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4096, 12828));
3283TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 4, 16924));
3284TEMP_FAILURE_RETRY(pread(t3499f100, buf, 8, 17408));
3285TEMP_FAILURE_RETRY(fdatasync(t3499f100));
3286t3499f105 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3287TEMP_FAILURE_RETRY(fdatasync(t3499f105));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003288close(t3499f105);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003289TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 12, 0));
3290TEMP_FAILURE_RETRY(fdatasync(t3499f100));
3291TEMP_FAILURE_RETRY(pwrite(t3499f100, buf, 28, 0));
3292TEMP_FAILURE_RETRY(fdatasync(t3499f100));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003293close(t3499f100);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003294TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35636928));
3295TEMP_FAILURE_RETRY(pread(t3455f17, buf, 60, 35636958));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003296if (!checkpoint(91)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003297TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2062, 35635200)); // mmap2
3298t3499f84 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3299TEMP_FAILURE_RETRY(pread(t3499f84, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003300close(t3499f84);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003301int t3499f27 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003302TEMP_FAILURE_RETRY(pwrite(t3499f27, buf, 512, 0));
3303TEMP_FAILURE_RETRY(pwrite(t3499f27, buf, 4, 512));
3304TEMP_FAILURE_RETRY(pwrite(t3499f27, buf, 4096, 516));
3305TEMP_FAILURE_RETRY(pwrite(t3499f27, buf, 4, 4612));
3306TEMP_FAILURE_RETRY(pwrite(t3499f27, buf, 4, 4616));
3307TEMP_FAILURE_RETRY(pwrite(t3499f27, buf, 4096, 4620));
3308TEMP_FAILURE_RETRY(pwrite(t3499f27, buf, 4, 8716));
3309TEMP_FAILURE_RETRY(pwrite(t3499f27, buf, 4, 8720));
3310TEMP_FAILURE_RETRY(pwrite(t3499f27, buf, 4096, 8724));
3311TEMP_FAILURE_RETRY(pwrite(t3499f27, buf, 4, 12820));
3312TEMP_FAILURE_RETRY(pwrite(t3499f27, buf, 4, 12824));
3313TEMP_FAILURE_RETRY(pwrite(t3499f27, buf, 4096, 12828));
3314TEMP_FAILURE_RETRY(pwrite(t3499f27, buf, 4, 16924));
3315TEMP_FAILURE_RETRY(pread(t3499f27, buf, 8, 17408));
3316TEMP_FAILURE_RETRY(fdatasync(t3499f27));
3317t3499f84 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3318TEMP_FAILURE_RETRY(fdatasync(t3499f84));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003319close(t3499f84);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003320TEMP_FAILURE_RETRY(pwrite(t3499f27, buf, 12, 0));
3321TEMP_FAILURE_RETRY(fdatasync(t3499f27));
3322TEMP_FAILURE_RETRY(pwrite(t3499f27, buf, 28, 0));
3323TEMP_FAILURE_RETRY(fdatasync(t3499f27));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003324close(t3499f27);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003325t3499f27 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3326TEMP_FAILURE_RETRY(pread(t3499f27, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003327close(t3499f27);
George Burgess IV170d8da2016-02-24 15:55:55 -08003328t3499f92 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003329TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 512, 0));
3330TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 512));
3331TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4096, 516));
3332TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 4612));
3333TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 4616));
3334TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4096, 4620));
3335TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 8716));
3336TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 8720));
3337TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4096, 8724));
3338TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 12820));
3339TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 12824));
3340TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4096, 12828));
3341TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 16924));
3342TEMP_FAILURE_RETRY(pread(t3499f92, buf, 8, 17408));
3343TEMP_FAILURE_RETRY(fdatasync(t3499f92));
3344t3499f97 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3345TEMP_FAILURE_RETRY(fdatasync(t3499f97));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003346close(t3499f97);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003347TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 12, 0));
3348TEMP_FAILURE_RETRY(fdatasync(t3499f92));
3349TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 28, 0));
3350TEMP_FAILURE_RETRY(fdatasync(t3499f92));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003351close(t3499f92);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003352t3499f92 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3353TEMP_FAILURE_RETRY(pread(t3499f92, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003354close(t3499f92);
George Burgess IV170d8da2016-02-24 15:55:55 -08003355t3499f92 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003356TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 512, 0));
3357TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 512));
3358TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4096, 516));
3359TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 4612));
3360TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 4616));
3361TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4096, 4620));
3362TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 8716));
3363TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 8720));
3364TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4096, 8724));
3365TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 12820));
3366TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 12824));
3367TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4096, 12828));
3368TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 4, 16924));
3369TEMP_FAILURE_RETRY(pread(t3499f92, buf, 8, 17408));
3370TEMP_FAILURE_RETRY(fdatasync(t3499f92));
3371t3499f97 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3372TEMP_FAILURE_RETRY(fdatasync(t3499f97));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003373close(t3499f97);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003374TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 12, 0));
3375TEMP_FAILURE_RETRY(fdatasync(t3499f92));
3376TEMP_FAILURE_RETRY(pwrite(t3499f92, buf, 28, 0));
3377TEMP_FAILURE_RETRY(fdatasync(t3499f92));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003378close(t3499f92);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003379int t3545f92 = TEMP_FAILURE_RETRY(open("file154", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0600));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003380TEMP_FAILURE_RETRY(pread(t3545f92, buf, 100, 0));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003381int t3545f97 = TEMP_FAILURE_RETRY(open("file155", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003382TEMP_FAILURE_RETRY(pread(t3545f97, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003383close(t3545f97);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003384TEMP_FAILURE_RETRY(pread(t3545f92, buf, 4096, 0));
3385t3545f97 = TEMP_FAILURE_RETRY(open("file155", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3386TEMP_FAILURE_RETRY(pread(t3545f97, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003387close(t3545f97);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003388TEMP_FAILURE_RETRY(pread(t3545f92, buf, 16, 24));
3389t3545f97 = TEMP_FAILURE_RETRY(open("file155", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3390TEMP_FAILURE_RETRY(pread(t3545f97, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003391close(t3545f97);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003392TEMP_FAILURE_RETRY(pread(t3545f92, buf, 16, 24));
3393TEMP_FAILURE_RETRY(pread(t3545f92, buf, 4096, 8192));
3394t3545f97 = TEMP_FAILURE_RETRY(open("file155", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3395TEMP_FAILURE_RETRY(pread(t3545f97, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003396close(t3545f97);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003397TEMP_FAILURE_RETRY(pread(t3545f92, buf, 16, 24));
3398TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34965811));
3399TEMP_FAILURE_RETRY(pread(t3455f17, buf, 36, 34965841));
3400TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3053, 34963456)); // mmap2
3401t3545f97 = TEMP_FAILURE_RETRY(open("file155", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3402TEMP_FAILURE_RETRY(pread(t3545f97, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003403close(t3545f97);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003404TEMP_FAILURE_RETRY(pread(t3545f92, buf, 16, 24));
3405TEMP_FAILURE_RETRY(pread(t3545f92, buf, 4096, 16384));
3406TEMP_FAILURE_RETRY(pread(t3545f92, buf, 4096, 12288));
3407t3545f97 = TEMP_FAILURE_RETRY(open("file156", O_RDONLY|O_LARGEFILE));
3408TEMP_FAILURE_RETRY(read(t3545f97, buf, 8));
3409TEMP_FAILURE_RETRY(read(t3545f97, buf, 1));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003410close(t3545f97);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003411int t3545f100 = TEMP_FAILURE_RETRY(open("file155", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003412TEMP_FAILURE_RETRY(pread(t3545f100, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003413close(t3545f100);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003414TEMP_FAILURE_RETRY(pread(t3545f92, buf, 16, 24));
3415TEMP_FAILURE_RETRY(pread(t3545f92, buf, 4096, 24576));
3416TEMP_FAILURE_RETRY(pread(t3545f92, buf, 4096, 20480));
3417t3545f97 = TEMP_FAILURE_RETRY(open("file155", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3418TEMP_FAILURE_RETRY(pread(t3545f97, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003419close(t3545f97);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003420TEMP_FAILURE_RETRY(pread(t3545f92, buf, 16, 24));
George Burgess IV170d8da2016-02-24 15:55:55 -08003421t3545f97 = TEMP_FAILURE_RETRY(open("file155", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003422TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 512, 0));
3423TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 4, 512));
3424TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 4096, 516));
3425TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 4, 4612));
3426TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 4, 4616));
3427TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 4096, 4620));
3428TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 4, 8716));
3429TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 4, 8720));
3430TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 4096, 8724));
3431TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 4, 12820));
3432TEMP_FAILURE_RETRY(pread(t3545f97, buf, 8, 13312));
3433TEMP_FAILURE_RETRY(fdatasync(t3545f97));
3434t3545f100 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3435TEMP_FAILURE_RETRY(fdatasync(t3545f100));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003436close(t3545f100);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003437TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 12, 0));
3438TEMP_FAILURE_RETRY(fdatasync(t3545f97));
3439TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 0));
3440TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 20480));
3441TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 24576));
3442TEMP_FAILURE_RETRY(fdatasync(t3545f92));
3443TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 28, 0));
3444TEMP_FAILURE_RETRY(fdatasync(t3545f97));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003445close(t3545f97);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003446int t3545f104 = TEMP_FAILURE_RETRY(open("file155", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003447TEMP_FAILURE_RETRY(pread(t3545f104, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003448close(t3545f104);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003449TEMP_FAILURE_RETRY(pread(t3545f92, buf, 16, 24));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003450int t3545f29 = TEMP_FAILURE_RETRY(open("file155", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003451TEMP_FAILURE_RETRY(pread(t3545f29, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003452close(t3545f29);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003453TEMP_FAILURE_RETRY(pread(t3545f92, buf, 16, 24));
George Burgess IV170d8da2016-02-24 15:55:55 -08003454t3545f97 = TEMP_FAILURE_RETRY(open("file155", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003455TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 512, 0));
3456TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 4, 512));
3457TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 4096, 516));
3458TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 4, 4612));
3459TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 4, 4616));
3460TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 4096, 4620));
3461TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 4, 8716));
3462TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 4, 8720));
3463TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 4096, 8724));
3464TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 4, 12820));
3465TEMP_FAILURE_RETRY(pread(t3545f97, buf, 8, 13312));
3466TEMP_FAILURE_RETRY(fdatasync(t3545f97));
3467t3545f29 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3468TEMP_FAILURE_RETRY(fdatasync(t3545f29));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003469close(t3545f29);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003470TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 12, 0));
3471TEMP_FAILURE_RETRY(fdatasync(t3545f97));
3472TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 0));
3473TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 20480));
3474TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 24576));
3475TEMP_FAILURE_RETRY(fdatasync(t3545f92));
3476TEMP_FAILURE_RETRY(pwrite(t3545f97, buf, 28, 0));
3477TEMP_FAILURE_RETRY(fdatasync(t3545f97));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003478close(t3545f97);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003479int t3575f29 = TEMP_FAILURE_RETRY(open("file16", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06003480TEMP_FAILURE_RETRY(write(t3575f29, buf, 17344));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003481close(t3575f29);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003482t3545f97 = TEMP_FAILURE_RETRY(open("file155", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3483TEMP_FAILURE_RETRY(pread(t3545f97, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003484close(t3545f97);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003485TEMP_FAILURE_RETRY(pread(t3545f92, buf, 16, 24));
3486t3545f29 = TEMP_FAILURE_RETRY(open("file155", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3487TEMP_FAILURE_RETRY(pread(t3545f29, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003488close(t3545f29);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003489TEMP_FAILURE_RETRY(pread(t3545f92, buf, 16, 24));
George Burgess IV170d8da2016-02-24 15:55:55 -08003490t3545f29 = TEMP_FAILURE_RETRY(open("file155", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003491TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 512, 0));
3492TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 4, 512));
3493TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 4096, 516));
3494TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 4, 4612));
3495TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 4, 4616));
3496TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 4096, 4620));
3497TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 4, 8716));
3498TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 4, 8720));
3499TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 4096, 8724));
3500TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 4, 12820));
3501TEMP_FAILURE_RETRY(pread(t3545f29, buf, 8, 13312));
3502TEMP_FAILURE_RETRY(fdatasync(t3545f29));
3503t3545f97 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3504TEMP_FAILURE_RETRY(fdatasync(t3545f97));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003505close(t3545f97);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003506TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 12, 0));
3507TEMP_FAILURE_RETRY(fdatasync(t3545f29));
3508TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 0));
3509TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 20480));
3510TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 24576));
3511TEMP_FAILURE_RETRY(fdatasync(t3545f92));
3512TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 28, 0));
3513TEMP_FAILURE_RETRY(fdatasync(t3545f29));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003514close(t3545f29);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003515int t3499f26 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003516TEMP_FAILURE_RETRY(pread(t3499f26, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003517close(t3499f26);
George Burgess IV170d8da2016-02-24 15:55:55 -08003518t3499f26 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003519TEMP_FAILURE_RETRY(pwrite(t3499f26, buf, 512, 0));
3520TEMP_FAILURE_RETRY(pwrite(t3499f26, buf, 4, 512));
3521TEMP_FAILURE_RETRY(pwrite(t3499f26, buf, 4096, 516));
3522TEMP_FAILURE_RETRY(pwrite(t3499f26, buf, 4, 4612));
3523TEMP_FAILURE_RETRY(pwrite(t3499f26, buf, 4, 4616));
3524TEMP_FAILURE_RETRY(pwrite(t3499f26, buf, 4096, 4620));
3525TEMP_FAILURE_RETRY(pwrite(t3499f26, buf, 4, 8716));
3526TEMP_FAILURE_RETRY(pwrite(t3499f26, buf, 4, 8720));
3527TEMP_FAILURE_RETRY(pwrite(t3499f26, buf, 4096, 8724));
3528TEMP_FAILURE_RETRY(pwrite(t3499f26, buf, 4, 12820));
3529TEMP_FAILURE_RETRY(pread(t3499f26, buf, 8, 13312));
3530TEMP_FAILURE_RETRY(fdatasync(t3499f26));
3531t3499f97 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3532TEMP_FAILURE_RETRY(fdatasync(t3499f97));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003533if (!checkpoint(93)) return -1;
Elliott Hughes4e378be2015-05-28 22:02:14 -07003534close(t3499f97);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003535TEMP_FAILURE_RETRY(pwrite(t3499f26, buf, 12, 0));
3536TEMP_FAILURE_RETRY(fdatasync(t3499f26));
3537TEMP_FAILURE_RETRY(pwrite(t3499f26, buf, 28, 0));
3538TEMP_FAILURE_RETRY(fdatasync(t3499f26));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003539close(t3499f26);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003540t3499f26 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3541TEMP_FAILURE_RETRY(pread(t3499f26, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003542close(t3499f26);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003543int t3499f28 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003544TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 512, 0));
3545TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 4, 512));
3546TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 4096, 516));
3547TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 4, 4612));
3548TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 4, 4616));
3549TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 4096, 4620));
3550TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 4, 8716));
3551TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 4, 8720));
3552TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 4096, 8724));
3553TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 4, 12820));
3554TEMP_FAILURE_RETRY(pread(t3499f28, buf, 8, 13312));
3555TEMP_FAILURE_RETRY(fdatasync(t3499f28));
3556t3499f97 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3557TEMP_FAILURE_RETRY(fdatasync(t3499f97));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003558close(t3499f97);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003559TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 12, 0));
3560TEMP_FAILURE_RETRY(fdatasync(t3499f28));
3561TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 28, 0));
3562TEMP_FAILURE_RETRY(fdatasync(t3499f28));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003563close(t3499f28);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003564t3545f97 = TEMP_FAILURE_RETRY(open("file155", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3565TEMP_FAILURE_RETRY(pread(t3545f97, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003566close(t3545f97);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003567TEMP_FAILURE_RETRY(pread(t3545f92, buf, 16, 24));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003568int t3545f90 = TEMP_FAILURE_RETRY(open("file155", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003569TEMP_FAILURE_RETRY(pread(t3545f90, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003570close(t3545f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003571TEMP_FAILURE_RETRY(pread(t3545f92, buf, 16, 24));
3572TEMP_FAILURE_RETRY(pread(t3545f92, buf, 4096, 28672));
3573TEMP_FAILURE_RETRY(pread(t3545f92, buf, 4096, 36864));
3574TEMP_FAILURE_RETRY(pread(t3545f92, buf, 4096, 40960));
3575TEMP_FAILURE_RETRY(pread(t3545f92, buf, 4096, 45056));
3576TEMP_FAILURE_RETRY(pread(t3545f92, buf, 4096, 49152));
3577t3545f90 = TEMP_FAILURE_RETRY(open("file155", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3578TEMP_FAILURE_RETRY(pread(t3545f90, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003579close(t3545f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003580TEMP_FAILURE_RETRY(pread(t3545f92, buf, 16, 24));
3581t3545f90 = TEMP_FAILURE_RETRY(open("file155", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3582TEMP_FAILURE_RETRY(pread(t3545f90, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003583close(t3545f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003584TEMP_FAILURE_RETRY(pread(t3545f92, buf, 16, 24));
3585t3545f29 = TEMP_FAILURE_RETRY(open("file155", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3586TEMP_FAILURE_RETRY(pread(t3545f29, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003587close(t3545f29);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003588TEMP_FAILURE_RETRY(pread(t3545f92, buf, 16, 24));
George Burgess IV170d8da2016-02-24 15:55:55 -08003589t3545f29 = TEMP_FAILURE_RETRY(open("file155", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003590TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 512, 0));
3591TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 4, 512));
3592TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 4096, 516));
3593TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 4, 4612));
3594TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 4, 4616));
3595TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 4096, 4620));
3596TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 4, 8716));
3597TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 4, 8720));
3598TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 4096, 8724));
3599TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 4, 12820));
3600TEMP_FAILURE_RETRY(pread(t3545f29, buf, 8, 13312));
3601TEMP_FAILURE_RETRY(fdatasync(t3545f29));
3602t3545f90 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3603TEMP_FAILURE_RETRY(fdatasync(t3545f90));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003604close(t3545f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003605TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 12, 0));
3606TEMP_FAILURE_RETRY(fdatasync(t3545f29));
3607TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 0));
3608TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 20480));
3609TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 24576));
3610TEMP_FAILURE_RETRY(fdatasync(t3545f92));
3611TEMP_FAILURE_RETRY(pwrite(t3545f29, buf, 28, 0));
3612TEMP_FAILURE_RETRY(fdatasync(t3545f29));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003613close(t3545f29);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003614int t3545f84 = TEMP_FAILURE_RETRY(open("file155", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003615TEMP_FAILURE_RETRY(pread(t3545f84, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003616close(t3545f84);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003617TEMP_FAILURE_RETRY(pread(t3545f92, buf, 16, 24));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003618int t3584f84 = TEMP_FAILURE_RETRY(open("file157", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0600));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003619TEMP_FAILURE_RETRY(pread(t3584f84, buf, 100, 0));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003620int t3584f90 = TEMP_FAILURE_RETRY(open("file158", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003621TEMP_FAILURE_RETRY(pread(t3584f90, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003622close(t3584f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003623t3545f90 = TEMP_FAILURE_RETRY(open("file155", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3624TEMP_FAILURE_RETRY(pread(t3584f84, buf, 4096, 0));
3625TEMP_FAILURE_RETRY(pread(t3545f90, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003626close(t3545f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003627TEMP_FAILURE_RETRY(pread(t3545f92, buf, 16, 24));
George Burgess IV170d8da2016-02-24 15:55:55 -08003628t3545f90 = TEMP_FAILURE_RETRY(open("file155", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003629TEMP_FAILURE_RETRY(pwrite(t3545f90, buf, 512, 0));
3630TEMP_FAILURE_RETRY(pwrite(t3545f90, buf, 4, 512));
3631TEMP_FAILURE_RETRY(pwrite(t3545f90, buf, 4096, 516));
3632TEMP_FAILURE_RETRY(pwrite(t3545f90, buf, 4, 4612));
3633TEMP_FAILURE_RETRY(pwrite(t3545f90, buf, 4, 4616));
3634TEMP_FAILURE_RETRY(pwrite(t3545f90, buf, 4096, 4620));
3635TEMP_FAILURE_RETRY(pwrite(t3545f90, buf, 4, 8716));
3636TEMP_FAILURE_RETRY(pwrite(t3545f90, buf, 4, 8720));
3637TEMP_FAILURE_RETRY(pwrite(t3545f90, buf, 4096, 8724));
3638TEMP_FAILURE_RETRY(pwrite(t3545f90, buf, 4, 12820));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003639int t3584f99 = TEMP_FAILURE_RETRY(open("file158", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003640TEMP_FAILURE_RETRY(pread(t3545f90, buf, 8, 13312));
3641TEMP_FAILURE_RETRY(fdatasync(t3545f90));
3642TEMP_FAILURE_RETRY(pread(t3584f99, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003643close(t3584f99);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003644TEMP_FAILURE_RETRY(pread(t3584f84, buf, 16, 24));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003645int t3545f99 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003646TEMP_FAILURE_RETRY(fdatasync(t3545f99));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003647close(t3545f99);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003648TEMP_FAILURE_RETRY(pwrite(t3545f90, buf, 12, 0));
3649TEMP_FAILURE_RETRY(fdatasync(t3545f90));
3650TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 0));
3651TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 20480));
3652TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 24576));
3653TEMP_FAILURE_RETRY(fdatasync(t3545f92));
3654TEMP_FAILURE_RETRY(pwrite(t3545f90, buf, 28, 0));
3655TEMP_FAILURE_RETRY(fdatasync(t3545f90));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003656close(t3545f90);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003657int t3584f29 = TEMP_FAILURE_RETRY(open("file158", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003658TEMP_FAILURE_RETRY(pread(t3584f29, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003659close(t3584f29);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003660TEMP_FAILURE_RETRY(pread(t3584f84, buf, 16, 24));
3661TEMP_FAILURE_RETRY(pread(t3584f84, buf, 4096, 8192));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003662int t3584f27 = TEMP_FAILURE_RETRY(open("file158", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003663TEMP_FAILURE_RETRY(pread(t3584f27, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003664close(t3584f27);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003665TEMP_FAILURE_RETRY(pread(t3584f84, buf, 16, 24));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003666int t3545f95 = TEMP_FAILURE_RETRY(open("file155", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003667t3584f99 = TEMP_FAILURE_RETRY(open("file158", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3668TEMP_FAILURE_RETRY(pread(t3545f95, buf, 1, 0));
3669TEMP_FAILURE_RETRY(pread(t3584f99, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003670close(t3545f95);
3671close(t3584f99);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003672TEMP_FAILURE_RETRY(pread(t3545f92, buf, 16, 24));
3673TEMP_FAILURE_RETRY(pread(t3584f84, buf, 16, 24));
3674TEMP_FAILURE_RETRY(pread(t3584f84, buf, 4096, 16384));
3675TEMP_FAILURE_RETRY(pread(t3584f84, buf, 4096, 12288));
3676TEMP_FAILURE_RETRY(pread(t3545f92, buf, 4096, 32768));
George Burgess IV170d8da2016-02-24 15:55:55 -08003677t3545f99 = TEMP_FAILURE_RETRY(open("file155", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003678TEMP_FAILURE_RETRY(pwrite(t3545f99, buf, 512, 0));
3679TEMP_FAILURE_RETRY(pwrite(t3545f99, buf, 4, 512));
3680TEMP_FAILURE_RETRY(pwrite(t3545f99, buf, 4096, 516));
3681TEMP_FAILURE_RETRY(pwrite(t3545f99, buf, 4, 4612));
3682TEMP_FAILURE_RETRY(pwrite(t3545f99, buf, 4, 4616));
3683TEMP_FAILURE_RETRY(pwrite(t3545f99, buf, 4096, 4620));
3684TEMP_FAILURE_RETRY(pwrite(t3545f99, buf, 4, 8716));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003685int t3584f95 = TEMP_FAILURE_RETRY(open("file159", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003686TEMP_FAILURE_RETRY(read(t3584f95, buf, 8));
3687TEMP_FAILURE_RETRY(read(t3584f95, buf, 1));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003688close(t3584f95);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003689TEMP_FAILURE_RETRY(pwrite(t3545f99, buf, 4, 8720));
3690TEMP_FAILURE_RETRY(pwrite(t3545f99, buf, 4096, 8724));
3691TEMP_FAILURE_RETRY(pwrite(t3545f99, buf, 4, 12820));
3692TEMP_FAILURE_RETRY(pwrite(t3545f99, buf, 4, 12824));
3693TEMP_FAILURE_RETRY(pwrite(t3545f99, buf, 4096, 12828));
3694TEMP_FAILURE_RETRY(pwrite(t3545f99, buf, 4, 16924));
3695TEMP_FAILURE_RETRY(pread(t3545f92, buf, 4096, 4096));
3696TEMP_FAILURE_RETRY(pwrite(t3545f99, buf, 4, 16928));
3697TEMP_FAILURE_RETRY(pwrite(t3545f99, buf, 4096, 16932));
3698TEMP_FAILURE_RETRY(pwrite(t3545f99, buf, 4, 21028));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003699int t3584f101 = TEMP_FAILURE_RETRY(open("file158", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003700TEMP_FAILURE_RETRY(pread(t3584f101, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003701close(t3584f101);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003702TEMP_FAILURE_RETRY(pread(t3584f84, buf, 16, 24));
3703TEMP_FAILURE_RETRY(pread(t3584f84, buf, 4096, 40960));
3704t3584f101 = TEMP_FAILURE_RETRY(open("file158", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3705TEMP_FAILURE_RETRY(pread(t3584f101, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003706close(t3584f101);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003707TEMP_FAILURE_RETRY(pread(t3584f84, buf, 16, 24));
3708TEMP_FAILURE_RETRY(pread(t3584f84, buf, 4096, 20480));
3709TEMP_FAILURE_RETRY(pread(t3584f84, buf, 4096, 45056));
3710TEMP_FAILURE_RETRY(pread(t3584f84, buf, 4096, 49152));
3711TEMP_FAILURE_RETRY(pread(t3584f84, buf, 4096, 53248));
3712TEMP_FAILURE_RETRY(pread(t3584f84, buf, 4096, 57344));
3713TEMP_FAILURE_RETRY(pread(t3584f84, buf, 4096, 61440));
3714TEMP_FAILURE_RETRY(pread(t3584f84, buf, 4096, 65536));
3715TEMP_FAILURE_RETRY(pread(t3584f84, buf, 4096, 69632));
3716t3584f101 = TEMP_FAILURE_RETRY(open("file158", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3717TEMP_FAILURE_RETRY(pread(t3584f101, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003718close(t3584f101);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003719TEMP_FAILURE_RETRY(pread(t3584f84, buf, 16, 24));
3720TEMP_FAILURE_RETRY(pread(t3584f84, buf, 4096, 32768));
3721TEMP_FAILURE_RETRY(pread(t3545f99, buf, 8, 21504));
3722TEMP_FAILURE_RETRY(fdatasync(t3545f99));
3723t3545f95 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3724TEMP_FAILURE_RETRY(fdatasync(t3545f95));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003725close(t3545f95);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003726TEMP_FAILURE_RETRY(pwrite(t3545f99, buf, 12, 0));
3727TEMP_FAILURE_RETRY(fdatasync(t3545f99));
3728TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 0));
3729TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 4096));
3730TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 28672));
3731TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 32768));
3732TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 49152));
3733TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 53248));
3734TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 57344));
3735TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 61440));
3736TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 65536));
3737TEMP_FAILURE_RETRY(pwrite(t3545f92, buf, 4096, 69632));
3738TEMP_FAILURE_RETRY(fdatasync(t3545f92));
3739TEMP_FAILURE_RETRY(pwrite(t3545f99, buf, 28, 0));
3740TEMP_FAILURE_RETRY(fdatasync(t3545f99));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003741close(t3545f99);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003742int t3581f99 = TEMP_FAILURE_RETRY(open("file155", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003743TEMP_FAILURE_RETRY(pread(t3581f99, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003744close(t3581f99);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003745TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34970937));
3746TEMP_FAILURE_RETRY(pread(t3455f17, buf, 48, 34970967));
3747TEMP_FAILURE_RETRY(pread(t3455f17, buf, 3831, 34967552)); // mmap2
3748TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34291385));
3749TEMP_FAILURE_RETRY(pread(t3455f17, buf, 47, 34291415));
3750TEMP_FAILURE_RETRY(pread(t3455f17, buf, 4092, 34287616)); // mmap2
3751TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 30004037));
3752TEMP_FAILURE_RETRY(pread(t3455f17, buf, 36, 30004067));
3753TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2007, 30003200)); // mmap2
3754TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35001738));
3755TEMP_FAILURE_RETRY(pread(t3455f17, buf, 44, 35001768));
3756TEMP_FAILURE_RETRY(pread(t3455f17, buf, 1840, 35000320)); // mmap2
3757t3533f90 = TEMP_FAILURE_RETRY(open("file160", O_RDONLY|O_LARGEFILE));
3758TEMP_FAILURE_RETRY(read(t3533f90, buf, 16384));
3759TEMP_FAILURE_RETRY(read(t3533f90, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003760close(t3533f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003761TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 1580859));
3762TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 1580889));
3763TEMP_FAILURE_RETRY(pread(t3455f17, buf, 60268, 1576960)); // mmap2
3764TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 35002160));
3765TEMP_FAILURE_RETRY(pread(t3455f17, buf, 36, 35002190));
3766TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2527, 35000320)); // mmap2
3767TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 34269564));
3768TEMP_FAILURE_RETRY(pread(t3455f17, buf, 55, 34269594));
3769TEMP_FAILURE_RETRY(pread(t3455f17, buf, 2753, 34267136)); // mmap2
3770TEMP_FAILURE_RETRY(pread(t3455f17, buf, 30, 1637228));
3771TEMP_FAILURE_RETRY(pread(t3455f17, buf, 31, 1637258));
3772TEMP_FAILURE_RETRY(pread(t3455f17, buf, 58435, 1634304)); // mmap2
3773t3533f90 = TEMP_FAILURE_RETRY(open("file161", O_RDONLY|O_LARGEFILE));
3774TEMP_FAILURE_RETRY(read(t3533f90, buf, 16384));
3775TEMP_FAILURE_RETRY(read(t3533f90, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003776close(t3533f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003777t3526f90 = TEMP_FAILURE_RETRY(open("file162", O_RDONLY|O_LARGEFILE));
3778TEMP_FAILURE_RETRY(read(t3526f90, buf, 16384));
3779TEMP_FAILURE_RETRY(read(t3526f90, buf, 16384));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003780if (!checkpoint(96)) return -1;
Elliott Hughes4e378be2015-05-28 22:02:14 -07003781close(t3526f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003782t3526f90 = TEMP_FAILURE_RETRY(open("file163", O_RDONLY|O_LARGEFILE));
3783TEMP_FAILURE_RETRY(read(t3526f90, buf, 16384));
3784TEMP_FAILURE_RETRY(read(t3526f90, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003785close(t3526f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003786t3533f90 = TEMP_FAILURE_RETRY(open("file164", O_RDONLY|O_LARGEFILE));
3787TEMP_FAILURE_RETRY(read(t3533f90, buf, 16384));
3788TEMP_FAILURE_RETRY(read(t3533f90, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003789close(t3533f90);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003790t3526f90 = TEMP_FAILURE_RETRY(open("file165", O_RDONLY|O_LARGEFILE));
3791TEMP_FAILURE_RETRY(read(t3526f90, buf, 16384));
3792TEMP_FAILURE_RETRY(read(t3526f90, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003793close(t3526f90);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003794int t3586f102 = TEMP_FAILURE_RETRY(open("file166", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003795close(t3586f102);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003796int t3586f97 = TEMP_FAILURE_RETRY(open("file167", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003797TEMP_FAILURE_RETRY(read(t3586f97, buf, 8192));
3798TEMP_FAILURE_RETRY(read(t3586f97, buf, 8192));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003799close(t3586f97);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003800int t3587f95 = TEMP_FAILURE_RETRY(open("file168", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003801TEMP_FAILURE_RETRY(read(t3587f95, buf, 16384));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003802close(t3587f95);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003803t3499f28 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3804TEMP_FAILURE_RETRY(pread(t3499f28, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003805close(t3499f28);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003806int t3496f28 = TEMP_FAILURE_RETRY(open("file169", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0600));
3807int t3499f103 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003808TEMP_FAILURE_RETRY(pwrite(t3499f103, buf, 512, 0));
3809TEMP_FAILURE_RETRY(pwrite(t3499f103, buf, 4, 512));
3810TEMP_FAILURE_RETRY(pwrite(t3499f103, buf, 4096, 516));
3811TEMP_FAILURE_RETRY(pwrite(t3499f103, buf, 4, 4612));
3812TEMP_FAILURE_RETRY(pwrite(t3499f103, buf, 4, 4616));
3813TEMP_FAILURE_RETRY(pwrite(t3499f103, buf, 4096, 4620));
3814TEMP_FAILURE_RETRY(pwrite(t3499f103, buf, 4, 8716));
3815TEMP_FAILURE_RETRY(pwrite(t3499f103, buf, 4, 8720));
3816TEMP_FAILURE_RETRY(pwrite(t3499f103, buf, 4096, 8724));
3817TEMP_FAILURE_RETRY(pwrite(t3499f103, buf, 4, 12820));
3818TEMP_FAILURE_RETRY(pread(t3499f103, buf, 8, 13312));
3819TEMP_FAILURE_RETRY(fdatasync(t3499f103));
3820t3499f105 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3821TEMP_FAILURE_RETRY(fdatasync(t3499f105));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06003822TEMP_FAILURE_RETRY(write(t3496f28, buf, 8188));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003823close(t3499f105);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003824TEMP_FAILURE_RETRY(pwrite(t3499f103, buf, 12, 0));
3825TEMP_FAILURE_RETRY(fdatasync(t3499f103));
Jeff Sharkeyf09a89a2016-06-27 11:17:51 -06003826TEMP_FAILURE_RETRY(write(t3496f28, buf, 3166));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003827TEMP_FAILURE_RETRY(pwrite(t3499f103, buf, 28, 0));
3828TEMP_FAILURE_RETRY(fdatasync(t3499f103));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003829close(t3499f103);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003830TEMP_FAILURE_RETRY(fsync(t3496f28));
3831t3499f106 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3832TEMP_FAILURE_RETRY(pread(t3499f106, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003833close(t3499f106);
3834close(t3496f28);
George Burgess IV170d8da2016-02-24 15:55:55 -08003835t3499f28 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003836TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 512, 0));
3837TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 4, 512));
3838TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 4096, 516));
3839TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 4, 4612));
3840TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 4, 4616));
3841TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 4096, 4620));
3842TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 4, 8716));
3843TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 4, 8720));
3844TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 4096, 8724));
3845TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 4, 12820));
3846TEMP_FAILURE_RETRY(pread(t3499f28, buf, 8, 13312));
3847TEMP_FAILURE_RETRY(fdatasync(t3499f28));
3848t3499f105 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3849TEMP_FAILURE_RETRY(fdatasync(t3499f105));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003850close(t3499f105);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003851TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 12, 0));
3852TEMP_FAILURE_RETRY(fdatasync(t3499f28));
3853TEMP_FAILURE_RETRY(pwrite(t3499f28, buf, 28, 0));
3854TEMP_FAILURE_RETRY(fdatasync(t3499f28));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003855close(t3499f28);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003856int t3541f103 = TEMP_FAILURE_RETRY(open("file170", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0600));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003857TEMP_FAILURE_RETRY(pread(t3541f103, buf, 100, 0));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003858int t3541f105 = TEMP_FAILURE_RETRY(open("file171", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003859TEMP_FAILURE_RETRY(pread(t3541f105, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003860close(t3541f105);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003861TEMP_FAILURE_RETRY(pread(t3541f103, buf, 4096, 0));
3862t3541f105 = TEMP_FAILURE_RETRY(open("file171", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3863TEMP_FAILURE_RETRY(pread(t3541f105, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003864close(t3541f105);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003865TEMP_FAILURE_RETRY(pread(t3541f103, buf, 16, 24));
3866t3541f105 = TEMP_FAILURE_RETRY(open("file171", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3867TEMP_FAILURE_RETRY(pread(t3541f105, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003868close(t3541f105);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003869TEMP_FAILURE_RETRY(pread(t3541f103, buf, 16, 24));
3870TEMP_FAILURE_RETRY(pread(t3541f103, buf, 4096, 8192));
3871t3541f105 = TEMP_FAILURE_RETRY(open("file171", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3872TEMP_FAILURE_RETRY(pread(t3541f105, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003873close(t3541f105);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003874TEMP_FAILURE_RETRY(pread(t3541f103, buf, 16, 24));
3875t3541f105 = TEMP_FAILURE_RETRY(open("file171", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3876TEMP_FAILURE_RETRY(pread(t3541f105, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003877close(t3541f105);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003878TEMP_FAILURE_RETRY(pread(t3541f103, buf, 16, 24));
3879TEMP_FAILURE_RETRY(pread(t3541f103, buf, 4096, 16384));
3880TEMP_FAILURE_RETRY(pread(t3541f103, buf, 4096, 12288));
3881t3541f105 = TEMP_FAILURE_RETRY(open("file172", O_RDONLY|O_LARGEFILE));
3882TEMP_FAILURE_RETRY(read(t3541f105, buf, 8));
3883TEMP_FAILURE_RETRY(read(t3541f105, buf, 1));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003884close(t3541f105);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003885int t3541f106 = TEMP_FAILURE_RETRY(open("file171", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003886TEMP_FAILURE_RETRY(pread(t3541f106, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003887close(t3541f106);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003888TEMP_FAILURE_RETRY(pread(t3541f103, buf, 16, 24));
3889TEMP_FAILURE_RETRY(pread(t3541f103, buf, 4096, 20480));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003890int t3499f107 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003891TEMP_FAILURE_RETRY(pread(t3499f107, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003892close(t3499f107);
George Burgess IV170d8da2016-02-24 15:55:55 -08003893t3499f107 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003894TEMP_FAILURE_RETRY(pwrite(t3499f107, buf, 512, 0));
3895TEMP_FAILURE_RETRY(pwrite(t3499f107, buf, 4, 512));
3896TEMP_FAILURE_RETRY(pwrite(t3499f107, buf, 4096, 516));
3897TEMP_FAILURE_RETRY(pwrite(t3499f107, buf, 4, 4612));
3898TEMP_FAILURE_RETRY(pwrite(t3499f107, buf, 4, 4616));
3899TEMP_FAILURE_RETRY(pwrite(t3499f107, buf, 4096, 4620));
3900TEMP_FAILURE_RETRY(pwrite(t3499f107, buf, 4, 8716));
3901TEMP_FAILURE_RETRY(pwrite(t3499f107, buf, 4, 8720));
3902TEMP_FAILURE_RETRY(pwrite(t3499f107, buf, 4096, 8724));
3903TEMP_FAILURE_RETRY(pwrite(t3499f107, buf, 4, 12820));
3904TEMP_FAILURE_RETRY(pread(t3499f107, buf, 8, 13312));
3905TEMP_FAILURE_RETRY(fdatasync(t3499f107));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003906int t3499f108 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003907TEMP_FAILURE_RETRY(fdatasync(t3499f108));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003908close(t3499f108);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003909TEMP_FAILURE_RETRY(pwrite(t3499f107, buf, 12, 0));
3910TEMP_FAILURE_RETRY(fdatasync(t3499f107));
3911TEMP_FAILURE_RETRY(pwrite(t3499f107, buf, 28, 0));
3912TEMP_FAILURE_RETRY(fdatasync(t3499f107));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003913close(t3499f107);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003914t3499f107 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3915TEMP_FAILURE_RETRY(pread(t3499f107, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003916close(t3499f107);
George Burgess IV170d8da2016-02-24 15:55:55 -08003917t3499f105 = TEMP_FAILURE_RETRY(open("file18", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0660));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003918TEMP_FAILURE_RETRY(pwrite(t3499f105, buf, 512, 0));
3919TEMP_FAILURE_RETRY(pwrite(t3499f105, buf, 4, 512));
3920TEMP_FAILURE_RETRY(pwrite(t3499f105, buf, 4096, 516));
3921TEMP_FAILURE_RETRY(pwrite(t3499f105, buf, 4, 4612));
3922TEMP_FAILURE_RETRY(pwrite(t3499f105, buf, 4, 4616));
3923TEMP_FAILURE_RETRY(pwrite(t3499f105, buf, 4096, 4620));
3924TEMP_FAILURE_RETRY(pwrite(t3499f105, buf, 4, 8716));
3925TEMP_FAILURE_RETRY(pwrite(t3499f105, buf, 4, 8720));
3926TEMP_FAILURE_RETRY(pwrite(t3499f105, buf, 4096, 8724));
3927TEMP_FAILURE_RETRY(pwrite(t3499f105, buf, 4, 12820));
3928TEMP_FAILURE_RETRY(pread(t3499f105, buf, 8, 13312));
3929TEMP_FAILURE_RETRY(fdatasync(t3499f105));
3930t3499f106 = TEMP_FAILURE_RETRY(open("file22", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3931TEMP_FAILURE_RETRY(fdatasync(t3499f106));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003932close(t3499f106);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003933TEMP_FAILURE_RETRY(pwrite(t3499f105, buf, 12, 0));
3934TEMP_FAILURE_RETRY(fdatasync(t3499f105));
3935TEMP_FAILURE_RETRY(pwrite(t3499f105, buf, 28, 0));
3936TEMP_FAILURE_RETRY(fdatasync(t3499f105));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003937close(t3499f105);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003938int t3505f106 = TEMP_FAILURE_RETRY(open("file171", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003939TEMP_FAILURE_RETRY(pread(t3505f106, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003940close(t3505f106);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003941int t3540f107 = TEMP_FAILURE_RETRY(open("file173", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0600));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003942TEMP_FAILURE_RETRY(pread(t3540f107, buf, 100, 0));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003943int t3540f108 = TEMP_FAILURE_RETRY(open("file174", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003944TEMP_FAILURE_RETRY(pread(t3540f108, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003945close(t3540f108);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003946TEMP_FAILURE_RETRY(pread(t3540f107, buf, 4096, 0));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003947int t3540f105 = TEMP_FAILURE_RETRY(open("file174", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003948TEMP_FAILURE_RETRY(pread(t3540f105, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003949close(t3540f105);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003950TEMP_FAILURE_RETRY(pread(t3540f107, buf, 16, 24));
3951t3540f105 = TEMP_FAILURE_RETRY(open("file174", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3952TEMP_FAILURE_RETRY(pread(t3540f105, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003953close(t3540f105);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003954TEMP_FAILURE_RETRY(pread(t3540f107, buf, 16, 24));
3955TEMP_FAILURE_RETRY(pread(t3540f107, buf, 4096, 8192));
3956t3540f105 = TEMP_FAILURE_RETRY(open("file174", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3957TEMP_FAILURE_RETRY(pread(t3540f105, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003958close(t3540f105);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003959TEMP_FAILURE_RETRY(pread(t3540f107, buf, 16, 24));
3960t3540f105 = TEMP_FAILURE_RETRY(open("file174", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3961TEMP_FAILURE_RETRY(pread(t3540f105, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003962close(t3540f105);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003963TEMP_FAILURE_RETRY(pread(t3540f107, buf, 16, 24));
3964TEMP_FAILURE_RETRY(pread(t3540f107, buf, 4096, 16384));
3965TEMP_FAILURE_RETRY(pread(t3540f107, buf, 4096, 12288));
3966t3540f105 = TEMP_FAILURE_RETRY(open("file175", O_RDONLY|O_LARGEFILE));
3967TEMP_FAILURE_RETRY(read(t3540f105, buf, 8));
3968TEMP_FAILURE_RETRY(read(t3540f105, buf, 1));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003969close(t3540f105);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003970int t3540f106 = TEMP_FAILURE_RETRY(open("file174", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003971TEMP_FAILURE_RETRY(pread(t3540f106, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003972close(t3540f106);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003973TEMP_FAILURE_RETRY(pread(t3540f107, buf, 16, 24));
3974TEMP_FAILURE_RETRY(pread(t3540f107, buf, 4096, 24576));
3975TEMP_FAILURE_RETRY(pread(t3540f107, buf, 4096, 20480));
3976t3540f106 = TEMP_FAILURE_RETRY(open("file174", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3977TEMP_FAILURE_RETRY(pread(t3540f106, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003978close(t3540f106);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003979TEMP_FAILURE_RETRY(pread(t3540f107, buf, 16, 24));
3980t3540f106 = TEMP_FAILURE_RETRY(open("file174", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3981TEMP_FAILURE_RETRY(pread(t3540f106, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003982close(t3540f106);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003983TEMP_FAILURE_RETRY(pread(t3540f107, buf, 16, 24));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003984int t3496f105 = TEMP_FAILURE_RETRY(open("file176", O_RDONLY|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003985close(t3496f105);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003986t3499f108 = TEMP_FAILURE_RETRY(open("file18", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3987TEMP_FAILURE_RETRY(pread(t3499f108, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003988close(t3499f108);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003989int t3597f108 = TEMP_FAILURE_RETRY(open("file177", O_RDWR|O_CREAT|O_LARGEFILE|O_CLOEXEC, 0600));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003990TEMP_FAILURE_RETRY(pread(t3597f108, buf, 100, 0));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07003991int t3597f109 = TEMP_FAILURE_RETRY(open("file178", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003992TEMP_FAILURE_RETRY(pread(t3597f109, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003993close(t3597f109);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003994TEMP_FAILURE_RETRY(pread(t3597f108, buf, 4096, 0));
3995t3597f109 = TEMP_FAILURE_RETRY(open("file178", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
3996TEMP_FAILURE_RETRY(pread(t3597f109, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07003997close(t3597f109);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07003998TEMP_FAILURE_RETRY(pread(t3597f108, buf, 16, 24));
3999t3597f109 = TEMP_FAILURE_RETRY(open("file178", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
4000TEMP_FAILURE_RETRY(pread(t3597f109, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07004001close(t3597f109);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004002TEMP_FAILURE_RETRY(pread(t3597f108, buf, 16, 24));
4003TEMP_FAILURE_RETRY(pread(t3597f108, buf, 4096, 8192));
4004t3597f109 = TEMP_FAILURE_RETRY(open("file178", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
4005TEMP_FAILURE_RETRY(pread(t3597f109, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07004006close(t3597f109);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004007TEMP_FAILURE_RETRY(pread(t3597f108, buf, 16, 24));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004008int t3540f109 = TEMP_FAILURE_RETRY(open("file179", O_RDONLY|O_LARGEFILE));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004009TEMP_FAILURE_RETRY(read(t3540f109, buf, 4000));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004010int t3597f110 = TEMP_FAILURE_RETRY(open("file178", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004011TEMP_FAILURE_RETRY(pread(t3597f110, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07004012close(t3597f110);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004013TEMP_FAILURE_RETRY(pread(t3597f108, buf, 16, 24));
Elliott Hughes4e378be2015-05-28 22:02:14 -07004014close(t3540f109);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004015if (!checkpoint(99)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004016TEMP_FAILURE_RETRY(pread(t3597f108, buf, 4096, 16384));
4017TEMP_FAILURE_RETRY(pread(t3597f108, buf, 4096, 12288));
4018t3597f109 = TEMP_FAILURE_RETRY(open("file178", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
4019TEMP_FAILURE_RETRY(pread(t3597f109, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07004020close(t3597f109);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004021TEMP_FAILURE_RETRY(pread(t3597f108, buf, 16, 24));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004022int t3597f111 = TEMP_FAILURE_RETRY(open("file178", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004023TEMP_FAILURE_RETRY(pread(t3597f111, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07004024close(t3597f111);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004025TEMP_FAILURE_RETRY(pread(t3597f108, buf, 16, 24));
4026TEMP_FAILURE_RETRY(pread(t3597f108, buf, 4096, 24576));
4027TEMP_FAILURE_RETRY(pread(t3597f108, buf, 4096, 20480));
4028TEMP_FAILURE_RETRY(pread(t3597f108, buf, 4096, 57344));
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004029int t3598f111 = TEMP_FAILURE_RETRY(open("file178", O_RDONLY|O_LARGEFILE|O_CLOEXEC));
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004030TEMP_FAILURE_RETRY(pread(t3598f111, buf, 1, 0));
Elliott Hughes4e378be2015-05-28 22:02:14 -07004031close(t3598f111);
4032close(t3540f107);
4033close(t3541f103);
4034close(t3545f92);
4035close(t3492f31);
4036close(t3505f96);
4037close(t3433f17);
4038close(t3597f108);
4039close(t3584f84);
4040close(t3455f17);
4041close(t3483f25);
4042close(t3483f20);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004043
4044free(buf);
4045return 0;
4046}
4047
Jeff Sharkeyd46687e2015-07-29 09:14:21 -07004048static status_t CreateFile(const char* name, int len) {
4049 int chunk = std::min(len, 65536);
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004050 int out = -1;
Jeff Sharkeyd46687e2015-07-29 09:14:21 -07004051 std::string buf;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004052
Jeff Sharkeyd46687e2015-07-29 09:14:21 -07004053 if (android::vold::ReadRandomBytes(chunk, buf) != OK) {
4054 LOG(ERROR) << "Failed to read random data";
4055 return -EIO;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004056 }
George Burgess IV605d7ae2016-02-29 13:39:17 -08004057 if ((out = TEMP_FAILURE_RETRY(open(name, O_WRONLY|O_CREAT|O_TRUNC, 0644))) < 0) {
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004058 PLOG(ERROR) << "Failed to open " << name;
Jeff Sharkeyd46687e2015-07-29 09:14:21 -07004059 return -errno;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004060 }
4061
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004062 while (len > 0) {
Jeff Sharkeyd46687e2015-07-29 09:14:21 -07004063 int n = write(out, buf.c_str(), std::min(len, chunk));
4064 if (n < 0) {
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004065 PLOG(ERROR) << "Failed to write";
Jeff Sharkeyd46687e2015-07-29 09:14:21 -07004066 close(out);
4067 return -errno;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004068 }
4069 len -= n;
4070 }
4071
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004072 close(out);
Jeff Sharkeyd46687e2015-07-29 09:14:21 -07004073 return OK;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004074}
4075
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004076static status_t BenchmarkCreate(std::function<bool(int)> checkpoint) {
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004077status_t res = 0;
4078res |= CreateFile("stub", 0);
4079
4080res |= CreateFile("file115", 0);
4081res |= CreateFile("file125", 0);
4082res |= CreateFile("file43", 49152);
4083res |= CreateFile("file2", 57016320);
4084res |= CreateFile("file17", 176128);
4085res |= CreateFile("file126", 0);
4086res |= CreateFile("file4", 0);
4087res |= CreateFile("file175", 9);
4088res |= CreateFile("file76", 0);
4089res |= CreateFile("file140", 4042);
4090res |= CreateFile("file80", 0);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004091if (!checkpoint(3)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004092res |= CreateFile("file139", 49152);
4093res |= CreateFile("file50", 32768);
4094res |= CreateFile("file179", 4000);
4095res |= CreateFile("file144", 5550);
4096res |= CreateFile("file138", 130888);
4097res |= CreateFile("file28", 3182276);
4098res |= CreateFile("file161", 32768);
4099res |= CreateFile("file34", 1423);
4100res |= CreateFile("file53", 32768);
4101res |= CreateFile("file72", 0);
4102res |= CreateFile("file55", 16384);
4103res |= CreateFile("file54", 39938);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004104if (!checkpoint(6)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004105res |= CreateFile("file129", 3974);
4106res |= CreateFile("file107", 0);
4107res |= CreateFile("file95", 0);
4108res |= CreateFile("file82", 0);
4109res |= CreateFile("file27", 53280);
4110res |= CreateFile("file167", 16384);
4111res |= CreateFile("file9", 24588);
4112res |= CreateFile("file123", 0);
4113res |= CreateFile("file89", 0);
4114res |= CreateFile("file40", 4172);
4115res |= CreateFile("file20", 1);
4116res |= CreateFile("file151", 499712);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004117if (!checkpoint(10)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004118res |= CreateFile("file106", 0);
4119res |= CreateFile("file159", 9);
4120res |= CreateFile("file47", 32768);
4121res |= CreateFile("file146", 5414);
4122res |= CreateFile("file153", 13271);
4123res |= CreateFile("file12", 2);
4124res |= CreateFile("file137", 32768);
4125res |= CreateFile("file157", 73728);
4126res |= CreateFile("file172", 9);
4127res |= CreateFile("file148", 3461);
4128res |= CreateFile("file7", 794976);
4129res |= CreateFile("file68", 32768);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004130if (!checkpoint(13)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004131res |= CreateFile("file109", 0);
4132res |= CreateFile("file142", 5057);
4133res |= CreateFile("file147", 3834);
4134res |= CreateFile("file117", 0);
4135res |= CreateFile("file94", 0);
4136res |= CreateFile("file81", 0);
4137res |= CreateFile("file75", 0);
4138res |= CreateFile("file111", 0);
4139res |= CreateFile("file105", 0);
4140res |= CreateFile("file79", 0);
4141res |= CreateFile("file65", 32768);
4142res |= CreateFile("file135", 21257);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004143if (!checkpoint(16)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004144res |= CreateFile("file124", 0);
4145res |= CreateFile("file87", 0);
4146res |= CreateFile("file64", 49152);
4147res |= CreateFile("file131", 4622);
4148res |= CreateFile("file130", 32768);
4149res |= CreateFile("file59", 143552);
4150res |= CreateFile("file141", 4595);
4151res |= CreateFile("file149", 29150);
4152res |= CreateFile("file178", 1);
4153res |= CreateFile("file163", 32768);
4154res |= CreateFile("file67", 32768);
4155res |= CreateFile("file155", 21512);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004156if (!checkpoint(20)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004157res |= CreateFile("file156", 9);
4158res |= CreateFile("file23", 28700);
4159res |= CreateFile("file61", 32768);
4160res |= CreateFile("file0", 40464617);
4161res |= CreateFile("file39", 32768);
4162res |= CreateFile("file145", 3612);
4163res |= CreateFile("file70", 32768);
4164res |= CreateFile("file69", 32768);
4165res |= CreateFile("file24", 94220);
4166res |= CreateFile("file57", 32768);
4167res |= CreateFile("file104", 0);
4168res |= CreateFile("file113", 0);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004169if (!checkpoint(23)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004170res |= CreateFile("file99", 0);
4171res |= CreateFile("file120", 0);
4172res |= CreateFile("file154", 73728);
4173res |= CreateFile("file127", 0);
4174res |= CreateFile("file38", 65720);
4175res |= CreateFile("file77", 0);
4176res |= CreateFile("file85", 0);
4177res |= CreateFile("file119", 0);
4178res |= CreateFile("file96", 0);
4179res |= CreateFile("file91", 0);
4180res |= CreateFile("file158", 1);
4181res |= CreateFile("file174", 1);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004182if (!checkpoint(26)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004183res |= CreateFile("file48", 32768);
4184res |= CreateFile("file33", 32566);
4185res |= CreateFile("file83", 0);
4186res |= CreateFile("file32", 179192);
4187res |= CreateFile("file118", 0);
4188res |= CreateFile("file121", 0);
4189res |= CreateFile("file101", 0);
4190res |= CreateFile("file168", 16384);
4191res |= CreateFile("file16", 31392);
4192res |= CreateFile("file164", 32768);
4193res |= CreateFile("file36", 192544);
4194res |= CreateFile("file6", 4636);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004195if (!checkpoint(30)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004196res |= CreateFile("file10", 16484);
4197res |= CreateFile("file150", 10056);
4198res |= CreateFile("file62", 32768);
4199res |= CreateFile("file165", 32768);
4200res |= CreateFile("file42", 28736);
4201res |= CreateFile("file19", 188416);
4202res |= CreateFile("file128", 2991);
4203res |= CreateFile("file112", 0);
4204res |= CreateFile("file100", 0);
4205res |= CreateFile("file103", 0);
4206res |= CreateFile("file26", 28676);
4207res |= CreateFile("file46", 32768);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004208if (!checkpoint(33)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004209res |= CreateFile("file60", 32768);
4210res |= CreateFile("file162", 32768);
4211res |= CreateFile("file25", 32872);
4212res |= CreateFile("file21", 16384);
4213res |= CreateFile("file45", 32768);
4214res |= CreateFile("file3", 0);
4215res |= CreateFile("file171", 1);
4216res |= CreateFile("file15", 2);
4217res |= CreateFile("file51", 32768);
4218res |= CreateFile("file37", 159752);
4219res |= CreateFile("file73", 0);
4220res |= CreateFile("file71", 32768);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004221if (!checkpoint(36)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004222res |= CreateFile("file98", 0);
4223res |= CreateFile("file74", 0);
4224res |= CreateFile("file93", 0);
4225res |= CreateFile("file122", 0);
4226res |= CreateFile("file143", 18408);
4227res |= CreateFile("file8", 20648);
4228res |= CreateFile("file152", 1);
4229res |= CreateFile("file66", 32768);
4230res |= CreateFile("file136", 4199);
4231res |= CreateFile("file132", 23233);
4232res |= CreateFile("file92", 0);
4233res |= CreateFile("file11", 0);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004234if (!checkpoint(40)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004235res |= CreateFile("file86", 0);
4236res |= CreateFile("file22", 0);
4237res |= CreateFile("file56", 16384);
4238res |= CreateFile("file78", 0);
4239res |= CreateFile("file41", 32768);
4240res |= CreateFile("file110", 0);
4241res |= CreateFile("file90", 0);
4242res |= CreateFile("file44", 12328);
4243res |= CreateFile("file63", 49152);
4244res |= CreateFile("file116", 0);
4245res |= CreateFile("file29", 1035);
4246res |= CreateFile("file35", 118788);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004247if (!checkpoint(43)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004248res |= CreateFile("file170", 24576);
4249res |= CreateFile("file30", 98304);
4250res |= CreateFile("file14", 0);
4251res |= CreateFile("file160", 32768);
4252res |= CreateFile("file176", 0);
4253res |= CreateFile("file1", 471040);
4254res |= CreateFile("file108", 0);
4255res |= CreateFile("file173", 28672);
4256res |= CreateFile("file18", 17416);
4257res |= CreateFile("file134", 15056);
4258res |= CreateFile("file31", 25608);
4259res |= CreateFile("file97", 0);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004260if (!checkpoint(46)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004261res |= CreateFile("file84", 0);
4262res |= CreateFile("file114", 0);
4263res |= CreateFile("file88", 0);
4264res |= CreateFile("file102", 0);
4265res |= CreateFile("file58", 32768);
4266res |= CreateFile("file52", 49152);
4267res |= CreateFile("file13", 0);
4268res |= CreateFile("file5", 41168);
4269res |= CreateFile("file133", 13332);
4270res |= CreateFile("file169", 11354);
4271res |= CreateFile("file166", 0);
4272res |= CreateFile("file49", 32768);
Jeff Sharkeycbcb2922017-11-06 13:53:59 -07004273if (!checkpoint(50)) return -1;
Jeff Sharkey5a6bfca2015-05-14 20:33:55 -07004274res |= CreateFile("file177", 61440);
4275
4276return res;
4277}
4278
4279static status_t BenchmarkDestroy() {
4280status_t res = 0;
4281res |= unlink("stub");
4282
4283res |= unlink("file115");
4284res |= unlink("file125");
4285res |= unlink("file43");
4286res |= unlink("file2");
4287res |= unlink("file17");
4288res |= unlink("file126");
4289res |= unlink("file4");
4290res |= unlink("file175");
4291res |= unlink("file76");
4292res |= unlink("file140");
4293res |= unlink("file80");
4294res |= unlink("file139");
4295res |= unlink("file50");
4296res |= unlink("file179");
4297res |= unlink("file144");
4298res |= unlink("file138");
4299res |= unlink("file28");
4300res |= unlink("file161");
4301res |= unlink("file34");
4302res |= unlink("file53");
4303res |= unlink("file72");
4304res |= unlink("file55");
4305res |= unlink("file54");
4306res |= unlink("file129");
4307res |= unlink("file107");
4308res |= unlink("file95");
4309res |= unlink("file82");
4310res |= unlink("file27");
4311res |= unlink("file167");
4312res |= unlink("file9");
4313res |= unlink("file123");
4314res |= unlink("file89");
4315res |= unlink("file40");
4316res |= unlink("file20");
4317res |= unlink("file151");
4318res |= unlink("file106");
4319res |= unlink("file159");
4320res |= unlink("file47");
4321res |= unlink("file146");
4322res |= unlink("file153");
4323res |= unlink("file12");
4324res |= unlink("file137");
4325res |= unlink("file157");
4326res |= unlink("file172");
4327res |= unlink("file148");
4328res |= unlink("file7");
4329res |= unlink("file68");
4330res |= unlink("file109");
4331res |= unlink("file142");
4332res |= unlink("file147");
4333res |= unlink("file117");
4334res |= unlink("file94");
4335res |= unlink("file81");
4336res |= unlink("file75");
4337res |= unlink("file111");
4338res |= unlink("file105");
4339res |= unlink("file79");
4340res |= unlink("file65");
4341res |= unlink("file135");
4342res |= unlink("file124");
4343res |= unlink("file87");
4344res |= unlink("file64");
4345res |= unlink("file131");
4346res |= unlink("file130");
4347res |= unlink("file59");
4348res |= unlink("file141");
4349res |= unlink("file149");
4350res |= unlink("file178");
4351res |= unlink("file163");
4352res |= unlink("file67");
4353res |= unlink("file155");
4354res |= unlink("file156");
4355res |= unlink("file23");
4356res |= unlink("file61");
4357res |= unlink("file0");
4358res |= unlink("file39");
4359res |= unlink("file145");
4360res |= unlink("file70");
4361res |= unlink("file69");
4362res |= unlink("file24");
4363res |= unlink("file57");
4364res |= unlink("file104");
4365res |= unlink("file113");
4366res |= unlink("file99");
4367res |= unlink("file120");
4368res |= unlink("file154");
4369res |= unlink("file127");
4370res |= unlink("file38");
4371res |= unlink("file77");
4372res |= unlink("file85");
4373res |= unlink("file119");
4374res |= unlink("file96");
4375res |= unlink("file91");
4376res |= unlink("file158");
4377res |= unlink("file174");
4378res |= unlink("file48");
4379res |= unlink("file33");
4380res |= unlink("file83");
4381res |= unlink("file32");
4382res |= unlink("file118");
4383res |= unlink("file121");
4384res |= unlink("file101");
4385res |= unlink("file168");
4386res |= unlink("file16");
4387res |= unlink("file164");
4388res |= unlink("file36");
4389res |= unlink("file6");
4390res |= unlink("file10");
4391res |= unlink("file150");
4392res |= unlink("file62");
4393res |= unlink("file165");
4394res |= unlink("file42");
4395res |= unlink("file19");
4396res |= unlink("file128");
4397res |= unlink("file112");
4398res |= unlink("file100");
4399res |= unlink("file103");
4400res |= unlink("file26");
4401res |= unlink("file46");
4402res |= unlink("file60");
4403res |= unlink("file162");
4404res |= unlink("file25");
4405res |= unlink("file21");
4406res |= unlink("file45");
4407res |= unlink("file3");
4408res |= unlink("file171");
4409res |= unlink("file15");
4410res |= unlink("file51");
4411res |= unlink("file37");
4412res |= unlink("file73");
4413res |= unlink("file71");
4414res |= unlink("file98");
4415res |= unlink("file74");
4416res |= unlink("file93");
4417res |= unlink("file122");
4418res |= unlink("file143");
4419res |= unlink("file8");
4420res |= unlink("file152");
4421res |= unlink("file66");
4422res |= unlink("file136");
4423res |= unlink("file132");
4424res |= unlink("file92");
4425res |= unlink("file11");
4426res |= unlink("file86");
4427res |= unlink("file22");
4428res |= unlink("file56");
4429res |= unlink("file78");
4430res |= unlink("file41");
4431res |= unlink("file110");
4432res |= unlink("file90");
4433res |= unlink("file44");
4434res |= unlink("file63");
4435res |= unlink("file116");
4436res |= unlink("file29");
4437res |= unlink("file35");
4438res |= unlink("file170");
4439res |= unlink("file30");
4440res |= unlink("file14");
4441res |= unlink("file160");
4442res |= unlink("file176");
4443res |= unlink("file1");
4444res |= unlink("file108");
4445res |= unlink("file173");
4446res |= unlink("file18");
4447res |= unlink("file134");
4448res |= unlink("file31");
4449res |= unlink("file97");
4450res |= unlink("file84");
4451res |= unlink("file114");
4452res |= unlink("file88");
4453res |= unlink("file102");
4454res |= unlink("file58");
4455res |= unlink("file52");
4456res |= unlink("file13");
4457res |= unlink("file5");
4458res |= unlink("file133");
4459res |= unlink("file169");
4460res |= unlink("file166");
4461res |= unlink("file49");
4462res |= unlink("file177");
4463
4464return res;
4465}
4466
4467static std::string BenchmarkIdent() {
4468return "r1572:w1001:s285";
4469}
4470
4471} // namespace vold
4472} // namespace android
George Burgess IV170d8da2016-02-24 15:55:55 -08004473