commit | 57f2d2097603fea102330e8cfe6be4a8db24809e | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kent.overstreet@linux.dev> | Wed Jan 10 23:47:04 2024 -0500 |
committer | Kent Overstreet <kent.overstreet@linux.dev> | Sun Jan 21 06:01:45 2024 -0500 |
tree | 60436cd28c9f83ba432873e0af1a48e2e71002cb | |
parent | 5b14ce35af901853e91e186f34e71f31b08b4e0a [diff] |
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>