Messages in this thread | | | Date | Sat, 24 Jul 1999 03:28:06 +0100 | From | Steve Dodd <> | Subject | Re: 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/
| |