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:
Edward Tomasz Napierala 2012-04-12 13:43:43 +00:00
parent c32b19833b
commit 9f2d8a3834
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=234178

File diff suppressed because it is too large Load Diff