/[base]
ViewVC logotype

Revision 345742


Jump to revision: Previous Next
Author: asomers
Date: Sun Mar 31 03:19:10 2019 UTC (5 years, 3 months ago)
Changed paths: 6
Log Message:
fusefs: replace the fufh table with a linked list

The FUSE protocol allows each open file descriptor to have a unique file
handle.  On FreeBSD, these file handles must all be stored in the vnode.
The old method (also used by OSX and OpenBSD) is to store them all in a
small array.  But that limits the total number that can be stored.  This
commit replaces the array with a linked list (a technique also used by
Illumos).  There is not yet any change in functionality, but this is the
first step to fixing several bugs.

PR:		236329, 236340, 236381, 236560, 236844
Discussed with:	cem
Sponsored by:	The FreeBSD Foundation


Changed paths

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

  ViewVC Help
Powered by ViewVC 1.1.27