Re: Poor floppy performance in kernel 2.4.10

Peter T. Breuer (ptb@it.uc3m.es)
Sun, 28 Oct 2001 21:57:59 +0100 (MET)


"A month of sundays ago Alain Knaff wrote:"
> Appended to this mail is the "long live the struct block_device"
> patch. It includes the stuff covered in the last patch as well. The
> issue of stopping transfers in progress is not yet addressed.

Errr .. haven't read the patches. But are you doing something so that
the semantics of the action taken after a media check fails can
be overridden? The current invalidate_inodes is too strong for me,
since I am proxying a remote device, and I don't want to kill
_all_ the local file descriptors when the remote media disappears.
I need to at least continue to send down local ioctls!

No, no suggestions of an extra control device, please. Simplicity.

> +
> static struct block_device_operations floppy_fops = {
> open: floppy_open,
> release: floppy_release,
> ioctl: fd_ioctl,
> check_media_change: check_floppy_change,
> revalidate: floppy_revalidate,
> + can_trust_media_change: floppy_can_trust_media_change
> };

and I'd like to have "invalidate" as a method too.

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