From: Martin Dalecki <dalecki@evision-ventures.com>
To: Marko Kohtala <Marko.Kohtala@nokia.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Removable IDE devices problem
Date: Fri, 08 Mar 2002 13:01:41 +0100 [thread overview]
Message-ID: <3C88A825.40000@evision-ventures.com> (raw)
In-Reply-To: <3C8895A9.9090705@nokia.com>
Marko Kohtala wrote:
> > Your analysis of the problem is entierly right, since the current
> > kernel behaviour for removable media is supposed to work for
> > floppies (never get this thing out of your computer
> > as long as long the diode blinks) or read only media where it doesn't
> > really matter. However I still don't see a good way to
> > resolve this issue. (Maybe just adding buffer cache flush before
> > going into the check_media_change business of "grocking" partitions
> > would be sufficient...
>
> But there is ide-floppy and ide-cd with their own media_check functions.
>
> I'm thinking about ignoring the removable bit, at least when the device
> does not have door lock. What would be hurt by it?
I have currently already just compared the ways invalidate_device() is
used in different linux block device drivers. And guess what... The way
it get's currently used in ide code are bogous. This will changed soon
and should help your problems. (Soon means - if the weather doesn't
remain good over this weekend ;-). However please feel free to have a
look after this yourself.
next prev parent reply other threads:[~2002-03-08 12:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-08 10:42 Removable IDE devices problem Marko Kohtala
2002-03-08 12:01 ` Martin Dalecki [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-03-06 16:57 marko.kohtala
2002-03-06 17:13 ` Martin Dalecki
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=3C88A825.40000@evision-ventures.com \
--to=dalecki@evision-ventures.com \
--cc=Marko.Kohtala@nokia.com \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox