gvisor/runsc/fsgofer
Fabricio Voznika 1b10f52d59 Remember file position during Readdir()
The caller must call Readdir() at least twice to detect
EOF. The old code was always restarting the directory
search and then skipping elements already seen, effectively
doubling the cost to read a directory. The code now
remembers the last offset and doesn't reposition the cursor
if next request comes at the same offset.

PiperOrigin-RevId: 244957816
Change-Id: If21a8dc68b76614adbcf4301439adfda40f2643f
2019-04-23 17:34:51 -07:00
..
filter Remove license comments 2019-01-31 11:12:53 -08:00
BUILD Remove license comments 2019-01-31 11:12:53 -08:00
fsgofer.go Remember file position during Readdir() 2019-04-23 17:34:51 -07:00
fsgofer_test.go Automated rollback of changelist 240657604 2019-04-01 17:30:11 -07:00
fsgofer_unsafe.go Make lazy open the mode of operation for fsgofer 2018-10-31 11:28:27 -07:00