mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [BUG] symlink problem with knfsd and reiserfs
  2002-01-15 11:50 ` Hans-Peter Jansen
@ 2002-01-15 14:07 Nikita Danilov
  2002-01-15 11:50 ` Hans-Peter Jansen
                   ` (2 more replies)
  1 sibling, 3 replies; 15+ messages in thread
From: Nikita Danilov @ 2002-01-15 14:07 UTC (permalink / raw)
  To: trond.myklebust
  Cc: Neil Brown, Hans-Peter Jansen, linux-kernel, Reiserfs mail-list

Trond Myklebust writes:
 > >>>>> " " == Hans-Peter Jansen <hpj@urpla.net> writes:
 > 
 >      > In syslog, this message appears: Jan 15 00:21:03 elfe kernel:
 >      > nfs_refresh_inode: inode 50066 mode changed, 0100664 to 0120777
 > 
 > The error is basically telling you that ReiserFS filehandles are being
 > reused by the server. Doesn't Reiser provide a generation count to
 > guard against this sort of thing?

Yes, inode->i_generation is stored in the file handle:
fs/reiserfs/inode.c:reiserfs_dentry_to_fh().

Hans-Peter, what version of NFS are you using and have you remounted
clients after upgrading to the newer kernel?

 > 
 > My 'fix' just solves the immediate problem of the wrong file mode. It
 > does not solve the problems of data corruption that can occur when the
 > client is incapable of distinguishing the 'old' and 'new' files that
 > share the same filehandle.

This requires i_generation overflow (modulo bug in reiserfs).

 > 
 > Cheers,
 >   Trond

Nikita.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2002-01-15 18:31 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-15 14:07 [BUG] symlink problem with knfsd and reiserfs Nikita Danilov
2002-01-15 11:50 ` Hans-Peter Jansen
2002-01-15 12:06   ` Trond Myklebust
2002-01-15 13:40     ` Trond Myklebust
2002-01-15 13:40   ` David L. Parsley
2002-01-15 15:27 ` Nikita Danilov
2002-01-15 15:38   ` Trond Myklebust
2002-01-15 16:47   ` Nikita Danilov
2002-01-15 16:31     ` Hans-Peter Jansen
2002-01-15 17:53     ` Nikita Danilov
2002-01-15 18:01       ` David L. Parsley
2002-01-15 18:14       ` Hans-Peter Jansen
2002-01-15 19:25       ` Nikita Danilov
2002-01-15 19:30       ` Nikita Danilov
2002-01-15 15:32 ` Hans-Peter Jansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®