fa.netbsd.tech.kern
[Top] [All Lists]

Re: CVS commit: [simonb-wapbl] src/sys/kern

Subject: Re: CVS commit: [simonb-wapbl] src/sys/kern
From: Jason Thorpe <thorpej@xxxxxxxxxxxxxx>
Date: Tue, 29 Jul 2008 15:53:29 UTC
Newsgroups: fa.netbsd.tech.kern



On Jul 29, 2008, at 6:01 AM, Andrew Doran wrote:

- Adopting a producer-consumer model where journal writeback is handled by a
 kthread would remove the need for the rwlock. It could be done by
maintaining transaction sequence numbers. For example, each in-core inode
 could contain a record of the last transaction made and the kthread a
global sequence number indicating the last transaction that is known to be
 in stable storage.


Yah, that sounds like a good solution.

-- thorpej


<Prev in Thread] Current Thread [Next in Thread>