-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add support for SoC separate var partition #518
Conversation
I don't believe these are related to your change, already exists as we talked. Should be okay to merge as soon you have a final patch. /tests/ffi/memory (timeout)
/tests/ffi/qm-oom-score-adj
|
Output from CI/CD also from your patch (pids exists from cgroup2):
|
14e5ce0
to
5adffd8
Compare
ae03585
to
5ec8b93
Compare
@dougsland ready to merge, if now comments |
5380cfd
to
90544ff
Compare
b4828e5
to
b4ec46a
Compare
Updating tests/e2e/set-ffi-env-e2e to mkfs.ext4 On free sde partiton it finds Move disk functions to lib/diskutils script Increase timers for memory and qm-oom-score-adj Signed-off-by: Yariv Rachmani <[email protected]>
|
||
for disk in $disks_arr; do | ||
if [[ ${disk} == "vda" || \ | ||
$(echo "${disk_table}" | grep -c "${disk}" ) -eq 1 && ${disk} != "zram0" ]];then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like out of indent
fi | ||
|
||
mkdir -p /new_var | ||
mount "/dev/${DISK}${PART_ID}" /new_var |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if_error_exit?
mount "/dev/${DISK}${PART_ID}" /new_var | ||
rsync -aqxXP /var/* /new_var | ||
if_error_exit "Error: rsync failed" | ||
systemctl stop var-lib-nfs-rpc_pipefs.mount |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if_error_exit? if not, better comment.
rsync -aqxXP /var/* /new_var | ||
if_error_exit "Error: rsync failed" | ||
systemctl stop var-lib-nfs-rpc_pipefs.mount | ||
umount /new_var |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if_error_exit? or just warning? or just echo before ?
echo | ||
info_message "Checking if QM already installed" | ||
info_message "==============================" | ||
QM_STATUS="$(systemctl is-enabled qm 2>&1)" | ||
if [ "$QM_STATUS" == "generated" ]; then | ||
if [ "$(systemctl is-active qm)" == "active" ]; then | ||
# Restart QM after mount /var on separate partition | ||
if grep -qi "${QC_SOC}" "${SOC_DISTRO_FILE}"; then | ||
systemctl restart qm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if_error_exit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just small comments.
The patch is okay to merge now, we can handle the rest in a next patch. |
Updating tests/e2e/set-ffi-env-e2e to mkfs.ext4
On free sde partiton it finds VROOM-21987