lkml.org 
[lkml]   [1999]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Handling file forks in page cache?
On Fri, Jul 23, 1999 at 09:38:14PM -0400, allbery@kf8nh.apk.net wrote:

> On 23 Jul, Steve Dodd wrote:
> +-----
> | come up with a problem: how to handle file forks in the page cache? (`file
> +--->8
>
> The HPFS driver doesn't handle EAs; the HFS driver doesn't, to my
> knowledge, handle resource forks; why should the NTFS driver do
> anything with non-data streams?

The non-data streams contain meta-data that is needed (directory indices,
for example). I would just read them through the buffer cache, but a lot of
the structures can and do exceed the block (cluster) size. Rather than reading
the things through the buffer cache and then allocating more kernel memory to
reassemble them in, it makes sense to allocate a page and create buffer_heads
that map to it. This doesn't provide any caching, so one of the options is to
try and handle them through the page cache.

--
"Damn and blast British Telecom!" exclaimed Dirk, the words
coming easily from force of habit.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.049 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site