[linux-lvm] LVM2 modifies the buffer_head struct?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Browsing the patch submitted for 2.4 inclusion, I noticed that LVM2 modifies 
the buffer_head struct. Why does LVM2 require the addition of it's own 
private field in the buffer_head? It seems that it should be able to use the 
existing b_private field.

How does that extra field affect performance relative to the cache? Won't 
any negative effects be seen by everything that uses buffer_heads? Also, as 
I understand the slab code and hardware cache alignment, won't the addition 
of the new field cause the each buffer_head to consume 128 bytes instead of 
96?

Just curious to know why this field was added, when the buffer_head already 
had a field for this purpose.

-Tom



_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux