Skip to content

Commit 7b2b67d

Browse files
axboebrauner
authored andcommitted
Revert "Disable FOP_DONTCACHE for now due to bugs"
This reverts commit 478ad02. Both the read and write side dirty && writeback races should be resolved now, revert the commit that disabled FOP_DONTCACHE for filesystems. Link: https://lore.kernel.org/linux-fsdevel/20250525083209.GS2023217@ZenIV/ Signed-off-by: Jens Axboe <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Christian Brauner <[email protected]>
1 parent 25b065a commit 7b2b67d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/fs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2207,7 +2207,7 @@ struct file_operations {
22072207
/* Supports asynchronous lock callbacks */
22082208
#define FOP_ASYNC_LOCK ((__force fop_flags_t)(1 << 6))
22092209
/* File system supports uncached read/write buffered IO */
2210-
#define FOP_DONTCACHE 0 /* ((__force fop_flags_t)(1 << 7)) */
2210+
#define FOP_DONTCACHE ((__force fop_flags_t)(1 << 7))
22112211

22122212
/* Wrap a directory iterator that needs exclusive inode access */
22132213
int wrap_directory_iterator(struct file *, struct dir_context *,

0 commit comments

Comments
 (0)