Commit Graph

3347 Commits

Author SHA1 Message Date
svcscm
051c3aceca Updating submodules
Summary:
GitHub commits:

09d07115f6
ca7ccbe2ea

Reviewed By: cdelahousse

fbshipit-source-id: bde0a10de6869185a4d7948e2b47023d3bddff36
2019-10-24 17:59:09 -07:00
Puneet Kaushik
bc35e81374 Integrate CurrentState with the notifications.
Summary: This diff will create an instance of CurrentState in EdenMount and integrate it with the Prjfs notifications.

Reviewed By: chadaustin

Differential Revision: D18068335

fbshipit-source-id: 5c78949c8b0ad316d2b014e808297f29092ae703
2019-10-24 16:26:55 -07:00
Puneet Kaushik
a0e5d97ab7 Add Notifications support to Eden Windows
Summary: This diff adds the notifications callbacks from Prjfs. These will be used in the later diffs in the stack.

Reviewed By: chadaustin

Differential Revision: D18068035

fbshipit-source-id: a8e679ef32ae39251e6c1e926feb9cd1b71258e0
2019-10-24 16:26:54 -07:00
Puneet Kaushik
991965ecae Update RepoConfig to store Mount id in .eden/config
Summary: This diff creates a Guid as a unique mount id. This mount id will be used to uniquely identify our repo in the Regdb.

Reviewed By: chadaustin

Differential Revision: D18055798

fbshipit-source-id: 01099d7fdf15c325498e83c8b63637dd1d85d028
2019-10-24 16:26:54 -07:00
Puneet Kaushik
3382fa538d Add CurrentState to record the FS changes
Summary: The is the top level interface which will receive all the FS changes and will store them in the RegDB for later use.

Reviewed By: chadaustin

Differential Revision: D17998282

fbshipit-source-id: 7570edcfe0f6bf9164bfa0688665fb7253a21bc6
2019-10-24 16:26:54 -07:00
Puneet Kaushik
fbd422253d Add StateDbNode to fetch and set the directory entries from the regdb
Reviewed By: chadaustin

Differential Revision: D17986746

fbshipit-source-id: 906e526d3ac8637270fe2b2eaccb45f2d535ebd4
2019-10-24 16:26:54 -07:00
Puneet Kaushik
91d12786f9 Add StateDirectoryEntry as an in memory representation of a FS cache dirEntry
Summary: StateDirectoryEntry will contain the current state of a file or folder in the prjfs cache and will be totally in memory. In the next few diffs we will bring in the code that will load and store these in the db.

Reviewed By: chadaustin

Differential Revision: D17985967

fbshipit-source-id: 260dca369a3acce10385b04fdb5ff111cfc998be
2019-10-24 16:26:53 -07:00
Chad Austin
4f360eafd2 clang-format
Summary: Formatting had diverged in a few places. Fix that up.

Reviewed By: fanzeyi

Differential Revision: D18123219

fbshipit-source-id: 832cdd70789642f665a029196998928a9173be81
2019-10-24 14:56:43 -07:00
svcscm
442c45c05d Updating submodules
Summary:
GitHub commits:

61c1ed79cd

Reviewed By: cdelahousse

fbshipit-source-id: d688e49fce1d1ee71b34889b98db076cf4eb30ec
2019-10-24 14:56:42 -07:00
svcscm
3a2bff7631 Updating submodules
Summary:
GitHub commits:

4e8d4f153f
be10a3d4b3

Reviewed By: cdelahousse

fbshipit-source-id: 9874eae216a6b5db07676c17687a1bf727e6ae69
2019-10-24 13:16:44 -07:00
Genevieve Helsel
d8445bae2c save version number in EdenServer
Summary:
This saves the version number (like 20191014-154333) in the EdenServer. This will be returned to the user in a getScmStatusV2 call later up the stack. This is useful for being able to warn the user if EdenFS is running on an old or known-bad version.

I ended up splitting up `getEdenfsVersion()` and `getEdenfsBuildName()` because I don't think we need to store "edenfs " with every version number in the server / return this from the thrift call of `getScmStatusV2()`. Not sure of the use case of having "edenfs " prepended to the version number returned from the current `getEdenfsBuildName()` so didn't want to change that, but if it seems fine we could remove that prepended edenfs (or if it actually makes sense to return the string with that prepended from the ScmStatus call).

Reviewed By: chadaustin

Differential Revision: D17919528

fbshipit-source-id: 5abdf7851371c4614da862657350a8cc263eb014
2019-10-24 12:48:33 -07:00
svcscm
da74fc2e35 Updating submodules
Summary:
GitHub commits:

b0959ec2f9

Reviewed By: cdelahousse

fbshipit-source-id: c0fb5793ddac8b0ce33d6614dcb07502b880a9b1
2019-10-24 12:48:33 -07:00
svcscm
d3ec6437d4 Updating submodules
Summary:
GitHub commits:

122f539822
f01cb0708c
9f1e5a0b87
0a1f9347c2

Reviewed By: cdelahousse

fbshipit-source-id: b135aa3446eee2dd3a1bf3bb0d5c0265be465b3d
2019-10-23 18:49:02 -07:00
Zeyi (Rice) Fan
c42b48642f be graceful when exception is thrown from Rust code
Summary: We should handle errors from Rust code gracefully so it does not abort the mounting process.

Reviewed By: chadaustin

Differential Revision: D18096335

fbshipit-source-id: 17cec6f619ea2cc8c1719b0cf97287c815ff6f0a
2019-10-23 18:20:34 -07:00
svcscm
0c4409b424 Updating submodules
Summary:
GitHub commits:

8ac79dbfad
f97c8b2a91
686dbde63b
6a32e3b562
9e79c99421

Reviewed By: cdelahousse

fbshipit-source-id: e50b9ecdf91e98932bd82faa210c012cc8b9d48f
2019-10-23 18:20:34 -07:00
svcscm
6c9c433ff4 Updating submodules
Summary:
GitHub commits:

3d32597779
2c45426e8b
db7733cb24
9df8a63117
61a3c68470
596b1a7c1c
06751015b3

Reviewed By: cdelahousse

fbshipit-source-id: 4a48ce9ed3124fc5a37e02c1eb3081a358bb1fb6
2019-10-23 12:41:19 -07:00
svcscm
72ed65e736 Updating submodules
Summary:
GitHub commits:

d32d4344ec
00dfc2c82e

Reviewed By: cdelahousse

fbshipit-source-id: 5d1b8300a428c65bc35f222ae19c656585ba897b
2019-10-23 12:41:19 -07:00
svcscm
7831556afc Updating submodules
Summary:
GitHub commits:

4493473c42

Reviewed By: cdelahousse

fbshipit-source-id: 050512c21097cdde6c1980e2aeec9d7b2cf000d5
2019-10-22 16:34:36 -07:00
Zeyi (Rice) Fan
5ce76dcbe5 eden: fix API server failures due to service router disabled sliently
Summary: EdenFS recently is unable to import data from API Server on devservers. This is due to the missing of service router support during the build time. This diff fixes this issue.

Reviewed By: wez

Differential Revision: D18042201

fbshipit-source-id: 15868d8e81b9403218e481b3fbf0a7ca1279b023
2019-10-22 15:06:47 -07:00
Zeyi (Rice) Fan
58ad62e51a eden: make Eden to use the new backingstore crate
Summary: This diff switches EdenFS from using the `revisionstore` crate into `backingstore`

Reviewed By: chadaustin

Differential Revision: D17866320

fbshipit-source-id: f6de1fe568ae893e4c2555039df6edfb0a450885
2019-10-22 15:00:30 -07:00
Chad Austin
9a5f0093f2 introduce a scribe logger that communicates with scribe_cat
Summary: Introduce a new ScribeLogger class that spawns and maintains a process. Log messages are newline-delimited and written to the process's stdin. If the process stops responding or responds too slowly, log messages are dropped.

Reviewed By: pkaush

Differential Revision: D17777215

fbshipit-source-id: c998d10c73fc103122d69ae19c5d84f58b7939d2
2019-10-22 12:42:54 -07:00
svcscm
57df8ac3a7 Updating submodules
Summary:
GitHub commits:

58bcdfb1b3
d8f20576dd
c0abc6bbc1

Reviewed By: cdelahousse

fbshipit-source-id: 72ec0622435f0babb54489d9a8b60d74cae714c2
2019-10-22 12:42:53 -07:00
svcscm
1d947bbf7a Updating submodules
Summary:
GitHub commits:

66b625242c
f54c24f82d
3885c389bd
fc5afaecdf
b3e50b5606
f8a545e32b

Reviewed By: cdelahousse

fbshipit-source-id: 4ea875f35026ef802d89e30f4ec665c816759b78
2019-10-22 10:52:31 -07:00
Chad Austin
2055da77d0 fix lock ordering issues in eden tests
Summary: Fix Eden's inode tests under TSAN by fixing some lock order violations.

Reviewed By: wez

Differential Revision: D18050868

fbshipit-source-id: bdc4f47f6fcc3b714bd9d6b29364c2f43f899f0f
2019-10-22 10:39:13 -07:00
svcscm
1011efa6b3 Updating submodules
Summary:
GitHub commits:

cc706526f8
1186b8bcc3
82f7971f3b
a2b9ce30f2

Reviewed By: cdelahousse

fbshipit-source-id: 89d606f2dc19927187691c168001236925503af1
2019-10-22 05:46:40 -07:00
Wez Furlong
b2e6a1fd06 eden: default to hg rather than hg.real for hg importer
Summary:
krallin noted that we were not collecting LFS stats from the import helper.
This diff should get us to run the import helper with those stats enabled, although
we don't yet know how useful those will be in practice.

We originally defaulted to `hg.real` to bypass some startup overhead and make our tests
run faster.  We've evolved more control over this in the test harness over time, so I
think we're probably fine to make the runtime non-test default just be the normal hg
entrypoint.

Reviewed By: chadaustin

Differential Revision: D18039164

fbshipit-source-id: 7593cdca9afe30fa2fc928b84ba552dbecfed388
2019-10-22 05:01:04 -07:00
svcscm
3d51a8ad53 Updating submodules
Summary:
GitHub commits:

9d739fe162
758bf19acf

Reviewed By: cdelahousse

fbshipit-source-id: 0000f5800d8bd388c0ee5ea80e489e63608f3ce6
2019-10-22 05:01:03 -07:00
svcscm
c84f233d7a Updating submodules
Summary:
GitHub commits:

54a20c004d
7245fb5f63

Reviewed By: cdelahousse

fbshipit-source-id: c6a19bb5a9824d0a798474016b919e6a555dfecd
2019-10-21 15:38:00 -07:00
Wez Furlong
cb49bbbbf5 eden: improve readability for failed tests.
Summary:
transforms this horrendous mess:

```
> stderr=b"==2460594==AddressSanitizer: libc interceptors initialized\n|| `[0x10007fff8000, 0x7fffffffffff]` || HighMem    ||\n|| `[0x02008fff7000, 0x10007fff7fff]` || HighShadow ||\n|| `[0x00008fff7000, 0x02008fff6fff]` || ShadowGap  ||\n|| `[0x00007fff8000, 0x00008fff6fff]` || LowShadow  ||\n|| `[0x000000000000, 0x00007fff7fff]` || LowMem     ||\nMemToShadow(shadow): 0x00008fff7000 0x000091ff6dff 0x004091ff6e00 0x02008fff6fff\nredzone=16\nmax_redzone=2048\nquarantine_size_mb=256M\nthread_local_quarantine_size_kb=1024K\nmalloc_context_size=30\nSHADOW_SCALE: 3\nSHADOW_GRANULARITY: 8\nSHADOW_OFFSET: 0x7fff8000\n==2460594==Installed the sigaction for signal 11\n==2460594==Installed the sigaction for signal 7\n==2460594==Installed the sigaction for signal 8\n==2460594==T0: FakeStack created:
0x7f524432c000 -- 0x7f5244e35000 stack_size_log: 20; mmapped 11300K, noreserve=0 \n==2460594==T0: stack [0x7ffe4480f000,0x7ffe4500f000) size 0x800000; local=0x7ffe4500bcc8\n==2460594==AddressSanitizer Init done\n==2460674==AddressSanitizer: failed to intercept '__cxa_throw'\n==2460674==AddressSanitizer: libc interceptors initialized\n|| `[0x10007fff8000, 0x7fffffffffff]` || HighMem    ||\n|| `[0x02008fff7000, 0x10007fff7fff]` || HighShadow ||\n|| `[0x00008fff7000, 0x02008fff6fff]` || ShadowGap  ||\n|| `[0x00007fff8000, 0x00008fff6fff]` || LowShadow  ||\n|| `[0x000000000000, 0x00007fff7fff]` || LowMem     ||\nMemToShadow(shadow): 0x00008fff7000 0x000091ff6dff 0x004091ff6e00 0x02008fff6fff\nredzone=16\nmax_redzone=2048\nquarantine_size_mb=256M\nthread_local_quarantine_size_kb=1024K\nmalloc_context_size=30\nSHADOW_SCALE: 3\nSHADOW_GRANULARITY: 8\nSHADOW_OFFSET: 0x7fff8000\n==2460674==Installed the sigaction for signal 11\n==2460674==Installed the sigaction for signal 7\n==2460674==Installed the sigaction for signal 8\n==2460674==T0: FakeStack created: 0x7fa4b4315000 -- 0x7fa4b4e1e000 stack_size_log: 20; mmapped 11300K, noreserve=0 \n==2460674==T0: stack [0x7ffd70040000,0x7ffd70840000) size 0x800000; local=0x7ffd7083f7c8\n==2460674==AddressSanitizer Init done\nAddressSanitizer ignores mlock/mlockall/munlock/munlockall\n==2460732==AddressSanitizer: libc interceptors initialized\n|| `[0x10007fff8000, 0x7fffffffffff]` || HighMem    ||\n|| `[0x02008fff7000, 0x10007fff7fff]` || HighShadow ||\n|| `[0x00008fff7000, 0x02008fff6fff]` || ShadowGap  ||\n|| `[0x00007fff8000, 0x00008fff6fff]` || LowShadow  ||\n|| `[0x000000000000, 0x00007fff7fff]` || LowMem     ||\nMemToShadow(shadow): 0x00008fff7000 0x000091ff6dff 0x004091ff6e00 0x02008fff6fff\nredzone=16\nmax_redzone=2048\nquarantine_size_mb=256M\nthread_local_quarantine_size_kb=1024K\nmalloc_context_size=30\nSHADOW_SCALE: 3\nSHADOW_GRANULARITY: 8\nSHADOW_OFFSET: 0x7fff8000\n==2460732==Installed the sigaction for signal 11\n==2460732==Installed the sigaction for signal 7\n==2460732==Installed the sigaction for signal 8\n==2460732==T0: FakeStack created: 0x7fd43d241000 -- 0x7fd43dd4a000 stack_size_log: 20; mmapped 11300K, noreserve=0 \n==2460732==T0: stack [0x7ffe73d21000,0x7ffe74521000) size 0x800000; local=0x7ffe74520c28\n==2460732==AddressSanitizer Init done\n==2461383==AddressSanitizer: failed to intercept '__cxa_throw'\n==2461383==AddressSanitizer: libc interceptors initialized\n|| `[0x10007fff8000, 0x7fffffffffff]` || HighMem    ||\n|| `[0x02008fff7000, 0x10007fff7fff]` || HighShadow ||\n|| `[0x00008fff7000, 0x02008fff6fff]` || ShadowGap  ||\n|| `[0x00007fff8000, 0x00008fff6fff]` || LowShadow  ||\n|| `[0x000000000000, 0x00007fff7fff]` || LowMem     ||\nMemToShadow(shadow): 0x00008fff7000 0x000091ff6dff 0x004091ff6e00 0x02008fff6fff\nredzone=16\nmax_redzone=2048\nquarantine_size_mb=256M\nthread_local_quarantine_size_kb=1024K\nmalloc_context_size=30\nSHADOW_SCALE: 3\nSHADOW_GRANULARITY: 8\nSHADOW_OFFSET: 0x7fff8000\n==2461383==Installed the sigaction for signal 11\n==2461383==Installed the sigaction for signal 7\n==2461383==Installed the sigaction for signal 8\n==2461383==T0: FakeStack created: 0x7feb8e014000 -- 0x7feb8eb1d000 stack_size_log: 20; mmapped 11300K, noreserve=0 \n==2461383==T0: stack [0x7ffce3772000,0x7ffce3f72000) size 0x800000; local=0x7ffce3f71778\n==2461383==AddressSanitizer Init done\nAddressSanitizer ignores mlock/mlockall/munlock/munlockall\n==2461393==AddressSanitizer: libc interceptors initialized\n|| `[0x10007fff8000, 0x7fffffffffff]` || HighMem    ||\n|| `[0x02008fff7000, 0x10007fff7fff]` || HighShadow ||\n|| `[0x00008fff7000, 0x02008fff6fff]` || ShadowGap  ||\n|| `[0x00007fff8000, 0x00008fff6fff]` || LowShadow  ||\n|| `[0x000000000000, 0x00007fff7fff]` || LowMem     ||\nMemToShadow(shadow): 0x00008fff7000 0x000091ff6dff 0x004091ff6e00 0x02008fff6fff\nredzone=16\nmax_redzone=2048\nquarantine_size_mb=256M\nthread_local_quarantine_size_kb=1024K\nmalloc_context_size=30\nSHADOW_SCALE: 3\nSHADOW_GRANULARITY: 8\nSHADOW_OFFSET: 0x7fff8000\n==2461393==Installed the sigaction for signal 11\n==2461393==Installed the sigaction for signal 7\n==2461393==Installed the sigaction for signal 8\n==2461393==T0: FakeStack created: 0x7f884e0d9000 -- 0x7f884ebe2000 stack_size_log: 20; mmapped 11300K, noreserve=0 \n==2461393==T0: stack [0x7fff4b1c2000,0x7fff4b9c2000) size 0x800000; local=0x7fff4b9c1878\n==2461393==AddressSanitizer Init done\nabort: No module named toml!\nerror: Command '['/data/users/wez/fbsource/fbcode/buck-out/dev/gen/scm/hg#binary/hg', 'debugedenrunpostupdatehook', '-R', PosixPath('/var/tmp/eden_test.wahpn1vx/mounts/main')]' returned non-zero exit status 255.\n"
```

into this:

```
...
> AddressSanitizer ignores mlock/mlockall/munlock/munlockall
> ==2492882==AddressSanitizer: libc interceptors initialized
> === How to use this, how to get the raw stack trace, and more: fburl.com/ASAN ===
> || `[0x10007fff8000, 0x7fffffffffff]` || HighMem    ||
> || `[0x02008fff7000, 0x10007fff7fff]` || HighShadow ||
> || `[0x00008fff7000, 0x02008fff6fff]` || ShadowGap  ||
> || `[0x00007fff8000, 0x00008fff6fff]` || LowShadow  ||
> || `[0x000000000000, 0x00007fff7fff]` || LowMem     ||
> MemToShadow(shadow): 0x00008fff7000 0x000091ff6dff 0x004091ff6e00 0x02008fff6fff
> redzone=16
> max_redzone=2048
> quarantine_size_mb=256M
> thread_local_quarantine_size_kb=1024K
> malloc_context_size=30
> SHADOW_SCALE: 3
> SHADOW_GRANULARITY: 8
> SHADOW_OFFSET: 0x7fff8000
> ==2492882==Installed the sigaction for signal 11
> ==2492882==Installed the sigaction for signal 7
> ==2492882==Installed the sigaction for signal 8
> ==2492882==T0: FakeStack created: 0x7fb0a02d5000 -- 0x7fb0a0dde000 stack_size_log: 20; mmapped 11300K, noreserve=0
> ==2492882==T0: stack [0x7ffc2f49a000,0x7ffc2fc9a000) size 0x800000; local=0x7ffc2fc99588
> ==2492882==AddressSanitizer Init done
> abort: No module named toml!
> error: Command '['/data/users/wez/fbsource/fbcode/buck-out/dev/gen/scm/hg#binary/hg', 'debugedenrunpostupdatehook', '-R', PosixPath('/var/tmp/eden_test.5v9750_4/mounts/main')]' returned non-zero exit status 255.
```

Reviewed By: genevievehelsel

Differential Revision: D18038964

fbshipit-source-id: cb93229ca37e7e9d08fa3335830782b8f9f69f99
2019-10-21 10:39:53 -07:00
Genevieve Helsel
ff45c84d5e refactor EdenMount diff function definitions and callsites
Summary: This makes a `diff()` function definition private inside EdenMount in order to solidify use of default parameters and to consolidate callsites.

Reviewed By: chadaustin

Differential Revision: D17962075

fbshipit-source-id: 2a6d4213f98828f4ebe0ba6db43211a96d1b2bc8
2019-10-21 10:18:32 -07:00
svcscm
fabe5d4ab9 Updating submodules
Summary:
GitHub commits:

c9d712c388

Reviewed By: yns88

fbshipit-source-id: f2bd1e6b49fb44e4145122db39b6cec85206f169
2019-10-21 10:18:32 -07:00
svcscm
09988e4816 Updating submodules
Summary:
GitHub commits:

d5ca07fd8f
0a37fb5cfa
eddca91ca3
5cb5dbeb4e
22d44c34bf
c85cb20c1d
2e917c1e22
b572b4d1cd

Reviewed By: yns88

fbshipit-source-id: a0496814c3cc08b11054e427f39a4ce0d77b7088
2019-10-21 04:37:03 -07:00
Wez Furlong
2471f855c2 getdeps: don't use fbsource hash in the simple shipit fetcher
Summary:
This avoids invalidating the entire build in response
to just running `hg amend`, which is frustrating and slow.

Reviewed By: chadaustin

Differential Revision: D18005409

fbshipit-source-id: ef93313859919298be78204046eb08bcadc5398e
2019-10-21 04:09:13 -07:00
svcscm
7c112efa92 Updating submodules
Summary:
GitHub commits:

a62d2e395a
ac8a0f520b

Reviewed By: yns88

fbshipit-source-id: 31fee2012c2fc12bd01cea9a60eb2f0a81e5eb54
2019-10-20 09:22:03 -07:00
svcscm
0e88221cc7 Updating submodules
Summary:
GitHub commits:

0dc1a11511

Reviewed By: yns88

fbshipit-source-id: 3d254e9994c6280717e19b56a5c73f59b5a53155
2019-10-19 18:22:41 -07:00
svcscm
884ae4b093 Updating submodules
Summary:
GitHub commits:

fd92b85c77
6e97b96831
c53db172a1
6066f4080c
0f7db99f74
af076ee05f

Reviewed By: yns88

fbshipit-source-id: 944e8b824f001aae3ef2f1eb9f748ae505cf8a7c
2019-10-18 17:40:36 -07:00
Chad Austin
824ffca08f refactor checkout futures
Summary:
The use of futures in the checkout code was a bit confusing. Before I
make further changes, refactor that.

Reviewed By: genevievehelsel

Differential Revision: D17985158

fbshipit-source-id: 26889ee85dc5704bc61347703dae370d4529d67b
2019-10-18 17:28:47 -07:00
svcscm
842eeb328e Updating submodules
Summary:
GitHub commits:

d9b854efd2
8ca90e272a

Reviewed By: yns88

fbshipit-source-id: fce9eec0035c126498d94e0299a99f892cd43686
2019-10-18 17:28:47 -07:00
svcscm
f6cb6c47f3 Updating submodules
Summary:
GitHub commits:

b538ebe672
dc705b2974

Reviewed By: yns88

fbshipit-source-id: 9d5c137fdcb8255e71084e5b986ff85480041f49
2019-10-18 13:58:03 -07:00
Joseph Friesen
921cc9d8a8 Merge TreeInode::create/mknod
Summary:
Refactor code to make Dispatch::create call TreeInode::mknod
and remove TreeInode::mknod, as it's redundant

Reviewed By: chadaustin

Differential Revision: D18002213

fbshipit-source-id: d0c73bbd6182226de54a49ef69b63b8fe7a8f9ee
2019-10-18 13:25:46 -07:00
svcscm
ce9647b32f Updating submodules
Summary:
GitHub commits:

615a44f04f

Reviewed By: yns88

fbshipit-source-id: ca24d4c01ddd31a8ecdd9043557c07b5bd55acc3
2019-10-18 13:21:00 -07:00
Puneet Kaushik
db849cfca1 Remove searchExpression DCHECK
Summary: Removing this DCHECK for the searchExpression because we can recieve requests for empty string and is a valid request.

Reviewed By: chadaustin

Differential Revision: D17985604

fbshipit-source-id: 40ffbe153a7ae44e85ed7d7ad7b2e79affb1d529
2019-10-18 12:39:09 -07:00
Puneet Kaushik
4db8a46102 Add Guid::toString() for multibyte string.
Summary: Added a multi-byte version of toString() for the guid class. Also renamed the existing toString() to toWString() which returns the widechar string for the GUID.

Reviewed By: chadaustin

Differential Revision: D17985500

fbshipit-source-id: fb3d976e39c0583122e47e3e444cf0f68e6a9544
2019-10-18 12:39:09 -07:00
Puneet Kaushik
6e1ab237d4 Call WSAStartup and fix the type information for the socket APIs
Summary:
The connect() API was erroring out when running with Python2 code, which could be because of missing type information. In this diff, we have explicitly declared the APIs with their type information.

Plus also calling WSAStartup to initialize the socket library before using winsock.

Reviewed By: chadaustin

Differential Revision: D17883242

fbshipit-source-id: b83a3994efca61eed0f2e621f1848b0a9f27fecf
2019-10-18 12:39:09 -07:00
Chad Austin
250c1b77cc remove the dead FileHandle class
Summary:
When we implemented FUSE_NO_OPEN_SUPPORT and FUSE_NO_OPENDIR_SUPPORT,
we forgot to remove the FileHandle and FileHandleBase code.

Reviewed By: pkaush

Differential Revision: D17991710

fbshipit-source-id: dfeb26d512f017cef7710929ccff1f6940cf8641
2019-10-18 12:17:43 -07:00
svcscm
2d3937cbd1 Updating submodules
Summary:
GitHub commits:

ed0f3dfc4f

Reviewed By: yns88

fbshipit-source-id: 545ae7384585ebfec93e67cd5efb68af51607cfc
2019-10-18 11:26:03 -07:00
Stefan Filip
288f780658 remove uniondatapackstore include from HgImporter
Summary: Removing an import that is not really used.

Reviewed By: pkaush

Differential Revision: D17997050

fbshipit-source-id: 7ba6a869937d51d640c72c22417a26fcf42c6ab3
2019-10-18 10:54:19 -07:00
svcscm
3c4f61c773 Updating submodules
Summary:
GitHub commits:

5ac00fbc92
e60cc0925c
ba59434fb0

Reviewed By: yns88

fbshipit-source-id: 74c17f318830ae7aed5a663f6f407d38f6fec261
2019-10-18 10:54:18 -07:00
svcscm
dd5969e10b Updating submodules
Summary:
GitHub commits:

60d455246a

Reviewed By: yns88

fbshipit-source-id: e098bb396ddd63040504d50156fbec053afc52c1
2019-10-18 03:24:06 -07:00
svcscm
d0df2737ce Updating submodules
Summary:
GitHub commits:

b728b4ac51
97a578dabb
a9e811bdc7
185282d1c6
e686e5de15
2c918fee3b
be1708e4f5
df06d5797f

Reviewed By: yns88

fbshipit-source-id: c9521877ef7a20f9eef3a3857b70b7b925bdfc29
2019-10-17 02:50:34 -07:00