CVS log for src/sys/miscfs/deadfs/dead_vfsops.c
Up to [cvs.NetBSD.org] / src / sys / miscfs / deadfs
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Oct 26 23:39:43 2022 UTC (2 years, 4 months ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
HEAD
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -4
lines
miscfs/deadfs/deadfs.h: New home for deadfs-related externs.
XXX regen sys/kern/vnode_if.c and the others
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Jul 8 07:44:17 2022 UTC (2 years, 8 months ago) by hannken
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -4
lines
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
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Mar 19 13:53:32 2022 UTC (3 years ago) by hannken
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3
lines
Remove now unused VV_LOCKSWORK, all file systems support locking.
Remove unused predicates vn_locked() and vn_anylocked().
Welcome to 9.99.95
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Mar 19 13:52:11 2022 UTC (3 years ago) by hannken
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3
lines
Switch spec_vnodeop vector to real vnode locking, VV_LOCKSWORK now.
Revision 1.8.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:05 2019 UTC (5 years, 9 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +3 -3
lines
Sync with HEAD
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 18 08:50:57 2019 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +3 -3
lines
Synch with HEAD
Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Jan 1 10:06:54 2019 UTC (6 years, 2 months ago) by hannken
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3
lines
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
Revision 1.2.10.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:38:47 2017 UTC (7 years, 3 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.2.10.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.10.2: +43 -6
lines
update from HEAD
Revision 1.2.12.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:53:08 2017 UTC (7 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.12.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.12.1: +4 -4
lines
Sync with HEAD
Revision 1.7.10.1: download - view: text, markup, annotated - select for diffs
Fri Aug 25 05:46:46 2017 UTC (7 years, 6 months ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +4 -4
lines
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.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Aug 21 08:56:45 2017 UTC (7 years, 7 months ago) by hannken
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
phil-wifi-base,
pgoyette-compat-base,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
nick-nhusb-base-20170825
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4
lines
No need to cache anonymous device vnodes, they will never be looked up.
Set key to (dead_rootmount, 0, NULL) and add assertions.
Revision 1.2.12.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:06:08 2015 UTC (9 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +45 -8
lines
Sync with HEAD
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Jul 1 08:13:53 2015 UTC (9 years, 8 months ago) by hannken
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
netbsd-8-base,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -5
lines
Unfortunately MFS uses v_data of its anonymous device vnode so
it cannot be used as vcache key. Use v_interlock as key ...
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jun 30 06:19:22 2015 UTC (9 years, 8 months ago) by hannken
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -4
lines
Redo previous again, v_specnode is invariant but not unique.
Set "vp->v_data = vp" and use v_data as key.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Jun 29 16:48:20 2015 UTC (9 years, 8 months ago) by hannken
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -4
lines
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()
Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jun 23 10:42:34 2015 UTC (9 years, 9 months ago) by hannken
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +31 -2
lines
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.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Jun 23 10:41:59 2015 UTC (9 years, 9 months ago) by hannken
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +16 -8
lines
Use VFS_PROTOS() for deadfs. Rename dead_mount to dead_rootmount.
Revision 1.2.10.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:30 2014 UTC (10 years, 7 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.2.10.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.10.1: +78 -0
lines
Rebase to HEAD as of a few days ago.
Revision 1.2.6.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:05 2014 UTC (10 years, 10 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.2.6.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.6.1: +78 -0
lines
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")
Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:09 2014 UTC (10 years, 10 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.1: +78 -0
lines
sync with head
Revision 1.2.10.1
Sun Mar 23 15:21:16 2014 UTC (11 years ago) by tls
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.2: +0 -78
lines
file dead_vfsops.c was added on branch tls-maxphys on 2014-08-20 00:04:30 +0000
Revision 1.2.6.1
Sun Mar 23 15:21:16 2014 UTC (11 years ago) by yamt
Branches: yamt-pagecache
FILE REMOVED
Changes since revision 1.2: +0 -78
lines
file dead_vfsops.c was added on branch yamt-pagecache on 2014-05-22 11:41:05 +0000
Revision 1.2.4.1
Sun Mar 23 15:21:16 2014 UTC (11 years ago) by rmind
Branches: rmind-smpnet
FILE REMOVED
Changes since revision 1.2: +0 -78
lines
file dead_vfsops.c was added on branch rmind-smpnet on 2014-05-18 17:46:09 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 15:21:16 2014 UTC (11 years ago) by hannken
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Branch point for: yamt-pagecache,
tls-maxphys,
rmind-smpnet,
nick-nhusb
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +25 -27
lines
Change all vfsops to use C99 designated initializers.
No functional changes intended.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Feb 27 13:00:06 2014 UTC (11 years ago) by hannken
Branches: MAIN
CVS tags: riastradh-drm2-base3
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.
CVSweb <webmaster@jp.NetBSD.org>