| From | Sent On | Attachments |
|---|---|---|
| Zhiui Zhang | Feb 6, 2001 1:15 pm | |
| Sam Leffler | Feb 6, 2001 1:46 pm | |
| Alfred Perlstein | Feb 6, 2001 1:52 pm | |
| Zhiui Zhang | Feb 6, 2001 6:20 pm | |
| Terry Lambert | Feb 7, 2001 1:47 pm | |
| Jack Rusher | Feb 7, 2001 1:56 pm | |
| Terry Lambert | Feb 7, 2001 2:09 pm | |
| Terry Lambert | Feb 7, 2001 3:22 pm | |
| Zhiui Zhang | Feb 7, 2001 3:39 pm | |
| Russell Cattelan | Feb 8, 2001 11:05 pm | |
| Russell Cattelan | Feb 8, 2001 11:12 pm | |
| Terry Lambert | Feb 9, 2001 12:56 am | |
| Zhiui Zhang | Feb 9, 2001 9:24 am | |
| Russell Cattelan | Feb 9, 2001 10:08 am | |
| Karsten W. Rohrbach | Feb 9, 2001 11:23 am | |
| Russell Cattelan | Feb 9, 2001 11:37 am | |
| Julian Elischer | Feb 9, 2001 11:58 am | |
| Russell Cattelan | Feb 12, 2001 11:37 am | |
| Zhiui Zhang | Feb 12, 2001 12:34 pm | |
| Russell Cattelan | Feb 12, 2001 12:50 pm | |
| Zhiui Zhang | Feb 12, 2001 1:21 pm | |
| Terry Lambert | Feb 12, 2001 3:06 pm | |
| Zhiui Zhang | Feb 12, 2001 4:27 pm | |
| Russell Cattelan | Feb 12, 2001 4:49 pm | |
| Adrian Chadd | Feb 13, 2001 2:07 am | |
| Russell Cattelan | Feb 15, 2001 1:50 pm | |
| Robert Clark | Feb 20, 2001 7:27 pm | |
| Terry Lambert | Feb 20, 2001 8:03 pm | |
| Russell Cattelan | Feb 20, 2001 11:23 pm | |
| Daniel C. Sobral | Feb 26, 2001 3:51 am | |
| Terry Lambert | Feb 26, 2001 5:31 am | |
| Terry Lambert | Feb 26, 2001 5:34 am | |
| Jamie Bowden | Feb 26, 2001 7:35 am | |
| Bill Vermillion | Feb 26, 2001 9:55 am | |
| Daniel C. Sobral | Feb 26, 2001 11:17 am | |
| Brad Knowles | Feb 26, 2001 11:41 am | |
| Terry Lambert | Feb 26, 2001 7:42 pm | |
| Terry Lambert | Feb 26, 2001 7:46 pm | |
| Daniel O'Connor | Feb 26, 2001 7:51 pm | |
| Terry Lambert | Feb 26, 2001 8:06 pm | |
| Jonathan Lemon | Feb 26, 2001 8:11 pm | |
| Daniel O'Connor | Feb 26, 2001 8:12 pm | |
| Brett Glass | Feb 26, 2001 8:16 pm | |
| Terry Lambert | Feb 26, 2001 10:20 pm | |
| Daniel C. Sobral | Feb 27, 2001 12:29 am | |
| Doug Rabson | Feb 27, 2001 1:45 am | |
| Doug Rabson | Feb 27, 2001 1:46 am | |
| Jonathan Lemon | Feb 27, 2001 6:46 am | |
| Bill Vermillion | Feb 27, 2001 7:18 am | |
| Brad Knowles | Feb 27, 2001 9:48 am | |
| Peter Wemm | Feb 27, 2001 10:43 am | |
| Terry Lambert | Feb 27, 2001 11:44 am | |
| Terry Lambert | Feb 27, 2001 12:19 pm | |
| Rik van Riel | Feb 27, 2001 12:41 pm | |
| Terry Lambert | Feb 27, 2001 11:13 pm | |
| Russell Cattelan | Feb 28, 2001 3:49 pm | |
| Karsten W. Rohrbach | Mar 24, 2001 8:07 pm | |
| Coleman Kane | Mar 26, 2001 9:15 am | |
| Karsten W. Rohrbach | Mar 26, 2001 10:00 am |
| Subject: | Re: Design a journalled file system | |
|---|---|---|
| From: | Karsten W. Rohrbach (kars...@rohrbach.de) | |
| Date: | Feb 9, 2001 11:23:14 am | |
| List: | org.freebsd.freebsd-fs | |
there was a post last year to either -fs or -hackers that described the use of a single disk or block device for logging all writes and committing them afterwards. i think it was presented at usenic last year or 99. can't find it now - please check the mailing list archives. /k
Zhiui Zhang(zzh...@cs.binghamton.edu)@Tue, Feb 06, 2001 at 04:15:45PM -0500:
I am considering the design of a journalled file system in FreeBSD. I think each transaction corresponds to a file system update operation and will therefore consists of a list of modified buffers. The important thing is that these buffers should not be written to disk until they have been logged into the log area. To do so, we need to pin these buffers in memory for a while. The concept should be simple, but I run into a problem which I have no idea how to solve it:
If you access a lot of files quickly, some vnodes will be reused. These vnodes can contain buffers that are still pinned in the memory because of the write-ahead logging constraints. After a vnode is gone, we have no way to recover its buffers. Note that whenever we need a new vnode, we are in the process of creating a new file. At this point, we can not flush the buffers to the log area. The result is a deadlock.
I could make copies of the buffers that are still pinned, but that incurs memory copy and need buffer headers, which is also a rare resource.
The design is similar to ext3fs of linux (they do not seem to have a vnode layer and they use device + physical block number instead of vnode + logical block number to index buffers, which, I guess, means that buffers can exist after the inode is gone). I know Mckusick has a paper on journalling FFS, but I just want to know if this design can work or not.
Any ideas? Thanks for your help!
-Zhihui
To Unsubscribe: send mail to majo...@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message
--
Booze is the answer. I don't remember the question.
KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de
To Unsubscribe: send mail to majo...@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message





