Use nowait sync request for a vnode when doing softdep cleanup. We possibly
own the unrelated vnode lock, doing waiting sync causes deadlocks. Reported and tested by: pho Approved by: re (bz)
This commit is contained in:
parent
750b5e3134
commit
b296414c62
@ -12648,7 +12648,7 @@ softdep_request_cleanup(fs, vp, cred, resource)
|
||||
MNT_ILOCK(mp);
|
||||
continue;
|
||||
}
|
||||
(void) ffs_syncvnode(lvp, MNT_WAIT);
|
||||
(void) ffs_syncvnode(lvp, MNT_NOWAIT);
|
||||
vput(lvp);
|
||||
MNT_ILOCK(mp);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user