summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-08-16 12:31:53 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-09-09 09:41:47 -0400
commit54f7702466b3a10b9a81e3c1c2c9da33df7a655f (patch)
tree0f7d071b9cc6942f4a9c55db0d336ca364a82faa /lib
parent112d21fd1a122f778c383aa44d5448f4da9518c3 (diff)
bcachefs: Fix deadlock in __wait_on_freeing_inode()
We can't call __wait_on_freeing_inode() with btree locks held; we're waiting on another thread that's in evict(), and before it clears that bit it needs to write that inode to flush timestamps - deadlock. Fixing this involves a fair amount of re-jiggering to plumb a new transaction restart. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions