sapling/eden/fs/fuse
Adam Simpkins 03eaf38e0a fix I/O hangs across graceful restart
Summary:
Fix FuseChannel::processSession() to always process all FUSE requests that it
reads.  Previously it checked to see if it should stop immediately after
reading FUSE request.  It was possible for the old process to successfully read
a FUSE request, see that it was supposed to stop, and then exit this worker
thread without ever processing this FUSE request.  This would cause the client
that sent the request to hang indefinitely, since no response would ever be
sent.

Reviewed By: wez

Differential Revision: D7436867

fbshipit-source-id: c58c2f6c49102fa6b66ac83fc1639595a5277ce0
2018-03-28 22:22:32 -07:00
..
fuse_tester remove the fusell namespace 2018-03-19 17:01:52 -07:00
privhelper use folly::getBaseLoggingConfig() to set base logging config 2018-03-21 12:37:48 -07:00
test comment out unused parameters 2018-03-22 15:29:44 -07:00
BufVec.cpp remove the fusell namespace 2018-03-19 17:01:52 -07:00
BufVec.h remove the fusell namespace 2018-03-19 17:01:52 -07:00
DirHandle.h remove the fusell namespace 2018-03-19 17:01:52 -07:00
DirList.cpp remove the fusell namespace 2018-03-19 17:01:52 -07:00
DirList.h remove the fusell namespace 2018-03-19 17:01:52 -07:00
Dispatcher.cpp remove the fusell namespace 2018-03-19 17:01:52 -07:00
Dispatcher.h remove the fusell namespace 2018-03-19 17:01:52 -07:00
EdenStats.cpp remove the fusell namespace 2018-03-19 17:01:52 -07:00
EdenStats.h remove the fusell namespace 2018-03-19 17:01:52 -07:00
FileHandle.cpp remove the fusell namespace 2018-03-19 17:01:52 -07:00
FileHandle.h remove the fusell namespace 2018-03-19 17:01:52 -07:00
FileHandleBase.cpp remove the fusell namespace 2018-03-19 17:01:52 -07:00
FileHandleBase.h remove the fusell namespace 2018-03-19 17:01:52 -07:00
FileHandleMap.cpp remove the fusell namespace 2018-03-19 17:01:52 -07:00
FileHandleMap.h remove the fusell namespace 2018-03-19 17:01:52 -07:00
FuseChannel.cpp fix I/O hangs across graceful restart 2018-03-28 22:22:32 -07:00
FuseChannel.h send FUSE invalidation requests in a separate thread 2018-03-27 11:23:42 -07:00
FuseTypes.cpp remove the fusell namespace 2018-03-19 17:01:52 -07:00
FuseTypes.h remove the fusell namespace 2018-03-19 17:01:52 -07:00
handlemap.thrift move InodeMap serialization to new takeover.thrift file 2018-01-17 11:51:30 -08:00
PollHandle.cpp remove the fusell namespace 2018-03-19 17:01:52 -07:00
PollHandle.h remove the fusell namespace 2018-03-19 17:01:52 -07:00
RequestData.cpp check for std::generic_category when looking for errno errors 2018-03-20 13:38:45 -07:00
RequestData.h Added thrift request to report outstanding FUSE calls 2018-03-20 10:25:49 -07:00