media removed indication!

From: Jinu M.
Date: Fri Apr 02 2004 - 07:45:57 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/