Commit 44be98b
indexedlog: check change detector mappings under BUFFERS contention
Summary:
Fixes `page_out::find_region()` so failure to lock the regular mmap `page_out::BUFFERS` does not prevent checking the `change_detect::BUFFERS`. This lets the SIGBUS handler still find and recover `rlock` change detector mmaps when the main buffer lock is contended.
Also updates the regression test from the previous diff by removing the `FIXME` and flipping the expected result from `None` to `Some(true)`.
Reviewed By: quark-zju
Differential Revision: D106845173
fbshipit-source-id: 38d08a22bdc08d68c9c113d88e24b5d78bcf4e0f1 parent 8c82384 commit 44be98b
1 file changed
Lines changed: 15 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
89 | 90 | | |
| 91 | + | |
90 | 92 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
95 | 100 | | |
96 | 101 | | |
97 | 102 | | |
| |||
198 | 203 | | |
199 | 204 | | |
200 | 205 | | |
201 | | - | |
202 | | - | |
203 | | - | |
| 206 | + | |
| 207 | + | |
204 | 208 | | |
205 | 209 | | |
206 | | - | |
| 210 | + | |
207 | 211 | | |
208 | 212 | | |
209 | 213 | | |
0 commit comments