I''m trying to understand the arc code. Can a read zio and a write zio share the same arc_buf_hdr_t? If so, do they each have their own arc_buf_t both of which point back to the same arc_buf_hdr_t? In other words, do they each have their own copy of the data (arc_buf_t.b_data), but share the attributes that are contained in the arc_buf_hdr_t? Duff -- This messages posted from opensolaris.org
J Duff wrote:> I''m trying to understand the arc code. > > Can a read zio and a write zio share the same arc_buf_hdr_t? >No.> If so, do they each have their own arc_buf_t both of which point back to the same arc_buf_hdr_t? In other words, do they each have their own copy of the data (arc_buf_t.b_data), but share the attributes that are contained in the arc_buf_hdr_t? > > Duff > -- > This messages posted from opensolaris.org > _______________________________________________ > zfs-code mailing list > zfs-code at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-code