[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XFS and O_STREAMING




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