#1518 new defect

Bdbuf IO request cleanup

Reported by: Sebastian Huber Owned by: Joel Sherrill
Priority: low Milestone: Indefinite
Component: lib/block Version:
Severity: minor Keywords:
Cc: gedare@… Blocked By:

Description (last modified by Sebastian Huber)

Reported by Chris Johns in Bug 1433:

We need to remove the SG alloc calls from the cache read code. The code
currently allocates a block of RAM on the stack with an array of pointers to
the BD. I consider the array of size of 1 at the end of the struct and the way
it is allocated as fragile code. The BD already contain a link node which is
not used at the driver layer. It would be much better to use a chain to hold a
list of BDs to fill.

Change History (7)

comment:1 Changed on Aug 6, 2010 at 9:35:15 PM by Joel Sherrill

Milestone: 4.104.11

comment:2 Changed on Dec 3, 2013 at 2:05:22 PM by Gedare Bloom

Cc: Gedare Bloom added

comment:3 Changed on Dec 3, 2013 at 2:15:53 PM by Sebastian Huber

Yes, this is still relevant.

comment:4 Changed on Nov 23, 2014 at 12:20:44 AM by Joel Sherrill

Description: modified (diff)
Owner: changed from Joel Sherrill to Chris Johns
Status: newassigned

This is Chris' area of the code.

comment:5 Changed on Dec 17, 2014 at 7:26:39 AM by Sebastian Huber

Description: modified (diff)
Milestone: 4.115.0
Priority: normallow
Severity: normalminor

comment:6 Changed on Aug 14, 2017 at 12:49:46 AM by Chris Johns

Milestone: 5.0Indefinite
Version: 4.10

comment:7 Changed on Oct 10, 2017 at 6:49:19 AM by Sebastian Huber

Component: scorelib/block
Note: See TracTickets for help on using tickets.