mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
bcachefs: Fix page state when reading into !PageUptodate pages
This patch adds code to read page state before writing to pages that aren't uptodate, which corrects i_sectors being tempororarily too large and means we may not need to get a disk reservation. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> # Conflicts: # fs/bcachefs/fs-io.c
This commit is contained in:
parent
7279c1a24c
commit
e6ec361f95
1 changed files with 111 additions and 20 deletions
Loading…
Add table
Add a link
Reference in a new issue