Konstantin Belousov 2c1531e746 Do not flush buffers when the v_object of the passed vnode does not
really belong to it. Such vnodes, with the pointers to other vnodes
v_objects, are typically instantiated by the bypass filesystems.
Invalidating mappings of other vnode pages and the pages is wrong,
since reclamation of the upper vnode does not imply that lower vnode
is reclaimed too.

One of the consequences of the improper reclamation was destruction of
the wired mappings of the lower vnode pages, triggering miscellaneous
assertions in the VM system.

Reported by:    John Marshall <john.marshall@riverwillow.com.au>
Tested by:      John Marshall <john.marshall@riverwillow.com.au>, pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Approved by:	re (gjb)
2013-10-09 18:43:29 +00:00
..
2013-10-01 18:41:53 +00:00
2013-09-29 15:19:34 +00:00
2013-10-04 11:55:20 +00:00
MFC
2013-09-06 17:42:12 +00:00
2013-10-07 12:07:40 +00:00
2013-08-22 16:39:59 +00:00
2013-09-29 13:09:25 +00:00