Skip to contentSkip to conversation

inode->i_dirty_buffers redundant ?

DISCUSSION V Ganesh 3 participants 3 messages Jan 24, 2001

lore
Share & tools
lore

V Ganesh

author
#0 lore raw

now that we have inode->i_mapping->dirty_pages, what do we need inode->i_dirty_buffers for ? I understand the latter was added for the O_SYNC changes before dirty_pages came into the picture. but now both seem to be doing more or less the same thing.

ganesh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Quoted 4 lines · V Ganesh

now that we have inode->i_mapping->dirty_pages, what do we need inode->i_dirty_buffers for ? I understand the latter was added for the O_SYNC changes before dirty_pages came into the picture. but now both seem to be doing more or less the same thing.

inode->i_mapping->dirty_pages contains only mapped data pages of the inode, not metadata.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/