From: Jens Axboe <axboe@suse.de>
To: Attila Kinali <kinali@gmx.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: cdrom blocksize reset bug with 2.4.x kernels
Date: Wed, 2 Jul 2003 13:18:35 +0200 [thread overview]
Message-ID: <20030702111835.GC839@suse.de> (raw)
In-Reply-To: <20030702002558.7faf6c88.kinali@gmx.net>
On Wed, Jul 02 2003, Attila Kinali wrote:
> Hi,
>
> After some discussion on the mplayer-users mailinglist about
> that for some scsi drives it's impossible to read a data cd
> after reading a vcd/scvd until the next reboot.
> (see http://mplayerhq.hu/pipermail/mplayer-users/2002-December/025696.html)
>
> I found that there is a reset of the cdrom block size needed
> for those drives which doesnt restet it themselfs if a new
> cd is put in (looks like only a few scsi cdroms are affected)
>
> Attached is a small patch for drivers/cdrom/cdrom.c that fixes
> this for the 2.4.20 kernel (and also for 2.4.21 as the code didn't
> change). It's reseting the blocksize when a cdrom is opened for
> the first time (meaning that a umount/mount cycle can reset
> the blocksize).
>
> I run this code now for about half a year and didnt have any problems.
> But, as i didnt get any feadback from other people, i'm not sure if
> everything is correct.
If you clean this up wrt coding style, it can go in.
--
Jens Axboe
next prev parent reply other threads:[~2003-07-02 11:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-01 22:25 cdrom blocksize reset bug with 2.4.x kernels Attila Kinali
2003-07-02 11:18 ` Jens Axboe [this message]
2003-11-09 14:56 ` Tobias Diedrich
2003-11-12 16:06 ` Tobias Diedrich
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=20030702111835.GC839@suse.de \
--to=axboe@suse.de \
--cc=kinali@gmx.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.