diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-04-22 18:52:45 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-04-25 02:10:29 +0300 |
commit | d1b0f9aa73fe50ee5276708e33d77c4e7054e555 (patch) | |
tree | 57fb39f285c16f21c93c06b4479f41c218122315 /rust/helpers/err.c | |
parent | b9b0494017b5f6d0664ecbcd2d8870800f045581 (diff) | |
download | linux-d1b0f9aa73fe50ee5276708e33d77c4e7054e555.tar.xz |
bcachefs: Rework fiemap transaction restart handling
Restart handling in the previous patch was incorrect, so: move btree
operations into a separate helper, and run it with a lockrestart_do().
Additionally, clarify whether pagecache or the btree takes precedence.
Right now, the btree takes precedence: this is incorrect, but it's
needed to pass fstests. Add a giant comment explaining why.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'rust/helpers/err.c')
0 files changed, 0 insertions, 0 deletions