Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ptfs: refine the way to support O_DIRECT
We have special support of the O_DIRECT flag, but the implementation has race conditions due to `Time To Check & Time To Use` issues. So refine the implementation by using a RwLock. Signed-off-by: Jiang Liu <[email protected]>
- Loading branch information