From: Mark Bellon <hidden> Date: 2004-03-23 23:14:37
If I'm reading things correctly I believe there is a memory leak in the
RAID 1 driver. A patch is attached for the fix.
The end_sync_read function forwards the read operation (r1_bh) that
completed by the raid1_reschedule_retry function. The r1_bh->cmd value
is SPECIAL. If the R1BH_Uptodate bit is not set a message is printed and
md_done_sync is called - but raid1_free_buf is not called. Look a few
lines above at the "!sum_bhs" case for comparison.
mark