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

Btrfs quota group improvements poo#11446 #1583

Merged
merged 1 commit into from
Aug 3, 2016
Merged

Conversation

kravciak
Copy link
Contributor

@kravciak kravciak commented Jul 27, 2016

@kravciak kravciak added the WIP Work in progress label Jul 27, 2016
@kravciak kravciak force-pushed the btrfs branch 2 times, most recently from 367b48e to 7f0dd22 Compare July 27, 2016 15:53
my $dest = "/mnt/qg";

# poo#11446
# Creating qgroups in a heirarchy for multiple subvolumes, putting data into them and then running btrfsck on the hard disk
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please break lines in comment and s/heirarchy/hierarchy/

@kravciak kravciak removed the WIP Work in progress label Jul 28, 2016
@kravciak kravciak changed the title [WIP] Btrfs quota group improvements poo#11446 Btrfs quota group improvements poo#11446 Jul 28, 2016

# TODO? check btrfsck output
script_run "cd; umount $dest";
assert_script_run "btrfsck /dev/vdb";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if any of the script_run's fail but you continue? You could get very misleading results and screen output. I recommend to use assert_script_run everywhere except where you explicitly check for the return value of script_run

@kravciak kravciak force-pushed the btrfs branch 2 times, most recently from f6f166b to 37bf727 Compare July 28, 2016 10:31
@sysrich sysrich merged commit 3abd250 into os-autoinst:master Aug 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants