lkml.org 
[lkml]   [2001]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Poor floppy performance in kernel 2.4.10
Date
"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/

\
 
 \ /
  Last update: 2005-03-22 13:11    [W:0.083 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site