lkml.org 
[lkml]   [2002]   [Dec]   [23]   [last100]   RSS-feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Complete thread (EXPERIMENTAL)
/
From"Tim Pepper" <>
DateMon, 23 Dec 2002 03:58:16 -0800
Subjectext3/jbd breaks md stacking in 2.4
Digg This
I recently noticed that ext3/jbd break md stacking by making invalid assumptions about the buffer head's b_private pointer. There is a thread discussing this on the LVM mailing list at:

http://linux.msede.com/lvm_mlist/archive/2002/07/0028.html
Searching google and driver source it seems to me that as others have noticed this they've worked around it by keeping their own pools of buffer heads instead of simply stacking on the system buffer head. This strikes me as inefficient and just plain ugly.
The ability to stack b_rdev, b_private and b_end_io is documented kernel behaviour and therefore shouldn't break in 2.4.

The above link in particular is to a simple patch Andrew Morton suggested. This patch has been in -ac for quite a while, but is listed as not forwarded to Marcello (any reason Alan?). Is there any chance of getting this fix into mainline kernels?

Tim

-- 
*********************************************************
*  tpepper@vato dot org             * Venimus, Vidimus, *
*  http://www.vato.org/~tpepper     * Dolavimus         *
*********************************************************
-
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/
\
ISP Services
Valid XHTML 1.0!\ /
Valid CSS! Last update: 2005-03-22 12:31    [W:0.127 / U:0.220 seconds]
©2003-2005 Jasper Spaans