Skip to content

Commit

Permalink
Improve VFS performance
Browse files Browse the repository at this point in the history
hostfs operations now do not abuse dup, openat, and close syscalls.
This doubles the performance of hostfs operations.

Also fixes some errors of the `./configure` script on Cygwin.
  • Loading branch information
trungnt2910 committed Mar 8, 2023
1 parent feacecd commit dbf95b1
Show file tree
Hide file tree
Showing 5 changed files with 189 additions and 126 deletions.
4 changes: 4 additions & 0 deletions blink/errno.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,7 @@ long eloop(void) {
long exdev(void) {
return ReturnErrno(EXDEV);
}

long enametoolong(void) {
return ReturnErrno(ENAMETOOLONG);
}
1 change: 1 addition & 0 deletions blink/errno.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ long eisdir(void);
long eexist(void);
long eloop(void);
long exdev(void);
long enametoolong(void);

#endif /* BLINK_ERRNO_H_ */
Loading

0 comments on commit dbf95b1

Please sign in to comment.