sapling/eden/fs/service
Wez Furlong fe1a376e0f migrate functionScheduler to eventBase timer
Summary:
This is reasonably straightforward, although a little
more fiddly than I'd hoped because the timer wheel stuff doesn't
offer a convenient way to set up a recurring timer.

I've also made the inode unloading code get run globally for all
mounts; it was previously scheduling one timer per mount point.
This nets out the same; the function scheduler was just a single
thread anyway, so there is no change in the level of concurrency.
I believe that this tidies up the unload counter too; it looked
like we'd set the counter to be the result of the last mount
point that we processed rather than the aggregate of all mounts.

Having the unload timer be associated with the server rather
than the mount points means that we don't have to do anything
special to coordinate with the timer management when the mount
point is being torn down.

Reviewed By: bolinfest

Differential Revision: D5792938

fbshipit-source-id: 1a14bb7b7f4952139e684fe6b52f64bd1ba70dd0
2017-09-13 08:42:21 -07:00
..
oss add an EdenServer::getMainEventBase() method 2017-08-31 19:05:23 -07:00
__init__.py Add integration test for rebasing in Hg. 2017-07-27 17:24:01 -07:00
client.py use .eden/socket in hg extensions 2017-04-06 10:52:06 -07:00
DEFS avoid multiple builds of the eden server library 2017-04-14 11:39:02 -07:00
eden.thrift Introduce a special NoValueForKeyError for hgGetDirstateTuple() and hgCopyMapGet(). 2017-09-11 10:52:09 -07:00
EdenError.cpp update all copyright statements to "2016-present" 2017-01-20 22:03:02 -08:00
EdenError.h update all copyright statements to "2016-present" 2017-01-20 22:03:02 -08:00
EdenServer.cpp migrate functionScheduler to eventBase timer 2017-09-13 08:42:21 -07:00
EdenServer.h migrate functionScheduler to eventBase timer 2017-09-13 08:42:21 -07:00
EdenServiceHandler.cpp Introduce a special NoValueForKeyError for hgGetDirstateTuple() and hgCopyMapGet(). 2017-09-11 10:52:09 -07:00
EdenServiceHandler.h EdenServiceHandler::mountImpl returns a Future 2017-09-06 13:04:54 -07:00
GlobNode.cpp fix crashes triggered by the new TreeInode::Entry checks 2017-07-26 13:21:13 -07:00
GlobNode.h move eden/utils and eden/fuse into eden/fs 2017-04-14 11:39:02 -07:00
main.cpp re-organize the fuse Channel and Session code 2017-09-08 19:25:34 -07:00
PrettyPrinters.cpp implement "hg status" using EdenMount::diff() 2017-03-30 21:35:00 -07:00
PrettyPrinters.h implement "hg status" using EdenMount::diff() 2017-03-30 21:35:00 -07:00
streamingeden.thrift implement eden->watchman subscriptions 2017-03-21 13:35:20 -07:00
StreamingSubscriber.cpp update logging statements to use folly logging APIs 2017-06-22 13:50:13 -07:00
StreamingSubscriber.h implement eden->watchman subscriptions 2017-03-21 13:35:20 -07:00
TARGETS Kill folly/experimental:experimental 2017-09-03 14:24:26 -07:00
ThriftUtil.h update the checkOutRevision() API to accept a BinaryHash 2017-04-06 17:50:43 -07:00