Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RHEL 7.2 cherry-picks #146

Merged
merged 5 commits into from Jun 4, 2015
Merged

Conversation

vpodzime
Copy link
Contributor

@vpodzime vpodzime commented Jun 3, 2015

I think it's easier to review the whole resulting diff as things move back and forth in the commits. One question -- is it correct that all the commits have 'Related: rhbz#1202877' instead of the original bugs referenced?

Related: rhbz#978266
Related: rhbz#1202877
(cherry picked from commit 491cd3e)
Related: rhbz#978266
Related: rhbz#1202877
(cherry picked from commit 792afe6)
When doing LVM/BTRFS autopart we implicitly schedule one partition on each disk
as a device for LVM/BTRFS. Those implicitly scheduled partitions are requested
to be at least 500 MiB big and grow if possible. That's fine and works well
until we have many small disks (e.g. DASDs) and need to fit another partition
(for e.g. swap) that is in combination with the 500MiB implicit partition bigger
than any disk we have.

Thus we need to make sure all our partition requests fit somewhere with the
implicitly scheduled partitions by making the latter ones smaller or by removing
them if needed.

Related: rhbz#1202877
(cherry picked from commit a6d17f9)

Conflicts:
	blivet/devices.py
	blivet/partitioning.py
In case of BTRFS/LVM autopartitioning we schedule one parition on every disk
used for the installation to be part of the new BTRFS/LVM setup. But in case
some other partition needs to be allocated (e.g. swap in case of BTRFS) we need
to fit this partition to some disk together with one of the implicitly scheduled
ones. In case we find out the implicitly scheduled partitions are too big to
make this possible we need to make them smaller so that autopartitioning works.

Resolves: rhbz#1171116
Related: rhbz#1202877
Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
(cherry picked from commit 77c5f24)

Conflicts:
	blivet/devices.py
(Current) minimum BTRFS volume size is 256 MiB.

Related: rhbz#1171116
Related: rhbz#1202877
(cherry picked from commit 16eace7)

Conflicts:
	blivet/devices.py
@vpodzime
Copy link
Contributor Author

vpodzime commented Jun 3, 2015

Added the original bug IDs back.

vpodzime added a commit that referenced this pull request Jun 4, 2015
@vpodzime vpodzime merged commit b8dabe4 into storaged-project:rhel7-branch Jun 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants