/[base]
ViewVC logotype

Revision 346357


Jump to revision: Previous Next
Author: asomers
Date: Thu Apr 18 19:16:34 2019 UTC (5 years, 2 months ago)
Changed paths: 8
Log Message:
fusefs: improvements to interruptibility

* If a process receives a fatal signal while blocked on a fuse operation,
  return ASAP without waiting for the operation to complete.  But still send
  the FUSE_INTERRUPT op to the daemon.
* Plug memory leaks from r346339

Interruptibility is now fully functional, but it could be better:
* Operations that haven't been sent to the server yet should be aborted
  without sending FUSE_INTERRUPT.
* It would be great if write operations could be made restartable.
  That would require delaying uiomove until the last possible moment, which
  would be sometime during fuse_device_read.
* It would be nice if we didn't have to guess which EAGAIN responses were
  for FUSE_INTERRUPT operations.

PR:		236530
Sponsored by:	The FreeBSD Foundation


Changed paths

Path Details
Directoryprojects/fuse2/sys/fs/fuse/fuse_device.c modified , text changed
Directoryprojects/fuse2/sys/fs/fuse/fuse_ipc.c modified , text changed
Directoryprojects/fuse2/sys/fs/fuse/fuse_ipc.h modified , text changed
Directoryprojects/fuse2/tests/sys/fs/fusefs/allow_other.cc modified , text changed
Directoryprojects/fuse2/tests/sys/fs/fusefs/interrupt.cc modified , text changed
Directoryprojects/fuse2/tests/sys/fs/fusefs/open.cc modified , text changed
Directoryprojects/fuse2/tests/sys/fs/fusefs/utils.cc modified , text changed
Directoryprojects/fuse2/tests/sys/fs/fusefs/utils.hh modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27