From: Sven Eisenberg <sven.eisenberg@novero.com>
To: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: Data not freed after remove?
Date: Fri, 3 Jun 2016 10:16:29 +0200 [thread overview]
Message-ID: <57513CDD.8090006@novero.com> (raw)
In-Reply-To: <CAFLxGvxZS_aqoR059M3aE9zz+TZ-VNhh9vpMNRJYL-97ZFrgZA@mail.gmail.com>
Hi Richard and all
On 01.06.2016 13:55, Richard Weinberger wrote:
> ...
> What is the return code of mount()?
>
> > Is there any reason/bug known that would cause this behavior?
>
> Hmm, I don't know.
>
> > I know this can happen, when there i an open filedescriptor to the file.
> > So i verified and this is not the case for me.
>
> Yes, remount can fail if the volume is busy. That's why i wonder what
> the return code is.
Yes the volume is busy:
mount -o remount,ro /mnt/point = -1 EBUSY (Device or resource busy)
I could not yet identify why it is in busy state.
I added some code to check for open file descriptors. I built a test
application which simulates the sequence. But it runs without a problem.
Can i get informations from the kernel, what file or state causes the
busy state?
br, Sven Eisenberg
next prev parent reply other threads:[~2016-06-03 8:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-01 11:35 Data not freed after remove? Sven Eisenberg
[not found] ` <CAFLxGvxZS_aqoR059M3aE9zz+TZ-VNhh9vpMNRJYL-97ZFrgZA@mail.gmail.com>
2016-06-03 8:16 ` Sven Eisenberg [this message]
2016-06-14 16:17 ` Richard Weinberger
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=57513CDD.8090006@novero.com \
--to=sven.eisenberg@novero.com \
--cc=linux-mtd@lists.infradead.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.