Commit 00009d7
btrfs: push extent lock into run_delalloc_cow
This is used by zoned but also as the fallback for uncompressed extents
when we fail to compress the ranges. Push the extent lock into
run_dealloc_cow(), and adjust the compression case to take the extent
lock after calling run_delalloc_cow().
Reviewed-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent 0e128d4 commit 00009d7
1 file changed
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1167 | 1167 | | |
1168 | 1168 | | |
1169 | 1169 | | |
1170 | | - | |
1171 | 1170 | | |
1172 | 1171 | | |
1173 | 1172 | | |
1174 | 1173 | | |
1175 | 1174 | | |
1176 | 1175 | | |
| 1176 | + | |
1177 | 1177 | | |
1178 | 1178 | | |
1179 | 1179 | | |
| |||
1722 | 1722 | | |
1723 | 1723 | | |
1724 | 1724 | | |
| 1725 | + | |
| 1726 | + | |
1725 | 1727 | | |
1726 | 1728 | | |
1727 | 1729 | | |
| |||
2280 | 2282 | | |
2281 | 2283 | | |
2282 | 2284 | | |
2283 | | - | |
2284 | | - | |
2285 | | - | |
2286 | | - | |
2287 | | - | |
2288 | | - | |
| 2285 | + | |
2289 | 2286 | | |
2290 | 2287 | | |
2291 | | - | |
| 2288 | + | |
| 2289 | + | |
2292 | 2290 | | |
2293 | 2291 | | |
| 2292 | + | |
2294 | 2293 | | |
2295 | 2294 | | |
2296 | 2295 | | |
| |||
0 commit comments