Commit d2cb6b2
Kent Overstreet
bcachefs: Simplify btree key cache fill path
Don't allocate the new bkey_cached until after we've done the btree
lookup; this means we can kill bkey_cached.valid.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>1 parent 39d5d82 commit d2cb6b2
3 files changed
Lines changed: 122 additions & 205 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1800 | 1800 | | |
1801 | 1801 | | |
1802 | 1802 | | |
1803 | | - | |
1804 | | - | |
1805 | | - | |
1806 | | - | |
1807 | | - | |
| 1803 | + | |
1808 | 1804 | | |
1809 | 1805 | | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
1810 | 1809 | | |
1811 | 1810 | | |
1812 | 1811 | | |
| |||
0 commit comments