Skip to contentSkip to conversation

writeback list

DISCUSSION Rajagopal Ananthanarayanan 2 participants 2 messages Jul 13, 2000 1 message not in the archive Memory management

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 8 lines · Rik van Riel

Hi Stephen,

we may have forgotten something in our new new vm design from last weekend. While we have the list head available to put pages in the writeback list, we don't have an entry in to put the timestamp of the write in struct_page...

Quoted 6 lines

Maybe we want to have an active list after all and replace the buffer_head pointer with a pointer to another structure that tracks the writeback stuff that's now tracked by the buffer head?

(things like: prev, next, write_time and a few other things)

Yes, maintaining time information in the page will be useful for XFS also. Basically, there are pages in the page cache without a particular block(s) assigned to the page ... these are the delayed allocate pages. Such pages don't have any buffer_heads associated with them, until the delalloc is converted.

It will be great if the delalloc pages can be somehow temporally ordered. The write-back list you propose seems to fit the bill nicely.

regards,

ananth.

Signature · 8 lines
--------------------------------------------------------------------------
Rajagopal Ananthanarayanan ("ananth")
Member Technical Staff, SGI.
--------------------------------------------------------------------------
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/
#2 lore raw
Quoted 11 lines · Rajagopal Ananthanarayanan
Quoted 9 lines · Rik van Riel

we may have forgotten something in our new new vm design from last weekend. While we have the list head available to put pages in the writeback list, we don't have an entry in to put the timestamp of the write in struct_page...

Maybe we want to have an active list after all and replace the buffer_head pointer with a pointer to another structure that tracks the writeback stuff that's now tracked by the buffer head?

Quoted 7 lines
Quoted 1 line

(things like: prev, next, write_time and a few other things)

Yes, maintaining time information in the page will be useful for XFS also. Basically, there are pages in the page cache without a particular block(s) assigned to the page ... these are the delayed allocate pages. Such pages don't have any buffer_heads associated with them, until the delalloc is converted.

Exactly, this is what the write-back list will be used for.

Quoted 3 lines

It will be great if the delalloc pages can be somehow temporally ordered. The write-back list you propose seems to fit the bill nicely.

To put it more strongly, the write-back list *needs* to be temporally ordered if we want to have a kupdate like we have today.

regards,

Rik
--
"What you're running that piece of shit Gnome?!?!"
-- Miguel de Icaza, UKUUG 2000

http://www.conectiva.com/ http://www.surriel.com/

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/