[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250626173023.2702554-5-frank.li@vivo.com>
Date: Thu, 26 Jun 2025 11:30:23 -0600
From: Yangtao Li <frank.li@...o.com>
To: axboe@...nel.dk,
aivazian.tigran@...il.com,
viro@...iv.linux.org.uk,
brauner@...nel.org,
jack@...e.cz,
linkinjeon@...nel.org,
sj1557.seo@...sung.com,
yuezhang.mo@...y.com,
slava@...eyko.com,
glaubitz@...sik.fu-berlin.de,
frank.li@...o.com,
shaggy@...nel.org,
konishi.ryusuke@...il.com,
almaz.alexandrovich@...agon-software.com,
me@...copeland.com,
willy@...radead.org,
josef@...icpanda.com,
kovalev@...linux.org,
dave@...olabs.net,
mhocko@...e.com,
chentaotao@...iglobal.com
Cc: linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org,
linux-ext4@...r.kernel.org,
jfs-discussion@...ts.sourceforge.net,
linux-nilfs@...r.kernel.org,
ntfs3@...ts.linux.dev,
linux-karma-devel@...ts.sourceforge.net,
bpf@...r.kernel.org
Subject: [PATCH 4/4] hfs: enable uncached buffer io support
Now cont_write_begin() support DONTCACHE mode, let's set FOP_DONTCACHE
flag to enable uncached buffer io support for hfs.
Signed-off-by: Yangtao Li <frank.li@...o.com>
---
fs/hfs/inode.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c
index 8409e4412366..a62f45e9745d 100644
--- a/fs/hfs/inode.c
+++ b/fs/hfs/inode.c
@@ -695,6 +695,7 @@ static const struct file_operations hfs_file_operations = {
.fsync = hfs_file_fsync,
.open = hfs_file_open,
.release = hfs_file_release,
+ .fop_flags = FOP_DONTCACHE,
};
static const struct inode_operations hfs_file_inode_operations = {
--
2.48.1
Powered by blists - more mailing lists