Re: [Yaffs] [YAFFS] NFS export with YAFFS2 (continued)

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Henrik Grindal Bakken
Date:  
To: yaffs
Subject: Re: [Yaffs] [YAFFS] NFS export with YAFFS2 (continued)
Charles Manning <> writes:

[nfs patch]

> Thanks Jean-Loup.
>
> After a bit of fiddling around I was able to apply this. I made a
> few changes to formatting etc.
>
> I did some rudimentary testing (read/write, ls,...) and it seems to
> work. I'll test it with fsx etc.
>
> The changes have been applied to git.
> http://yaffs.net/gitweb?p=yaffs2/.git;a=summary


Hi, Charles. I've been testing this nfs patch a bit, and I have one
problem in my setup. This might be related to other parts than
yaffs2, but then again, it could be a yaffs bug.

When I export a yaffs2 filesystem with the kernel-space nfs daemon, I
cannot seem to umount the filesystem, even though rpc.nfsd and friends
have been terminated.

I can see an [nfsd] process (i.e. kernel thread), which I believe
might be the culprit. No other processes have any files on my file
system open, no other processes have /proc/pid/{cwd,root} pointing to
the yaffs mount point.

Have you tested this bit? It seems like some kernel-side resources
might not be properly released when we unexport the file system.


--
Henrik Grindal Bakken <>
PGP ID: 8D436E52
Fingerprint: 131D 9590 F0CF 47EF 7963 02AF 9236 D25A 8D43 6E52