Skip to content

Commit

Permalink
ptfs: refine the way to support O_DIRECT
Browse files Browse the repository at this point in the history
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
jiangliu committed Nov 15, 2023
1 parent cc0a191 commit 77d506d
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 77d506d

Please sign in to comment.