summaryrefslogtreecommitdiffstats
path: root/fs/hfs/btree.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-01-11 05:47:04 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2024-01-21 12:01:45 +0100
commit57f2d2097603fea102330e8cfe6be4a8db24809e (patch)
tree60436cd28c9f83ba432873e0af1a48e2e71002cb /fs/hfs/btree.h
parentbcachefs: bch2_trans_account_disk_usage_change() (diff)
downloadlinux-57f2d2097603fea102330e8cfe6be4a8db24809e.tar.xz
linux-57f2d2097603fea102330e8cfe6be4a8db24809e.zip
bcachefs: Reduce would_deadlock restarts
We don't have to take locks in any particular ordering - we'll make forward progress just fine - but if we try to stick to an ordering, it can help to avoid excessive would_deadlock transaction restarts. This tweaks the reflink path to take extents btree locks in the right order. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/hfs/btree.h')
0 files changed, 0 insertions, 0 deletions