summaryrefslogtreecommitdiff
path: root/rust/helpers/mutex.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-04-22 18:52:45 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2025-04-25 02:10:29 +0300
commitd1b0f9aa73fe50ee5276708e33d77c4e7054e555 (patch)
tree57fb39f285c16f21c93c06b4479f41c218122315 /rust/helpers/mutex.c
parentb9b0494017b5f6d0664ecbcd2d8870800f045581 (diff)
downloadlinux-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/mutex.c')
0 files changed, 0 insertions, 0 deletions