Home | History | Annotate | Download | only in deadfs
History log of /src/sys/miscfs/deadfs/dead_vfsops.c
RevisionDateAuthorComments
 1.13  26-Oct-2022  riastradh miscfs/deadfs/deadfs.h: New home for deadfs-related externs.

XXX regen sys/kern/vnode_if.c and the others
 1.12  08-Jul-2022  hannken Make dead vfs ops "vfs_statvfs" and "vfs_vptofh" return EOPNOTSUPP.
Both operations may originate from (possible dead) vnodes.

Reported-by: syzbot+eceb203d44457742be3b@syzkaller.appspotmail.com
 1.11  19-Mar-2022  hannken Remove now unused VV_LOCKSWORK, all file systems support locking.

Remove unused predicates vn_locked() and vn_anylocked().

Welcome to 9.99.95
 1.10  19-Mar-2022  hannken Switch spec_vnodeop vector to real vnode locking, VV_LOCKSWORK now.
 1.9  01-Jan-2019  hannken Add "void *extra" argument to vcache_new() so a file system may
pass more information about the file to create.

Welcome to 8.99.30
 1.8  21-Aug-2017  hannken branches: 1.8.2; 1.8.4;
No need to cache anonymous device vnodes, they will never be looked up.

Set key to (dead_rootmount, 0, NULL) and add assertions.
 1.7  01-Jul-2015  hannken branches: 1.7.10;
Unfortunately MFS uses v_data of its anonymous device vnode so
it cannot be used as vcache key. Use v_interlock as key ...
 1.6  30-Jun-2015  hannken Redo previous again, v_specnode is invariant but not unique.

Set "vp->v_data = vp" and use v_data as key.
 1.5  29-Jun-2015  hannken Use the address of vp->v_specnode as vcache key. It is invariant
over the lifetime of the vnode.

The previous worked by luck, it took the first sizeof(void *) bytes
of struct vnode as key.

Resolves CID 1308957: wrong sizeof()
 1.4  23-Jun-2015  hannken Add a vfs_newvnode() method to deadfs and use it to create
anonymous device vnodes with bdevvp() and cdevvp().

Implement spec_inactive() and spec_reclaim() to handle these nodes.
 1.3  23-Jun-2015  hannken Use VFS_PROTOS() for deadfs. Rename dead_mount to dead_rootmount.
 1.2  23-Mar-2014  hannken branches: 1.2.4; 1.2.6; 1.2.10; 1.2.12;
Change all vfsops to use C99 designated initializers.

No functional changes intended.
 1.1  27-Feb-2014  hannken Currently dead vnodes still reside on the vnodelist of the file system
they have been removed from.

Create a "dead mount" that takes dead vnodes until they get freed.

Discussed on tech-kern.
 1.2.12.2  28-Aug-2017  skrll Sync with HEAD
 1.2.12.1  22-Sep-2015  skrll Sync with HEAD
 1.2.10.3  03-Dec-2017  jdolecek update from HEAD
 1.2.10.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.10.1  23-Mar-2014  tls file dead_vfsops.c was added on branch tls-maxphys on 2014-08-20 00:04:30 +0000
 1.2.6.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2.6.1  23-Mar-2014  yamt file dead_vfsops.c was added on branch yamt-pagecache on 2014-05-22 11:41:05 +0000
 1.2.4.2  18-May-2014  rmind sync with head
 1.2.4.1  23-Mar-2014  rmind file dead_vfsops.c was added on branch rmind-smpnet on 2014-05-18 17:46:09 +0000
 1.7.10.1  25-Aug-2017  snj Pull up following revision(s) (requested by hannken in ticket #227):
sys/sys/vnode_impl.h: revision 1.16
sys/kern/vfs_vnode.c: revision 1.97
sys/kern/vfs_vnode.c: revision 1.98
sys/kern/vfs_mount.c: revision 1.67
sys/miscfs/deadfs/dead_vfsops.c: revision 1.8
No need to cache anonymous device vnodes, they will never be looked up.
Set key to (dead_rootmount, 0, NULL) and add assertions.
--
Change forced unmount to revert open device vnodes to anonymous devices.
 1.8.4.1  10-Jun-2019  christos Sync with HEAD
 1.8.2.1  18-Jan-2019  pgoyette Synch with HEAD

RSS XML Feed