From: BlaisorBlade <blaisorblade_spam@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] [BUG] host fd leak when using hostfs
Date: Mon, 14 Jun 2004 20:10:03 +0200 [thread overview]
Message-ID: <200406142010.03150.blaisorblade_spam@yahoo.it> (raw)
In-Reply-To: <40CB4074.30706@upb.de>
Alle 19:42, sabato 12 giugno 2004, Sven Köhler ha scritto:
> >>So this should be bug in hostfs, so that hostfs doesn't close files on
> >>the host if they are closed inside the UML. Is there a fix for that
> >>already?
> >
> > Try the attached patch (for 2.6 only!), but please be very careful...
> > there could be subtle pitfall in the VFS making it have other problems.
> > However I've well understood what is the difference between 2.4 and 2.6
> > which makes the difference.
> > What is your UML version? I got the same thing with 2.6.4 patch adapted
> > onto 2.6.6 (the 2.6.6-02 distributed on my page).
>
> I think i used 2.6.6-um1 from the official download-page. I should have
> mentioned that in my first POST.
Well, I think that the patch should apply since I don't see any change to
hostfs in the patches. I am convinced that HPPFS also suffers from this bug,
since it too, on 2.4, used the force_delete() trick; however the matter is
more interesting, since hppfs seem to NEVER close the host file. But I also
think that it should become another hostfs module soon.
> > for i in `find /mnt/usr/bin`; do cat $i >/dev/null; done
>
> i think even "find /mnt/usr/bin" would habe been sufficient to reproduce
> the problem.
Just checked, and as I thought, the answer is no. The problem happens only
when opening files.
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2004-06-15 2:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-03 23:27 [uml-devel] [BUG] "too many open files" when using hostfs Sven Köhler
[not found] ` <200406121932.43743.blaisorblade_spam@yahoo.it>
2004-06-12 17:42 ` [uml-devel] [BUG] host fd leak " Sven Köhler
[not found] ` <200406122014.47884.blaisorblade_spam@yahoo.it>
2004-06-12 18:10 ` Sven Köhler
2004-06-14 18:10 ` BlaisorBlade [this message]
2004-06-14 18:12 ` BlaisorBlade
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200406142010.03150.blaisorblade_spam@yahoo.it \
--to=blaisorblade_spam@yahoo.it \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox