mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
bcachefs: Add a lock to bch_page_state
We can't use the page lock to protect it, because on writeback IO error we need to access the page state before calling end_page_writeback() and the page lock semantics are completely insane so that deadlocks. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
43de7376f3
commit
3826ee0b17
1 changed files with 16 additions and 8 deletions
Loading…
Add table
Add a link
Reference in a new issue