diff options
author | kib <kib@FreeBSD.org> | 2006-10-10 09:20:54 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2006-10-10 09:20:54 +0000 |
commit | dc1147adb06ee01012984702aebef6c27b92c7e0 (patch) | |
tree | b21ac1bbb7acef29dace7ac99cf8f176bcc4b0fc /sbin/ifconfig | |
parent | c23de2fec88f3af5873cf8856e1e480b353f63cd (diff) | |
download | FreeBSD-src-dc1147adb06ee01012984702aebef6c27b92c7e0.zip FreeBSD-src-dc1147adb06ee01012984702aebef6c27b92c7e0.tar.gz |
Do not translate the IN_ACCESS inode flag into the IN_MODIFIED while filesystem
is suspending/suspended. Doing so may result in deadlock. Instead, set the
(new) IN_LAZYACCESS flag, that becomes IN_MODIFIED when suspend is lifted.
Change the locking protocol in order to set the IN_ACCESS and timestamps
without upgrading shared vnode lock to exclusive (see comments in the
inode.h). Before that, inode was modified while holding only shared
lock.
Tested by: Peter Holm
Reviewed by: tegge, bde
Approved by: pjd (mentor)
MFC after: 3 weeks
Diffstat (limited to 'sbin/ifconfig')
0 files changed, 0 insertions, 0 deletions