Skip to contentSkip to conversation

General filesystem cache

PATCH Linus Torvalds 4 participants 6 messages Jul 19, 2003 – Jul 20, 2003 1 message not in the archive VFS

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 8 lines · David Howells

Here's a patch to add a quasi-filesystem ("CacheFS") that turns a block device into a general cache for any other filesystem that cares to make use of its facilities.

This is primarily intended for use with my AFS filesystem, but I've designed it such that it needs to know nothing about the filesystem it's backing, and so it may also be useful for NFS, SMB and ISO9660 for example.

Ok. Sounds good. In fact, it's something I've wanted for a while, since it's also potentially the solution to performance-critical things like virtual filesystems based on revision control logic etc (traditionally done with fake NFS servers).

I did a very very quick scan, and didn't see anything that raised my hackles. But it's late in the 2.6.x game, and as a result I'm not going to apply it until I get a lot of feedback from actual users too.

Linus

#2 lore raw

Is it a file system or a patch to the VFS? I love to see this patch. It is quite useful for me. Is it available for 2.4?

David Chow

Quoted 18 lines · Linus Torvalds
Quoted 9 lines · David Howells

Here's a patch to add a quasi-filesystem ("CacheFS") that turns a block device into a general cache for any other filesystem that cares to make use of its facilities.

This is primarily intended for use with my AFS filesystem, but I've designed it such that it needs to know nothing about the filesystem it's backing, and so it may also be useful for NFS, SMB and ISO9660 for example.

Ok. Sounds good. In fact, it's something I've wanted for a while, since it's also potentially the solution to performance-critical things like virtual filesystems based on revision control logic etc (traditionally done with fake NFS servers).

I did a very very quick scan, and didn't see anything that raised my hackles. But it's late in the 2.6.x game, and as a result I'm not going to apply it until I get a lot of feedback from actual users too.

#3 lore raw
Quoted 3 lines

Is it a file system or a patch to the VFS? I love to see this patch. It is quite useful for me. Is it available for 2.4?

Not yet. There are plans to backport it at some point - possibly by me though I may be able to twist Jeff Garzik's arm sufficiently that he'll do the work.

David

#4 lore raw
In reply to Linus Torvalds
Quoted 6 lines · Linus Torvalds
Quoted 4 lines · David Howells

Here's a patch to add a quasi-filesystem ("CacheFS") that turns a block device into a general cache for any other filesystem that cares to make use of its facilities.

Quoted 6 lines
Quoted 3 lines

This is primarily intended for use with my AFS filesystem, but I've designed it such that it needs to know nothing about the filesystem it's backing, and so it may also be useful for NFS, SMB and ISO9660 for example.

Ok. Sounds good. In fact, it's something I've wanted for a while, since it's also potentially the solution to performance-critical things like virtual filesystems based on revision control logic etc (traditionally done with fake NFS servers).

I've been pushing David to keep it general enough to work for NFS, which has been a long term goal of mine... (and it appears my nagging worked)

Thanks David!

Jeff

#5 lore raw
Quoted 3 lines

I've been pushing David to keep it general enough to work for NFS, which has been a long term goal of mine... (and it appears my nagging worked)

Didn't require any nagging on your part. By the way, can I nag you in return into backporting to 2.4? :-)

David

#6 lore raw
In reply to Linus Torvalds
Quoted 5 lines

Ok. Sounds good. In fact, it's something I've wanted for a while, since it's also potentially the solution to performance-critical things like virtual filesystems based on revision control logic etc (traditionally done with fake NFS servers).

It really does make a difference to my AFS client:-)

Quoted 3 lines

I did a very very quick scan, and didn't see anything that raised my hackles. But it's late in the 2.6.x game, and as a result I'm not going to apply it until I get a lot of feedback from actual users too.

I can understand that... I've been developing it on and off for a while (it has had to take the backseat to other things unfortunately, depending on RH's whims).

BTW, will you be at OLS? I'm only going to that not being invited to the KS (though David Woodhouse has my mobile number;-).

David