lkml.org 
[lkml]   [2000]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: i_mapping and i_data question
On Fri, 25 Feb 2000, Tigran Aivazian wrote:

> Hi,
>
> 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)
~~~~~~~~

I meant data only, for metadata it is just plain mark_inode_dirty() thing,
of course. But the rest of the question is still interesting...

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


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

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:4.007 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site