src: add sync trace to fs
Add sync trace to fs operations which is enabled by the node.fs.sync trace event category. Also add a general test js file to verify all operations.
Checklist
- [x ]
make -j4 test
(UNIX), orvcbuild test
(Windows) passes - [x ] tests and/or benchmarks are included
- [x ] commit message follows commit guidelines