]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r234178:
authortrasz <trasz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 23 Jun 2012 19:03:42 +0000 (19:03 +0000)
committertrasz <trasz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 23 Jun 2012 19:03:42 +0000 (19:03 +0000)
commitc6569b08c3abf227aa7183fc7538f4724d07c24c
tree0b556c9d5060e732033094055ba4e063d4f651fc
parent89401d91b07c31696b146419537b66539f3f3e92
MFC r234178:

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

git-svn-id: svn://svn.freebsd.org/base/stable/9@237499 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/growfs/growfs.c