Re: [PATCH] Speed up the cdrw packet writing driver

From: Andrew Morton
Date: Tue Aug 24 2004 - 17:58:30 EST


Peter Osterlund <petero2@xxxxxxxxx> wrote:
>
> > Are you saying that your requests are so huge that each one has 1000 BIOs?
> > That would be odd, for an IDE interface.
>
> No, the thing is that the packet driver doesn't create requests at
> all. It stuffs incoming bio's in the rbtree, then the worker thread
> collects bio's from the rbtree for the same "zone" on the disc (each
> zone is 64kb on a CDRW and 32KB on a DVD). The driver then creates a
> new bio with the same size as the zone size and submits it to the real
> CD/DVD device.

Good lord. I assume there's a good reason for this?
-
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/