sapling/eden
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
..
cli add a CLI option to run edenfs under strace 2017-09-07 19:08:31 -07:00
docs update logging statements to use folly logging APIs 2017-06-22 13:50:13 -07:00
facebook Create a utility for enumerating and parsing Buck build traces. 2017-09-08 00:09:04 -07:00
fs migrate functionScheduler to eventBase timer 2017-09-13 08:42:21 -07:00
hooks codemod: format TARGETS with buildifier [4/5] (D5092623) 2017-06-01 17:52:40 -07:00
integration Fixed a bug in how we update the dirstate upon a snapshot change. 2017-09-08 19:25:34 -07:00
DEFS move eden/fs/cli to eden/cli 2017-04-14 11:39:01 -07:00