Commit a09818c7 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fallocate now checks page cache



Previously, fallocate would only check the state of the extents btree
when determining if we need to create a reservation.

But the page cache might already have dirty data or a disk reservation.
This changes __bchfs_fallocate() to call bch2_seek_pagecache_hole() to
check for this.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent ea28c867
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment