Skip to content

use read() for sequential reads on fd#31

Open
chzchzchz wants to merge 1 commit intochaos:masterfrom
chzchzchz:stream-read
Open

use read() for sequential reads on fd#31
chzchzchz wants to merge 1 commit intochaos:masterfrom
chzchzchz:stream-read

Conversation

@chzchzchz
Copy link

Some special files will complain when accessed with pread (e.g.,
relayfs will give "illegal seek"). To avoid these errors, ioctx
uses read() instead of pread() when sequentially reading from a file.

Some special files will complain when accessed with pread (e.g.,
relayfs will give "illegal seek"). To avoid these errors, ioctx
uses read() instead of pread() when sequentially reading from a file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant