public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* media removed indication!
@ 2004-04-02 12:38 Jinu M.
  2004-04-03 21:25 ` Matt Gulick
  0 siblings, 1 reply; 2+ messages in thread
From: Jinu M. @ 2004-04-02 12:38 UTC (permalink / raw)
  To: linux-kernel; +Cc: kernelnewbies

Hi all,

We are working on the removable media support for our disk driver. 

I have a couple of questions.

How do you ask the file system to stop sending buffers to our disk driver (request function) when the media is removed?

If a disk is already mounted when the media is removed is there a way to stop all IO and umount the disk automatically?

Any pointers on the same will be of great help.

Thanks,
-Jinu


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: media removed indication!
  2004-04-02 12:38 media removed indication! Jinu M.
@ 2004-04-03 21:25 ` Matt Gulick
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Gulick @ 2004-04-03 21:25 UTC (permalink / raw)
  To: Jinu M.; +Cc: linux-kernel, kernelnewbies

On Fri, 2004-04-02 at 06:38, Jinu M. wrote:
> Hi all,
> 
> We are working on the removable media support for our disk driver. 
> 
> I have a couple of questions.
> 
> How do you ask the file system to stop sending buffers to our disk driver (request function) when the media is removed?
> 
> If a disk is already mounted when the media is removed is there a way to stop all IO and umount the disk automatically?
> 
> Any pointers on the same will be of great help.

Jinu,

There is a tread on the Linux-SCSI list dealing with an issue of removable media and associated error.  You might want to check there.

The thread is "bug 2400"

Matt

----------------------------------------
Matt Gulick
Sr. Staff Engineer
Adaptec, Inc.
gulickconsulting@direcway.com
matt_gulick@adaptec.com
(715) 426-0884



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-03 21:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-02 12:38 media removed indication! Jinu M.
2004-04-03 21:25 ` Matt Gulick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox