From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryan Ding Date: Tue, 04 Aug 2015 14:16:54 +0800 Subject: [Ocfs2-devel] [PATCH 0/9 v6] ocfs2: support append O_DIRECT write Message-ID: <55C058D6.9030809@oracle.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ocfs2-devel@oss.oracle.com Hi Joseph, Sorry for bothering you with the old patches. But I really need to know what this patch is for. https://oss.oracle.com/pipermail/ocfs2-devel/2015-January/010496.html From above email archive, you mentioned those patches aim to reduce the host page cache consumption. But in my opinion, after append direct io, the page used for buffer is clean. System can realloc those cached pages. We can even call invalidate_mapping_pages to fast that process. Maybe more pages will be needed during direct io. But direct io size can not be too large, right? Thanks, Ryan