Remove block reallocation used to make room for the cylinder group
summary structure. From now on, when there is no room for it, we simply allocate new one in a newly added cylinder group. This patch removes a conditional in updcsloc(), reindents some code there, and removes unused routines. I decided to do it this way instead of disabling reallocation when the filesystem is live and leaving it as it is otherwise, because this allows for removal of lots of complicated and hard to test code. Also, conditionally disabling it would result in a different layout in filesystems resized online and offline, which would look somewhat weird. Reviewed by: mckusick No objections from: kib Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
0b02d58773
commit
f0f6e2464c
1077
sbin/growfs/growfs.c
1077
sbin/growfs/growfs.c
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user