xfs
[Top] [All Lists]

linvfs_get_dentry patch for 2.5.44

To: linux-xfs@xxxxxxxxxxx
Subject: linvfs_get_dentry patch for 2.5.44
From: Kazuhisa TAKEI <takei@xxxxxxxxxxx>
Date: Mon, 28 Oct 2002 11:51:50 +0900
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigoryōmae) APEL/10.3 Emacs/21.2 (i386-vine-linux-gnu) MULE/5.0 (SAKAKI)
Hi

this patch add linvfs_get_dentry  to linvfs_set_inode_ops.  

in 2.5.44 XFS's kernel 
when dentry is not cached , if detnry is searched  using find_export_dentry  
knfsd will do Oops. 
this probrem's is the only using NFS.
This patch define linvfs_get_dentry and it avoid to perform read_inode.
Probrem don't occur if  read_inode was  defined.
Are There reason of removing linvfs_read_inode ? 


following is Oops case.


Test Case:

1. server export
server side:
  # mount -o xfs /dev/sdb1 /testexport
  # mkdir -k  /testexport/a/b/c
  # exportfs nfsserver:/test

2. mounting in mounting
client side:
  # mount nfsserver:/testexport /mounttest
  # cd /mounttest/a/b/c

3. reboot server and restart knfsd.
  ( dont umound in client side)
4. perform 'ls' cmd in client side
  # ls  
  
5. print Oops in Serverside.  

Regards.

---
Kazuhisa TAKEI

Attachment: xfs-linux25-export.diff
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>