-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
os/bluestore/BlueFS: fix device_migrate_to_* to handle varying alloc …
…sizes The previous implementation moved extents individually. This caused problems when moving an extent with a small alloc_size that wasn't a multiple of the target device's alloc_size. Instead, identify files with extents that need to be moved, and then read the file in its entirety and rewrite it in its entirety. Signed-off-by: Sage Weil <[email protected]>
- Loading branch information
Showing
1 changed file
with
140 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters