tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: [simonb-wapbl] src/sys/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

Home | Main Index | Thread Index | Old Index