xfs
[Top] [All Lists]

XFS and O_STREAMING

To: linux-xfs@xxxxxxxxxxx
Subject: XFS and O_STREAMING
From: "Buzbee, James" <James.Buzbee@xxxxxxxxxxxx>
Date: Mon, 09 Dec 2002 11:01:22 -0700
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

I've been looking at Robert Love's O_STREAMING patch for the kernel :

http://www.kernel.org/pub/linux/kernel/people/rml/O_STREAMING/v2.4/O_STREAMING-rml-2.4.20-pre9-1.patch

I find that it doesn't quite work as expected with XFS. It patches the generic_file_read/write routines to drop pages from cache list when a file is marked as O_STREAMING, but it appears to me as if XFS doesn't use the generic_file_write routine, but has its own version.

I have a few questions. First, does this patch make sense for XFS? Could XFS's version of the generic_file_write routine be patched the same way? Or perhaps there is an equivalent way to accomplish the same thing using standard XFS.


Jim




<Prev in Thread] Current Thread [Next in Thread>