Commit c9349cc
Skip hold detection on broken ZFS filesystems
As discussed in #3717, ZFS
has known bugs around SEEK_HOLE/SEEK_DATA causing it to indicate
spurious holes. We detect the case where it (inconsistently) ends
up indicating the hole to be zero sized, but depending on the
sequencing of events, the related upstream issues indicate that
the file system could indicate a non-zero-sized spurious hole on
these versions. To avoid trace corruption on such file systems, we
must skip our SEEK_HOLE/SEEK_DATA optimizations.1 parent 86aa1eb commit c9349cc
2 files changed
+59
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
618 | 622 | | |
619 | 623 | | |
620 | 624 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6112 | 6112 | | |
6113 | 6113 | | |
6114 | 6114 | | |
| 6115 | + | |
| 6116 | + | |
| 6117 | + | |
| 6118 | + | |
| 6119 | + | |
| 6120 | + | |
| 6121 | + | |
| 6122 | + | |
| 6123 | + | |
| 6124 | + | |
| 6125 | + | |
| 6126 | + | |
| 6127 | + | |
| 6128 | + | |
| 6129 | + | |
| 6130 | + | |
| 6131 | + | |
| 6132 | + | |
| 6133 | + | |
| 6134 | + | |
| 6135 | + | |
| 6136 | + | |
| 6137 | + | |
| 6138 | + | |
| 6139 | + | |
| 6140 | + | |
| 6141 | + | |
| 6142 | + | |
| 6143 | + | |
| 6144 | + | |
| 6145 | + | |
| 6146 | + | |
| 6147 | + | |
| 6148 | + | |
| 6149 | + | |
| 6150 | + | |
| 6151 | + | |
| 6152 | + | |
| 6153 | + | |
| 6154 | + | |
| 6155 | + | |
| 6156 | + | |
| 6157 | + | |
| 6158 | + | |
| 6159 | + | |
| 6160 | + | |
| 6161 | + | |
| 6162 | + | |
| 6163 | + | |
| 6164 | + | |
| 6165 | + | |
| 6166 | + | |
6115 | 6167 | | |
6116 | 6168 | | |
6117 | 6169 | | |
6118 | 6170 | | |
6119 | 6171 | | |
6120 | 6172 | | |
6121 | 6173 | | |
| 6174 | + | |
| 6175 | + | |
| 6176 | + | |
6122 | 6177 | | |
6123 | 6178 | | |
6124 | 6179 | | |
| |||
0 commit comments