Commit Graph

15 Commits

Author SHA1 Message Date
Andres Suarez
25bec96f4c update to rust 1.64.0
Summary: https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html

Reviewed By: diliop, dtolnay

Differential Revision: D39825734

fbshipit-source-id: 4a789f2c24707fbc6a14b506448d405d5a60a53d
2022-09-27 15:18:58 -07:00
Stiopa Koltsov
500536c011 Apply rustfmt
Reviewed By: zertosh

Differential Revision: D38485039

fbshipit-source-id: d94657aa2a49e5606a91a8b28fbe3fa1711e1ac0
2022-08-06 09:10:10 -07:00
Stiopa Koltsov
87f2ed6a5c Apply rustfmt
Reviewed By: zertosh

Differential Revision: D37579616

fbshipit-source-id: 4c28b64adf99a945299d465ab12b536dc9c54dd3
2022-07-01 14:00:19 -07:00
Huapeng Zhou
a232791ef1 rust: update anyhow to 1.0.56
Summary:
Needed by cloud-hypervisor https://github.com/cloud-hypervisor/cloud-hypervisor/blob/main/Cargo.toml#L19.

(Note: this ignores all push blocking failures!)

Reviewed By: jsgf

Differential Revision: D34432496

fbshipit-source-id: deaa320c74a22e325a116bcc0d5b0120c4f3744b
2022-04-07 04:31:34 -07:00
Alex Hornby
f628e4793f remove generated thrift code and fix external CI (#26)
Summary:
Pull Request resolved: https://github.com/facebookexperimental/rust-shed/pull/26

Pull Request resolved: https://github.com/facebookexperimental/eden/pull/104

No need for the checked in generated code anymore

Successful external CI Linux run on Git Hub PR: https://github.com/facebookexperimental/eden/runs/5130405984?check_suite_focus=true

Mac PR run fails with a SSL cert issue, will look separately

Reviewed By: chadaustin, mitrandir77

Differential Revision: D33840545

fbshipit-source-id: eafc2a0e2191d438fd828adeebc2e318d319025f
2022-02-09 12:21:32 -08:00
Facebook Community Bot
20a78c4882 Re-sync with internal repository 2022-02-09 18:47:06 +00:00
Jun Wu
2a99866d7b codemod: update license headers
Summary:
The "Portions" license cannot be updated automatically. So this is a manual
update using:

  sd -s 'Portions Copyright (c) Facebook, Inc. and its affiliates.' 'Portions Copyright (c) Meta Platforms, Inc. and affiliates.' `rg -l Facebook`
  sd -s 'Copyright (c) Facebook, Inc. and its affiliates.' 'Copyright (c) Meta Platforms, Inc. and affiliates.' `rg -l Facebook`

Differential Revision: D33420114

fbshipit-source-id: 49ae00a7b62e3b8cc6c5dd839b3c104a75e72a56
2022-01-05 14:43:32 -08:00
Xavier Deguillard
dd6ae0b17c fsprobe: add write operations
Summary:
This will allow stress testing the write operations of EdenFS on Windows to
make sure that EdenFS can recover from out-of-order notifications.

Reviewed By: chadaustin

Differential Revision: D32210004

fbshipit-source-id: d74600a064986ddd501d65a7f18b820a089e98c7
2021-11-05 15:58:26 -07:00
David Tolnay
e6c5e4fcc6 Even more 2021 edition Cargo.tomls
Summary: Generated by `rg -g Cargo.toml 'edition = "2018"' -l | xargs sed 's/edition = "2018"/edition = "2021"/' -i`. I guess these are all the handwritten Cargo.tomls. I confirmed that `cargo autocargo` does not revert any of the changed files in this diff.

Reviewed By: aaronabramov

Differential Revision: D31832704

fbshipit-source-id: ac4ea947ae80d25911fa9eedf2951eeead9d5636
2021-10-21 19:39:32 -07:00
Andrey Chursin
a34c530606 fsprobe: change latency precision .2 -> .4
Summary: File access latency can actually be less then 1 ms, so it's good to show more digits

Reviewed By: DurhamG

Differential Revision: D30942905

fbshipit-source-id: 2fc8d48dbc08c55b89d829d1474ae11c2c3df1c3
2021-09-14 19:52:15 -07:00
Andrey Chursin
37bc911497 fsprobe: move main.rs outof bin
Summary:
In current location cargo build generates binary file with name 'main'.
Moving main.rs up makes it generate proper binary name 'fsprobe'

Reviewed By: DurhamG

Differential Revision: D29998232

fbshipit-source-id: b33ffb3ca7209a7e19ec15705ba03a31c0449447
2021-08-02 10:30:44 -07:00
Andrey Chursin
331b3d81f7 fsprobe: add --parallel
Summary:
This option allows to perfrom operations in parallel to test throughput
Using fairly simple approach of sending to first available worker to build parallelism. There is probably some crate that provides multi-consumer queue, but current implementation is likely sufficient for our purposes

Reviewed By: DurhamG

Differential Revision: D29997918

fbshipit-source-id: fe90b88b9c19546fefbb7643c5a8cd5ea8c565aa
2021-08-02 10:30:44 -07:00
Andrey Chursin
f3e4114186 fsprobe: implement sequential file reading test
Summary: This test reads files one by one and measures latency of reads

Reviewed By: kulshrax

Differential Revision: D29824745

fbshipit-source-id: abf73d4c279c184c2e76f2052304ea13c40e86b4
2021-07-23 10:09:25 -07:00
Andrey Chursin
ea75c06d58 fsprobe: read probe plan
Reviewed By: kulshrax

Differential Revision: D29824746

fbshipit-source-id: 40528a4408d7f682a1611b05c6ff788eee89a7d5
2021-07-22 16:12:19 -07:00
Andrey Chursin
b7f8d625bf fsprobe: add fsprobe crate
Summary: This utility will be used to measure latency and throughput of EdenFS

Reviewed By: kulshrax

Differential Revision: D29824747

fbshipit-source-id: f5298125bdaa16ccd52cb00a6bc3cd544c0967b7
2021-07-22 16:12:19 -07:00