lkml.org 
[lkml]   [1999]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: invalidate inode given block?
Date
"A month of sundays ago Alexander Viro wrote:"
> On Mon, 13 Dec 1999, Peter T. Breuer wrote:
>
> > Is there a simple way of telling a file system that it needs to revise
> > its opinion about an inode? I plan to sneak a change underneath on
> > disk, find the inode it belongs to, and invalidate it.

> Details, please. Change what? Contents of the file, inode type, ownership,
> other metadata? Answer really depends.

Any of the above, eventually. All I might know is that a block on disk
has changed, and yes, I see what you are on about. I will know that the
changes are consistent from a file system point of view. They will have
been caused by a file system operation in a remote computer miraculously
sharing the same underlying device. There isn't a write mutex right
now, but there will be. I'm just looking around to see if I can get
away without communicating higher-level info.

As a first approximation, say "contents of file". Your answer rather
leads me to suppose that that at least is possible. (Being a good idea
is another question).

Thanks for the response.

Peter

-
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:55    [W:0.061 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site