i_mapping and i_data question

From: Tigran Aivazian (tigran@sco.COM)
Date: Fri Feb 25 2000 - 04:10:01 EST


I want to understand this new address_space stuff, so my question is this:

Imagine I want to invalidate all the pages (data and metadata)
corresponding to a given inode, so next io on this inode will guarantee to
call the get_block() fs-specific method. I guess I need to go through the
'pages' list of inode->i_mapping and inode->i_data under the cover of
i_shared_lock and 'invalidate' each page. But how? Any clues?

Tigran A. Aivazian | http://www.sco.com
Escalations Research Group | tel: +44-(0)1923-813796
Santa Cruz Operation Ltd | http://www.ocston.org/~tigran

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:12 EST