freebsd-skq/sys/fs/fuse
attilio 16c7563cf4 The soft and hard busy mechanism rely on the vm object lock to work.
Unify the 2 concept into a real, minimal, sxlock where the shared
acquisition represent the soft busy and the exclusive acquisition
represent the hard busy.
The old VPO_WANTED mechanism becames the hard-path for this new lock
and it becomes per-page rather than per-object.
The vm_object lock becames an interlock for this functionality:
it can be held in both read or write mode.
However, if the vm_object lock is held in read mode while acquiring
or releasing the busy state, the thread owner cannot make any
assumption on the busy state unless it is also busying it.

Also:
- Add a new flag to directly shared busy pages while vm_page_alloc
  and vm_page_grab are being executed.  This will be very helpful
  once these functions happen under a read object lock.
- Move the swapping sleep into its own per-object flag

The KPI is heavilly changed this is why the version is bumped.
It is very likely that some VM ports users will need to change
their own code.

Sponsored by:	EMC / Isilon storage division
Discussed with:	alc
Reviewed by:	jeff, kib
Tested by:	gavin, bapt (older version)
Tested by:	pho, scottl
2013-08-09 11:11:11 +00:00
..
fuse_debug.h
fuse_device.c Remove unneeded D_NEEDMINOR. 2012-10-18 19:28:31 +00:00
fuse_file.c - Current caching mode is completely broken because it simply relies 2012-11-08 00:32:49 +00:00
fuse_file.h
fuse_internal.c - Current caching mode is completely broken because it simply relies 2012-11-08 00:32:49 +00:00
fuse_internal.h fuse: revert birthtime support. 2013-07-20 14:50:35 +00:00
fuse_io.c MFC 2013-02-26 17:33:18 +00:00
fuse_io.h
fuse_ipc.c
fuse_ipc.h
fuse_kernel.h fuse: revert kernel_header update. 2013-07-24 20:21:29 +00:00
fuse_main.c
fuse_node.c - Current caching mode is completely broken because it simply relies 2012-11-08 00:32:49 +00:00
fuse_node.h - Current caching mode is completely broken because it simply relies 2012-11-08 00:32:49 +00:00
fuse_param.h
fuse_vfsops.c - Protect mnt_data and mnt_flags under the mount interlock 2012-11-10 19:32:16 +00:00
fuse_vnops.c The soft and hard busy mechanism rely on the vm object lock to work. 2013-08-09 11:11:11 +00:00
fuse.h