-
Notifications
You must be signed in to change notification settings - Fork 206
Closed
Labels
lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Description
In method formatAndMount, we will run fsck (or xfs_repair for xfs) before mounting the device. It happens on every remount, which is expensive for some kinds of disk that need more time to finish the command. But most of the time the filesystem is error free, so I think it will improve the perfermance if we can find a way to check the filesystem errors after mounting, and follow the steps:
- Mount the device.
- If it is failed, run fsck and mount again.
- If it is successful, check if the filesystem is running well, if not, unmount it and run fsck and then mount again.
utkuozdemir
Metadata
Metadata
Assignees
Labels
lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.