Re: Asynchronous CDROM Events in Userland

hugang (gang_hu@soul.com.cn)
Mon, 4 Feb 2002 22:05:03 +0800


This is a multi-part message in MIME format.

--Multipart_Mon__4_Feb_2002_22:05:03_+0800_08407c40
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 8bit

Now it can work!
On Mon, 4 Feb 2002 08:57:12 +0100
Jens Axboe <axboe@suse.de> wrote:

> On Mon, Feb 04 2002, Erik Andersen wrote:
> > Jens Axboe and I wrote a little test app a year or two ago to check
> > for whether drives supported asynchronous mode. We found it to be
> > unsupported on 100% of the drives we tested (and we tested quite a
> > few)...
>
> Yep, _no_ drives to date support queued event notification. However, a
> polled approach is really not too bad -- it simply means that we'll push
> it to user space instead. I've written a small utility for reference.
>
> --
> Jens Axboe
>
>

-- 
thanks with regards!
hugang.ºú¸Õ.

*********************************** Beijing Soul Technology Co.,Ltd. Tel:010-68425741/42/43/44 Fax:010-68425745 email:gang_hu@soul.com.cn web:http://www.soul.com.cn ***********************************

--Multipart_Mon__4_Feb_2002_22:05:03_+0800_08407c40 Content-Type: application/octet-stream; name="diff" Content-Disposition: attachment; filename="diff" Content-Transfer-Encoding: base64

LS0tIGNkX3BvbGwuY34JTW9uIEZlYiAgNCAyMDoyNjoyNSAyMDAyCisrKyBjZF9wb2xsLmMJTW9u IEZlYiAgNCAyMjowMzoyMSAyMDAyCkBAIC04MCw3ICs4MCw3IEBACiAJCXJldHVybiByZXQ7CiAJ fQogCi0JcmV0dXJuIGJ1ZmZlcls0XSAmIDB4ZjsKKwlyZXR1cm4gYnVmZmVyWzVdICYgMHhmOwog fQogCiBpbnQgcG9sbF9ldmVudHMoaW50IGZkKQo=

--Multipart_Mon__4_Feb_2002_22:05:03_+0800_08407c40-- - 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/