#
8854aaf9 |
| 17-Feb-2022 |
hannken <hannken@NetBSD.org> |
Add a marker VUSECOUNT_VGET to v_usecount that gets set whenever vcache_vget() or vache_tryvget() succeeds.
Use it to rerun VOP_INACTIVE() if another thread ran a vget()..vrele() cycle while we inac
Add a marker VUSECOUNT_VGET to v_usecount that gets set whenever vcache_vget() or vache_tryvget() succeeds.
Use it to rerun VOP_INACTIVE() if another thread ran a vget()..vrele() cycle while we inactivated our last reference.
show more ...
|
#
c7324206 |
| 27-Nov-2021 |
rillig <rillig@NetBSD.org> |
usr.sbin: remove unnecessary CONSTCOND, lint no longer needs it
Since 2021-01-31, lint no longer requires a CONSTCOND comment in a do-while-0 statement since this is a common code pattern, especiall
usr.sbin: remove unnecessary CONSTCOND, lint no longer needs it
Since 2021-01-31, lint no longer requires a CONSTCOND comment in a do-while-0 statement since this is a common code pattern, especially in statement-like macros.
sed -i -E 's,} while \(/\* ?CONSTCOND ?\*/ ?0\),} while (0),' */*.[ch]
show more ...
|
#
da91a803 |
| 12-Apr-2021 |
mrg <mrg@NetBSD.org> |
fix a buffer size (off by one), and fix all the comments for the 3 other correctly sized buffers with the same comment/context.
|
#
d45410bd |
| 03-Oct-2020 |
christos <christos@NetBSD.org> |
Filter out the VUSECOUNT_GATE bit
|
#
f1d601d9 |
| 11-Dec-2019 |
ad <ad@NetBSD.org> |
Report on whether vnodes are MPSAFE. For diagnosing perf problems.
|
#
e99293b8 |
| 01-Dec-2019 |
ad <ad@NetBSD.org> |
Update to match change in layout of vnode LRU lists.
|
#
41e309b9 |
| 04-May-2017 |
sevan <sevan@NetBSD.org> |
Drop main() prototype.
|
#
20b33c67 |
| 17-Apr-2017 |
hannken <hannken@NetBSD.org> |
Cleanup after mountlist iterator: - remove now unused field mnt_list. - rename mount_list to mountlist and make it local to vfs_mount.c. - make mountlist_lock local to vfs_mount.c.
Change pstat.c to
Cleanup after mountlist iterator: - remove now unused field mnt_list. - rename mount_list to mountlist and make it local to vfs_mount.c. - make mountlist_lock local to vfs_mount.c.
Change pstat.c to retrieve vnodes by lru lists.
show more ...
|
#
5cfff60b |
| 11-Jan-2017 |
hannken <hannken@NetBSD.org> |
Move vnode member v_mntvnodes as vi_mntvnodes to vnode_impl.h.
Add an ugly hack so pstat.c may still traverse the list.
|
#
5d56e625 |
| 20-Apr-2015 |
riastradh <riastradh@NetBSD.org> |
Cull unused vnode v_iflags: VI_LAYER, VI_LOCKSHARE.
|
#
eef0ed6c |
| 26-May-2014 |
dholland <dholland@NetBSD.org> |
Don't check lfs flags on ffs vnodes.
|
#
cb7d003f |
| 24-Mar-2014 |
hannken <hannken@NetBSD.org> |
- Make VI_XLOCK, VI_CLEAN and VI_LOCKSHARE private to kern/vfs_*.c. - Make vwait() static. - Add vdead_check() to check a vnode for being or becoming dead.
Discussed on tech-kern.
Welcome to 6.99.
- Make VI_XLOCK, VI_CLEAN and VI_LOCKSHARE private to kern/vfs_*.c. - Make vwait() static. - Add vdead_check() to check a vnode for being or becoming dead.
Discussed on tech-kern.
Welcome to 6.99.38
show more ...
|
#
eea1df5b |
| 24-Nov-2013 |
mlelstv <mlelstv@NetBSD.org> |
Fix fallout from circleq->tailq transition.
|
#
2dbb216c |
| 19-Oct-2013 |
christos <christos@NetBSD.org> |
fix unused variable warnings.
|
#
cbecdd0d |
| 10-Nov-2012 |
apb <apb@NetBSD.org> |
The number of active vnodes may grow in between the sysctl call that figures out the size, and the sysctl call that fetches the data.
Previously, any growth at all would have resulted in this error
The number of active vnodes may grow in between the sysctl call that figures out the size, and the sysctl call that fetches the data.
Previously, any growth at all would have resulted in this error message:
pstat: sysctl: KERN_VNODE: Cannot allocate memory
Now allow for growth of 100 vnodes, or 5%, or both. Growth in excess of 2% or 6000 vnodes has been observed in practice. Also ignore ENOMEM from the second sysctl call, in case the growth was even more than we anticipated.
show more ...
|
#
b4a59c03 |
| 04-Jun-2012 |
riastradh <riastradh@NetBSD.org> |
Kill the IN_RENAME in-core inode flag in ufs and ext2fs.
Now that rename works we need not to wave this sort of voodoo at it.
ok dholland
|
#
7f26fba0 |
| 31-Aug-2011 |
joerg <joerg@NetBSD.org> |
Use __dead
|
#
b2c88fc8 |
| 04-Jan-2011 |
wiz <wiz@NetBSD.org> |
Fix memory leak in error case. Found by cppcheck.
|
#
29551a29 |
| 19-Nov-2009 |
enami <enami@NetBSD.org> |
Prevent sign extension when reading device number in ufs1 on disk inode so that devname(3) correctly converts it to device filename.
|
#
d2979fb0 |
| 16-Sep-2009 |
mlelstv <mlelstv@NetBSD.org> |
Distinguish between UFS1 and UFS2 inodes by reading the ufsmount structure, the previous heuristic of comparing the size fields of inode and dinode failed.
|
#
aecc7237 |
| 18-Apr-2009 |
lukem <lukem@NetBSD.org> |
Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare)
|
#
01a13dba |
| 11-Mar-2009 |
mrg <mrg@NetBSD.org> |
convert getfiles() to use KERN_FILE2 sysctl.
now it can survive "struct file" changing, as is upcoming.
|
#
69f9e170 |
| 08-Mar-2009 |
ad <ad@NetBSD.org> |
Don't bother with file_t::f_iflags any more, as it's not used. Noted by mrg@.
|
#
07b8d9f3 |
| 28-Dec-2008 |
christos <christos@NetBSD.org> |
consistently print dev_t's
|
#
9c194566 |
| 21-Jul-2008 |
lukem <lukem@NetBSD.org> |
Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|