-
Notifications
You must be signed in to change notification settings - Fork 882
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Stop attempting to resize ZFS in cc_growpart on Linux (#5370)
In e520c94, growing ZFS was added to cc_growpart to support BSD systems. However, this left Linux in a state where it will fail to resize and log a warning anytime it encounters ZFS. This commit ensures that the cc_growpart resize is only attempted on BSD (or any other system that uses `growfs`). This leaves cc_resizefs to grow the filesystem on Linux. This is admittedly a hack solution and long term, we should ensure that ZFS gets grown in one module, and find a better long-term abstraction for volume managers.
- Loading branch information
1 parent
fbec4d0
commit 325abf1
Showing
2 changed files
with
52 additions
and
41 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
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