Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-stable
Commits
0be0905c
Commit
0be0905c
authored
Aug 14, 2018
by
Mike Hibler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FreeBSD vnode optimization: don't fsck the FS if we did not change anything.
parent
16edec33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
clientside/tmcc/linux/xen/libvnode_xen.pm
clientside/tmcc/linux/xen/libvnode_xen.pm
+3
-1
No files found.
clientside/tmcc/linux/xen/libvnode_xen.pm
View file @
0be0905c
...
...
@@ -1906,7 +1906,8 @@ sub vnodePreConfig($$$$$){
$vninfo
->
{'
elabinelab
'}
=
1
;
}
print
STDERR
"
vnodePreConfig:
$vnode_id
root already localized
\n
";
goto
done
;
mysystem
("
umount
$dev
");
goto
done2
;
}
# needs to be customized, remount RW
...
...
@@ -2163,6 +2164,7 @@ sub vnodePreConfig($$$$$){
mysystem2
("
$FSCKUFS
-yf
$dev
");
}
done2:
# XXX let vnodesetup exit early
if
(
$vsrelease
eq
"
early
"
&&
$retval
==
0
)
{
TBDebugTimeStamp
("
vnodePreConfig: touching
$VMS
/
$vnode_id
/running
");
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment