Re: inode->i_dirty_buffers redundant ?

Marcelo Tosatti
2001-01-24T10:59:55Z

On Wed, 24 Jan 2001, V Ganesh wrote:

> 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.