freebsd-nq/sys/ufs/ffs
Konstantin Belousov ca109b01cf When non-forced unmount or remount rw->ro is performed, writes on UFS
are not suspended.  In particular, on the SU-enabled vulumes, there is
no reason why, between the call to softdep_flushfiles() and
softdep_waitidle(), SU work items cannot be queued.

Correct the condition to trigger the panic by only checking when
forced operation is done.  Convert direct panic() call into KASSERT(),
there is no invalid on-disk data structures directly involved, so
follow the usual debugging vs. non-debugging approach.

Reported and tested by:	pho
Reviewed by:	mckusick
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2014-11-02 13:14:55 +00:00
..
ffs_alloc.c Update comment to explain search order reverted to historical order 2014-03-22 11:26:39 +00:00
ffs_balloc.c ufs: small formatting fixes. 2014-03-02 02:52:34 +00:00
ffs_extern.h ufs: small formatting fixes. 2014-03-02 02:52:34 +00:00
ffs_inode.c - Convert the bufobj lock to rwlock. 2013-05-31 00:43:41 +00:00
ffs_rawread.c Initialize the pbuf counter for directio using SYSINIT, instead of 2014-06-08 10:55:06 +00:00
ffs_snapshot.c ufs: small formatting fixes. 2014-03-02 02:52:34 +00:00
ffs_softdep.c When non-forced unmount or remount rw->ro is performed, writes on UFS 2014-11-02 13:14:55 +00:00
ffs_subr.c
ffs_suspend.c There are several code sequences like 2013-07-09 20:49:32 +00:00
ffs_tables.c
ffs_vfsops.c Provide vfs suspension support only for filesystems which need it, take 2014-10-20 18:00:50 +00:00
ffs_vnops.c Do not set IN_ACCESS flag for read-only mounts. The IN_ACCESS 2014-10-11 19:09:56 +00:00
fs.h ufs: small formatting fixes. 2014-03-02 02:52:34 +00:00
softdep.h Add support for multi-threading of soft updates. 2014-08-04 22:03:58 +00:00