freebsd-dev/sys/ufs/ffs
Konstantin Belousov 1604022248 UFS: stop reusing the vnode for reallocated inode.
In ffs_valloc(), force reclaim existing vnode on inode reuse, instead
of trying to re-initialize the same vnode for new purposes.  This is
done in preparation of changes to the vp->v_object lifecycle handling.

A new FFSV_REPLACE flag to ffs_vgetf() directs the function to
vgone(9) the vnode if found in vfs hash, instead of returning it.

Reviewed by:	markj, mckusick
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D21412
2019-08-29 07:45:23 +00:00
..
ffs_alloc.c UFS: stop reusing the vnode for reallocated inode. 2019-08-29 07:45:23 +00:00
ffs_balloc.c The error reported in FS-14-UFS-3 can only happen on UFS/FFS 2019-07-17 22:07:43 +00:00
ffs_extern.h UFS: stop reusing the vnode for reallocated inode. 2019-08-29 07:45:23 +00:00
ffs_inode.c When updating the user or group disk quotas for the return of inodes or 2019-07-31 22:44:58 +00:00
ffs_rawread.c Allocate pager bufs from UMA instead of 80-ish mutex protected linked list. 2019-01-15 01:02:16 +00:00
ffs_snapshot.c Separate kernel crc32() implementation to its own header (gsb_crc32.h) and 2019-06-17 19:49:08 +00:00
ffs_softdep.c De-commision the MNTK_NOINSMNTQ kernel mount flag. 2019-08-23 19:40:10 +00:00
ffs_subr.c The error reported in FS-14-UFS-3 can only happen on UFS/FFS 2019-07-17 22:07:43 +00:00
ffs_suspend.c Avoid assertion in /dev/ufssuspend when the suspend ioctl is 2018-08-01 19:06:55 +00:00
ffs_tables.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
ffs_vfsops.c UFS: stop reusing the vnode for reallocated inode. 2019-08-29 07:45:23 +00:00
ffs_vnops.c FFS: allow sendfile(2) to work with block sizes greater than the page size 2019-02-26 04:56:10 +00:00
fs.h Clarify comment that describes how the FS_METACKHASH is managed. 2019-08-13 20:56:44 +00:00
softdep.h Convert use of UFS-specific #ifdef DEBUG to DIAGNOSTIC or INVARIANTS 2019-05-28 16:32:04 +00:00