Commit 335d318e authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: bch2_folio_reservation_get_partial() is now better behaved



bch2_folio_reservation_get_partial(), on partial success, will now
return a reservation that's aligned to the filesystem blocksize.

This is a partial fix for fstests generic/299 - fio verify is badly
behaved in the presence of short writes that aren't aligned to its
blocksize.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 81e0b6c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment