FreeBSD Bugzilla – Attachment 91478 Details for
Bug 128832
System deadlock when using mksnap_ffs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 493 bytes, created by
Tim Bishop
on 2008-11-12 23:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Tim Bishop
Created:
2008-11-12 23:10:00 UTC
Size:
493 bytes
patch
obsolete
>--- sys/ufs/ffs/ffs_snapshot.c.orig 2008-11-12 18:40:53.000000000 +0000 >+++ sys/ufs/ffs/ffs_snapshot.c 2008-11-12 18:42:19.000000000 +0000 >@@ -345,6 +345,8 @@ > if (error) > goto out; > bawrite(nbp); >+ if (cg % 10 == 0) >+ ffs_syncvnode(vp, MNT_WAIT); > } > /* > * Copy all the cylinder group maps. Although the >@@ -366,6 +368,8 @@ > goto out; > error = cgaccount(cg, vp, nbp, 1); > bawrite(nbp); >+ if (cg % 10 == 0) >+ ffs_syncvnode(vp, MNT_WAIT); > if (error) > goto out; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 128832
: 91478