Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111035602
D10434.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
598 B
Referenced Files
None
Subscribers
None
D10434.diff
View Options
Index: sys/fs/fuse/fuse_node.c
===================================================================
--- sys/fs/fuse/fuse_node.c
+++ sys/fs/fuse/fuse_node.c
@@ -272,8 +272,6 @@
/*
* Funcation is called for every vnode open.
* Merge fuse_open_flags it may be 0
- *
- * XXXIP: Handle FOPEN_KEEP_CACHE
*/
/*
* Ideally speaking, direct io should be enabled on
@@ -293,6 +291,8 @@
VTOFUD(vp)->flag |= FN_DIRECTIO;
fuse_io_invalbuf(vp, td);
} else {
+ if ((fuse_open_flags & FOPEN_KEEP_CACHE) == 0)
+ fuse_io_invalbuf(vp, td);
VTOFUD(vp)->flag &= ~FN_DIRECTIO;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 27, 12:41 PM (19 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16868705
Default Alt Text
D10434.diff (598 B)
Attached To
Mode
D10434: fuse: Implement FOPEN_KEEP_CACHE flag
Attached
Detach File
Event Timeline
Log In to Comment