NetBSD/sys/nfs
hannken 2b69930f08 Remove an incorrect assertion.
Just issue a readahead near the end of the vnode and enqueue an async read.
Now let nfs_setattr() truncate the vnode, set its new size and
nfs_vinvalbuf() waits for the pages from the readahead to become unbusy.

The async read gets processed and returns with uio_resid > 0 because there
is a hole and no write after the hole has been pushed yet.  As the vnode
size already got truncated to the new size the KASSERT() incorrectly fires.
2022-06-24 16:50:00 +00:00
..
Makefile
files.nfs
krpc.h
krpc_subr.c
nfs.h s/runable/runnable/ 2021-12-05 07:35:17 +00:00
nfs_bio.c Remove an incorrect assertion. 2022-06-24 16:50:00 +00:00
nfs_boot.c
nfs_bootdhcp.c
nfs_bootparam.c
nfs_bootstatic.c
nfs_clntsocket.c
nfs_clntsubs.c Revert the hack from the last commit now that VOP_UNLOCK() 2022-02-28 08:45:36 +00:00
nfs_export.c Add flag/command NFSSVC_REPLACEEXPORTSLIST to nfssvc(2) system call. 2021-06-04 10:44:58 +00:00
nfs_iod.c
nfs_kq.c Overhaul of the EVFILT_VNODE kevent(2) filter: 2021-10-20 03:08:16 +00:00
nfs_node.c Resolve delayed truncation from nfs_inactive() too. 2020-05-01 08:43:00 +00:00
nfs_serv.c As VOP_GETATTR() needs a shared lock at least move the preopattr lookup 2022-04-27 17:38:52 +00:00
nfs_socket.c
nfs_srvcache.c
nfs_srvsocket.c
nfs_srvsubs.c As VOP_GETATTR() needs a shared lock at least move the preopattr lookup 2022-04-27 17:38:52 +00:00
nfs_subs.c s/ony/only/ 2022-02-09 21:50:24 +00:00
nfs_syscalls.c Add flag/command NFSSVC_REPLACEEXPORTSLIST to nfssvc(2) system call. 2021-06-04 10:44:58 +00:00
nfs_var.h As VOP_GETATTR() needs a shared lock at least move the preopattr lookup 2022-04-27 17:38:52 +00:00
nfs_vfsops.c Don't pretend that files are limited to 1TB on NFSv3. 2021-06-13 10:25:11 +00:00
nfs_vnops.c fix various typos in comments, docs and log messages. 2022-05-24 06:27:59 +00:00
nfsdiskless.h
nfsm_subs.h s/directry/directory/ 2021-08-12 20:25:26 +00:00
nfsmount.h
nfsnode.h fix various typos, mainly in comments, but also in man pages and log messages. 2021-10-21 13:21:53 +00:00
nfsproto.h
nfsrtt.h
nfsrvcache.h
rpcv2.h
xdr_subs.h