freebsd-nq/sys/fs/nullfs
Konstantin Belousov f7af6e5e54 nullfs: provide custom bypass for VOP_READ_PGCACHE().
Normal bypass expects locked vnode, which is not true for
VOP_READ_PGCACHE().  Ensure liveness of the lower vnode by taking the
upper vnode interlock, which is also taked by null_reclaim() when
setting v_data to NULL.

Reported and tested by:	pho
Reviewed by:	markj, mjg
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D27327
2020-11-26 18:16:32 +00:00
..
null_subr.c VMIO reads: enable for nullfs upper vnode if the lower vnode supports it. 2020-08-16 21:05:56 +00:00
null_vfsops.c Make it possible to mount nullfs(5) using plain mount(8) 2020-10-29 15:28:15 +00:00
null_vnops.c nullfs: provide custom bypass for VOP_READ_PGCACHE(). 2020-11-26 18:16:32 +00:00
null.h