[lkml]   [2001]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: b_dev vs. b_rdev confusion
On Tue, 19 Jun 2001 wrote:

> All of the md code looks like it copies the buffer head, setting
> b_dev=b_rdev="real device" in the new bh and leaving b_dev==b_rdev="logical
> device" in the original bh. I'm assuming they do this for a reason, but
> it would be nice from a performance standpoint to just touch b_rdev and
> b_end_io and be done. Is there something I'm missing which necessitates the
> copy?

Oops...I take that back. In the md code for raid1, raid5 and multipath
I see copies, but not in lvm or linear.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:55    [W:0.031 / U:2.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site