freebsd-dev/sys/ufs/ffs
Konstantin Belousov 6f30ac9995 Call softdep_prealloc() before taking ffs_lock_ea(), if unlock is committing
softdep_prealloc() must be called to ensure enough journal space is
available, before ffs_extwrite(). Also it must be done before taking
ffs_lock_ea(), because it calls ffs_syncvnode(), potentially dropping
the vnode lock.

Reviewed by:	mckusick
Tested by:	pho
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
2021-02-24 09:55:21 +02:00
..
ffs_alloc.c ffs_reallocblks: change the guard for softdep_prealloc() call to DOINGSUJ() 2021-02-24 09:54:30 +02:00
ffs_balloc.c ffs: do not call softdep_prealloc() from UFS_BALLOC() 2021-02-24 09:54:50 +02:00
ffs_extern.h ffs softdep: remove will_direnter argument of softdep_prelink() 2021-02-12 03:02:21 +02:00
ffs_inode.c vnode: move write cluster support data to inodes. 2021-02-21 11:38:21 +02:00
ffs_rawread.c vmapbuf: don't smuggle address or length in buf 2020-10-21 16:00:15 +00:00
ffs_snapshot.c UFS snapshots: properly set the vm object size. 2021-02-16 07:11:52 +02:00
ffs_softdep.c ffs softdep: Force processing of VI_OWEINACT vnodes when there is inode shortage 2021-02-12 03:02:22 +02:00
ffs_subr.c Various new check-hash checks have been added to the UFS filesystem 2020-10-25 00:43:48 +00:00
ffs_suspend.c Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
ffs_tables.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
ffs_vfsops.c vnode: move write cluster support data to inodes. 2021-02-21 11:38:21 +02:00
ffs_vnops.c Call softdep_prealloc() before taking ffs_lock_ea(), if unlock is committing 2021-02-24 09:55:21 +02:00
fs.h Various new check-hash checks have been added to the UFS filesystem 2020-10-25 00:43:48 +00:00
softdep.h ffs softdep: Force processing of VI_OWEINACT vnodes when there is inode shortage 2021-02-12 03:02:22 +02:00