/[base]
ViewVC logotype

Revision 346763


Jump to revision: Previous Next
Author: asomers
Date: Fri Apr 26 19:47:43 2019 UTC (5 years, 2 months ago)
Changed paths: 3
Log Message:
fusefs: fix a deadlock in VOP_PUTPAGES

As of r346162 fuse now invalidates the cache during writes.  But it can't do
that when writing from VOP_PUTPAGES, because the write is coming _from_ the
cache.  Trying to invalidate the cache in that situation causes a deadlock
in vm_object_page_remove, because the pages in question have already been
busied by the same thread.

PR:		235774
Sponsored by:	The FreeBSD Foundation


Changed paths

Path Details
Directoryprojects/fuse2/sys/fs/fuse/fuse_io.c modified , text changed
Directoryprojects/fuse2/sys/fs/fuse/fuse_io.h modified , text changed
Directoryprojects/fuse2/sys/fs/fuse/fuse_vnops.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27