Commit Graph

15 Commits

Author SHA1 Message Date
gVisor bot 4ba86e6258 Merge pull request #3989 from jinmouil:feature/fuse-fix
PiperOrigin-RevId: 332548335
2020-09-18 16:23:18 -07:00
Jinmou Li 9a06a1a160 fuse: update design doc with I/O implementation 2020-09-18 20:13:24 +00:00
gVisor bot ae59e52979 Merge pull request #3934 from avagin:feature/fuse
PiperOrigin-RevId: 332122081
2020-09-16 17:12:57 -07:00
Jinmou Li 5c080f07de Update fuse.md design doc with design details 2020-09-16 12:22:17 -07:00
Andrei Vagin f148242aba Revert "fuse: add benchmarking support for FUSE"
test/fuse/benchmark/read_benchmark.cc:34: Failure
Expected: (fuse_prefix) != (nullptr), actual: NULL vs (nullptr)
external/com_google_benchmark/src/benchmark_runner.cc:120: RunInThread:
Check `st.iterations() >= st.max_iterations' failed. Benchmark returned
before State::KeepRunning() returned false!
--- FAIL: Benchmarks_BM_Read/262144/real_time (0.29s)
    runner.go:502: test "Benchmarks.BM_Read/262144/real_time" failed
    with error exit status 134, want nil
FAIL
2020-09-16 12:22:17 -07:00
Boyuan He & Ridwan Sharif cb9a2a1ad4 fuse: add benchmarking support for FUSE
This change adds the following:
-  Add support for containerizing syscall tests for FUSE
-  Mount tmpfs in the container so we can run benchmarks against it
-  Run the server in a background process
-  benchmarks for fuse syscall

Co-authored-by: Ridwan Sharif <ridwanmsharif@google.com>
2020-09-16 12:19:30 -07:00
Ridwan Sharif 5173c96021 Add some detail to milestone #1
This change adds more information about what needs to be done
to implement `/dev/fuse`
2020-06-02 22:13:21 +00:00
gVisor bot 2fe14b484a Merge pull request #2792 from avagin:g3doc/fuse/refs
PiperOrigin-RevId: 313600051
2020-05-28 09:21:31 -07:00
Andrei Vagin 17d500f907 g3doc/fuse: add more references 2020-05-27 10:16:09 -07:00
gVisor bot 8e2c5d951e Merge pull request #2751 from mrahatm:fuse
PiperOrigin-RevId: 313300882
2020-05-26 17:50:13 -07:00
Rahat Mahmood 7938d87348 Write initial design doc for FUSE. 2020-05-26 19:32:49 -04:00
gVisor bot bc3a24d627 Internal change.
PiperOrigin-RevId: 292587459
2020-01-31 13:19:42 -08:00
Adin Scannell 753da9604e Remove map from fd_map, change to fd_table.
This renames FDMap to FDTable and drops the kernel.FD type, which had an entire
package to itself and didn't serve much use (it was freely cast between types,
and served as more of an annoyance than providing any protection.)

Based on BenchmarkFDLookupAndDecRef-12, we can expect 5-10 ns per lookup
operation, and 10-15 ns per concurrent lookup operation of savings.

This also fixes two tangential usage issues with the FDMap. Namely, non-atomic
use of NewFDFrom and associated calls to Remove (that are both racy and fail to
drop the reference on the underlying file.)

PiperOrigin-RevId: 256285890
2019-07-02 19:28:59 -07:00
Adin Scannell add40fd6ad Update canonical repository.
This can be merged after:
https://github.com/google/gvisor-website/pull/77
  or
https://github.com/google/gvisor-website/pull/78

PiperOrigin-RevId: 253132620
2019-06-13 16:50:15 -07:00
Googler d02b74a5dc Check in gVisor.
PiperOrigin-RevId: 194583126
Change-Id: Ica1d8821a90f74e7e745962d71801c598c652463
2018-04-28 01:44:26 -04:00