[PATCH] libblock: Add read-ahead task
Sebastian Huber
sebastian.huber at embedded-brains.de
Sat Jun 2 11:16:41 UTC 2012
On 02/06/12 04:30, Chris Johns wrote:
> On 1/06/12 4:51 PM, Sebastian Huber wrote:
>> On 06/01/2012 01:09 AM, Chris Johns wrote:
>>> On 31/05/12 7:23 PM, sebastian.huber at embedded-brains.de wrote:
>>> [...]
> No questioning this from me. Good hardware and system design is needed
> to get high performance. The current ATA driver is polled and this is
> a blot on RTEMS. I hope the TCP stack work and the BSD frame work will
> allow a SATA driver framework to come into RTEMS.
It will be very easy to use BSD stuff once the TCP stack is integrated.
[...]
> I see the read value of 0 disables read-ahead which is good. I assume
> this means the read-ahead task is not created. Does this mean any
> other value creates the task ?
Yes, a value of 0 disables the read-ahead (no change here). This means
also that the read-ahead task is not created and not accounted in the
work space size estimate. Any other value creates the task. A value of
0 is also the default (no change here). Since the read-ahead control is
now part of rtems_disk_device we can make the read-ahead configuration
also per disk.
--
Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list